Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007855/0.007855, allocations: 99.73 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 194.5 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.683/1.683, allocations: 251.7 MB / 0.5094 GB, free: 2.992 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 68.36 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2863, allocations: 104.7 MB / 0.8281 GB, free: 160 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03912/0.3255, allocations: 30.63 MB / 0.858 GB, free: 1.414 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02514/0.3507, allocations: 13.64 MB / 0.8713 GB, free: 3.73 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00548/0.3562, allocations: 143.2 kB / 0.8714 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.009761/0.3661, allocations: 3.196 MB / 0.8745 GB, free: 396 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.3767, allocations: 2.649 MB / 0.8771 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006842/0.3836, allocations: 2.009 MB / 0.8791 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01454/0.3982, allocations: 7.594 MB / 0.8865 GB, free: 4.098 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01418/0.4124, allocations: 8.229 MB / 0.8945 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008972/0.4215, allocations: 3.392 MB / 0.8979 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008556/0.4301, allocations: 3.387 MB / 0.9012 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.003431/0.4336, allocations: 0.6015 MB / 0.9018 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006107/0.4397, allocations: 1.49 MB / 0.9032 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.005957/0.4457, allocations: 2.358 MB / 0.9055 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.6547/1.101, allocations: 2.872 MB / 0.9083 GB, free: 24 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02158/1.122, allocations: 9.458 MB / 0.9176 GB, free: 23.53 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/1.122, allocations: 1.031 kB / 0.9176 GB, free: 23.53 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.006e-06/1.122, allocations: 1.188 kB / 0.9176 GB, free: 23.53 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005853/1.123, allocations: 0 / 0.9176 GB, free: 23.53 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.02797/1.151, allocations: 5.133 MB / 0.9226 GB, free: 21.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/1.151, allocations: 13.19 kB / 0.9226 GB, free: 21.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009483/1.16, allocations: 0.9985 MB / 0.9236 GB, free: 21.3 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009491/1.17, allocations: 3.076 MB / 0.9266 GB, free: 20.6 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003935/1.17, allocations: 313.8 kB / 0.9269 GB, free: 20.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003219/1.174, allocations: 419.7 kB / 0.9273 GB, free: 20.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02636/1.2, allocations: 6.786 MB / 0.9339 GB, free: 19.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002705/1.2, allocations: 25.95 kB / 0.9339 GB, free: 19.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002356/1.203, allocations: 184.4 kB / 0.9341 GB, free: 19.73 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009791/1.204, allocations: 370.8 kB / 0.9344 GB, free: 19.71 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01593/1.22, allocations: 5.112 MB / 0.9394 GB, free: 19.67 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04781/1.267, allocations: 30.49 MB / 0.9692 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0025/1.27, allocations: 1.397 MB / 0.9706 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/1.272, allocations: 1.322 MB / 0.9719 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.748e-05/1.272, allocations: 20.23 kB / 0.9719 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.558e-05/1.272, allocations: 52.59 kB / 0.9719 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 2.996e-06/1.272, allocations: 4 kB / 0.9719 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199): time 0.08971/1.362, allocations: 23.08 MB / 0.9945 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/1.362, allocations: 73.41 kB / 0.9945 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003791/1.366, allocations: 2.066 MB / 0.9966 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000503/1.366, allocations: 61.7 kB / 0.9966 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001604/1.368, allocations: 2.007 MB / 0.9986 GB, free: 7.152 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008958/1.369, allocations: 0.6745 MB / 0.9992 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008133/1.369, allocations: 416.1 kB / 0.9996 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.37, allocations: 308.8 kB / 0.9999 GB, free: 5.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002205/1.372, allocations: 1.43 MB / 1.001 GB, free: 4.336 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002638/1.374, allocations: 2.009 MB / 1.003 GB, free: 2.082 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005252/1.38, allocations: 3.7 MB / 1.007 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/1.38, allocations: 4 kB / 1.007 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01237/1.392, allocations: 5.65 MB / 1.012 GB, free: 8.656 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.435e-05/1.392, allocations: 12 kB / 1.012 GB, free: 8.645 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.693e-05/1.392, allocations: 16.84 kB / 1.012 GB, free: 8.629 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007111/1.399, allocations: 2.093 MB / 1.014 GB, free: 6.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/1.401, allocations: 372.5 kB / 1.015 GB, free: 6.16 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04519/1.447, allocations: 38.44 MB / 1.052 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003544/1.45, allocations: 127.9 kB / 1.053 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004609/1.451, allocations: 88 kB / 1.053 GB, free: 13.18 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004267/1.455, allocations: 1.503 MB / 1.054 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008879/1.456, allocations: 288.2 kB / 1.054 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/1.467, allocations: 5.209 MB / 1.059 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.303e-05/1.467, allocations: 23.94 kB / 1.059 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.28e-05/1.467, allocations: 24 kB / 1.059 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.674e-05/1.467, allocations: 7.969 kB / 1.059 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0234/1.491, allocations: 9.677 MB / 1.069 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/1.491, allocations: 4 kB / 1.069 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/1.492, allocations: 218.2 kB / 1.069 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006212/1.498, allocations: 1.845 MB / 1.071 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005332/1.499, allocations: 40 kB / 1.071 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04169/1.54, allocations: 37.44 MB / 1.108 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-05/1.54, allocations: 14.91 kB / 1.108 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/1.552, allocations: 4.915 MB / 1.112 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003129/1.555, allocations: 0.6069 MB / 1.113 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001612/1.557, allocations: 50.98 kB / 1.113 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002575/1.559, allocations: 131.8 kB / 1.113 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007905/1.56, allocations: 195.2 kB / 1.113 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001854/1.56, allocations: 60 kB / 1.113 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002665/1.563, allocations: 1.378 MB / 1.115 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/1.563, allocations: 0 / 1.115 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.005391/1.568, allocations: 1.031 MB / 1.116 GB, free: 10.01 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005261/1.569, allocations: 172.6 kB / 1.116 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01101/1.58, allocations: 6.297 MB / 1.122 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/1.58, allocations: 4 kB / 1.122 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.007667/1.588, allocations: 4.391 MB / 1.126 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006034/1.594, allocations: 0.9926 MB / 1.127 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/1.613, allocations: 8.041 MB / 1.135 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005449/1.619, allocations: 3.128 MB / 1.138 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002542/1.621, allocations: 0.5237 MB / 1.139 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/1.622, allocations: 151.4 kB / 1.139 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of SimCode: time 2.064e-06/1.622, allocations: 3.938 kB / 1.139 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of Templates: time 0.1115/1.733, allocations: 58.42 MB / 1.196 GB, free: 8.586 MB / 0.9512 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)