Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001143/0.001143, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.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.0006553/0.0006555, allocations: 13.31 kB / 0.6736 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2913, allocations: 116.3 MB / 0.7871 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01575/0.3071, allocations: 11.89 MB / 0.7987 GB, free: 4 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0136/0.3207, allocations: 8.64 MB / 0.8072 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/0.3226, allocations: 55.62 kB / 0.8072 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.3239, allocations: 254.3 kB / 0.8075 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004706/0.3286, allocations: 1.246 MB / 0.8087 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.3309, allocations: 0.5224 MB / 0.8092 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003727/0.3347, allocations: 1.518 MB / 0.8107 GB, free: 3.758 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004031/0.3387, allocations: 1.813 MB / 0.8124 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001921/0.3407, allocations: 0.759 MB / 0.8132 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/0.3429, allocations: 0.8407 MB / 0.814 GB, free: 300 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005346/0.3434, allocations: 72 kB / 0.8141 GB, free: 228 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.345, allocations: 391.5 kB / 0.8144 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009932/0.346, allocations: 470.5 kB / 0.8149 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009387/0.347, allocations: 344.8 kB / 0.8152 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003234/0.3502, allocations: 2.077 MB / 0.8173 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3502, allocations: 0 / 0.8173 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3503, allocations: 0 / 0.8173 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001158/0.3504, allocations: 0 / 0.8173 GB, free: 12.95 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006044/0.3564, allocations: 1.816 MB / 0.819 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.367e-05/0.3565, allocations: 12.03 kB / 0.819 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/0.3683, allocations: 2.162 MB / 0.8212 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/0.3718, allocations: 1.15 MB / 0.8223 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.3719, allocations: 86.36 kB / 0.8224 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006102/0.3725, allocations: 120 kB / 0.8225 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007291/0.3799, allocations: 2.686 MB / 0.8251 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.251e-05/0.38, allocations: 15.89 kB / 0.8251 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003753/0.3804, allocations: 55.98 kB / 0.8252 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007207/0.3811, allocations: 178.1 kB / 0.8253 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008517/0.3896, allocations: 2.846 MB / 0.8281 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01852/0.4082, allocations: 10.56 MB / 0.8384 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007227/0.4155, allocations: 2.574 MB / 0.8409 GB, free: 3.766 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.4156, allocations: 9 kB / 0.841 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/0.4157, allocations: 47.5 kB / 0.841 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=89): time 4.358e-06/0.4157, allocations: 0 / 0.841 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131): time 0.04568/0.4614, allocations: 13.42 MB / 0.8541 GB, free: 6.055 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.4615, allocations: 68.66 kB / 0.8542 GB, free: 5.973 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.4633, allocations: 1.105 MB / 0.8553 GB, free: 4.852 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001902/0.4635, allocations: 45.7 kB / 0.8553 GB, free: 4.801 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006173/0.4641, allocations: 0.7233 MB / 0.856 GB, free: 4.07 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006026/0.4647, allocations: 457.4 kB / 0.8564 GB, free: 3.617 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.4649, allocations: 28 kB / 0.8565 GB, free: 3.59 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.465, allocations: 361.9 kB / 0.8568 GB, free: 3.23 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003296/0.4683, allocations: 1.35 MB / 0.8581 GB, free: 1.879 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003409/0.4718, allocations: 1.62 MB / 0.8597 GB, free: 168 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003398/0.4752, allocations: 1.451 MB / 0.8611 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.4752, allocations: 0 / 0.8611 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01145/0.4867, allocations: 4.473 MB / 0.8655 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.4867, allocations: 8.875 kB / 0.8655 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.4868, allocations: 8 kB / 0.8655 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005124/0.4919, allocations: 1.427 MB / 0.8669 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/0.4941, allocations: 447.2 kB / 0.8673 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02898/0.5231, allocations: 25.01 MB / 0.8918 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/0.5259, allocations: 315.6 kB / 0.8921 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003412/0.5263, allocations: 59.97 kB / 0.8921 GB, free: 13.14 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001185/0.5275, allocations: 437.4 kB / 0.8925 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004841/0.528, allocations: 162 kB / 0.8927 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.5395, allocations: 4.485 MB / 0.8971 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.5395, allocations: 12 kB / 0.8971 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.973e-05/0.5396, allocations: 12 kB / 0.8971 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.5396, allocations: 3.984 kB / 0.8971 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/0.5554, allocations: 6.81 MB / 0.9037 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/0.5555, allocations: 8.344 kB / 0.9037 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/0.5573, allocations: 391.3 kB / 0.9041 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004757/0.5621, allocations: 1.307 MB / 0.9054 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002178/0.5623, allocations: 43.91 kB / 0.9054 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5074/1.07, allocations: 23.95 MB / 0.9288 GB, free: 117.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/1.07, allocations: 7.938 kB / 0.9288 GB, free: 117.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.08, allocations: 4.384 MB / 0.9331 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/1.081, allocations: 459.2 kB / 0.9336 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/1.082, allocations: 33.61 kB / 0.9336 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001993/1.084, allocations: 316.3 kB / 0.9339 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004249/1.084, allocations: 120.9 kB / 0.934 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.084, allocations: 51.81 kB / 0.9341 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009671/1.085, allocations: 0.743 MB / 0.9348 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/1.085, allocations: 0 / 0.9348 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002057/1.087, allocations: 0.5681 MB / 0.9353 GB, free: 116.4 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002647/1.087, allocations: 139.8 kB / 0.9355 GB, free: 116.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.098, allocations: 5.143 MB / 0.9405 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/1.098, allocations: 1 kB / 0.9405 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0068/1.105, allocations: 3.512 MB / 0.9439 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/1.107, allocations: 499.3 kB / 0.9444 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/1.118, allocations: 4.535 MB / 0.9488 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002458/1.12, allocations: 1.506 MB / 0.9503 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002388/1.123, allocations: 426.4 kB / 0.9507 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005507/1.123, allocations: 112.3 kB / 0.9508 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.653e-06/1.123, allocations: 0 / 0.9508 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.05231/1.176, allocations: 36.13 MB / 0.9861 GB, free: 87.19 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: