Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 107.6 kB / 15.99 MB, free: 6.348 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.001074/0.001074, allocations: 189.6 kB / 16.91 MB, free: 6.188 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.535/1.535, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.666/1.666, allocations: 292.3 MB / 0.5492 GB, free: 13.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.001326/0.001326, allocations: 66.89 kB / 0.6717 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2402, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008074/0.2483, allocations: 6.78 MB / 0.7901 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005009/0.2533, allocations: 3.068 MB / 0.7931 GB, free: 4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.2544, allocations: 27.81 kB / 0.7932 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00272/0.2572, allocations: 0.8797 MB / 0.794 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.2591, allocations: 477.7 kB / 0.7945 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.2606, allocations: 407 kB / 0.7949 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001804/0.2624, allocations: 1.228 MB / 0.7961 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.2635, allocations: 0.7328 MB / 0.7968 GB, free: 256 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006354/0.2642, allocations: 482.2 kB / 0.7972 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006477/0.2648, allocations: 0.5409 MB / 0.7978 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.033e-05/0.2649, allocations: 64 kB / 0.7978 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000672/0.2656, allocations: 383.2 kB / 0.7982 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002745/0.2659, allocations: 307.2 kB / 0.7985 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004046/0.2663, allocations: 449.7 kB / 0.7989 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.2673, allocations: 0.9431 MB / 0.7998 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.2673, allocations: 0 / 0.7998 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2674, allocations: 3.938 kB / 0.7998 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.2674, allocations: 4 kB / 0.7998 GB, free: 13.1 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001837/0.2692, allocations: 1.169 MB / 0.801 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2693, allocations: 16.03 kB / 0.801 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.2707, allocations: 239.5 kB / 0.8012 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007486/0.2715, allocations: 0.5492 MB / 0.8018 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/0.2715, allocations: 49.67 kB / 0.8018 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.2717, allocations: 64.36 kB / 0.8019 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.2732, allocations: 1.089 MB / 0.8029 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.2732, allocations: 4 kB / 0.8029 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.112e-05/0.2733, allocations: 31.98 kB / 0.803 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001468/0.2735, allocations: 89.19 kB / 0.8031 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.2745, allocations: 0.7504 MB / 0.8038 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006437/0.281, allocations: 5.893 MB / 0.8095 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.2821, allocations: 0.5504 MB / 0.8101 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004388/0.2825, allocations: 330 kB / 0.8104 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/0.2826, allocations: 4.438 kB / 0.8104 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.2826, allocations: 39 kB / 0.8104 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 3.066e-06/0.2826, allocations: 0 / 0.8104 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003979/0.2866, allocations: 1.99 MB / 0.8124 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.2866, allocations: 55.84 kB / 0.8124 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006814/0.2873, allocations: 0.5626 MB / 0.813 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.2874, allocations: 33.7 kB / 0.813 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.2877, allocations: 418.8 kB / 0.8134 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.2878, allocations: 169.6 kB / 0.8136 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.288, allocations: 126.5 kB / 0.8137 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.2882, allocations: 382.7 kB / 0.8141 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.2886, allocations: 277.8 kB / 0.8143 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/0.2891, allocations: 492.9 kB / 0.8148 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.2902, allocations: 0.8132 MB / 0.8156 GB, free: 12 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2902, allocations: 0 / 0.8156 GB, free: 12 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001811/0.292, allocations: 1.086 MB / 0.8167 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.292, allocations: 8 kB / 0.8167 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.292, allocations: 8 kB / 0.8167 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008575/0.2929, allocations: 287.9 kB / 0.8169 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.2934, allocations: 127.7 kB / 0.8171 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00691/0.3003, allocations: 7.138 MB / 0.824 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006833/0.301, allocations: 43.91 kB / 0.8241 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.3011, allocations: 28.06 kB / 0.8241 GB, free: 2.68 MB / 0.6387 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0003966/0.3015, allocations: 258.2 kB / 0.8244 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.3016, allocations: 71.16 kB / 0.8244 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.3032, allocations: 0.8925 MB / 0.8253 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3032, allocations: 4 kB / 0.8253 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3032, allocations: 4 kB / 0.8253 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3032, allocations: 0 / 0.8253 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002605/0.3058, allocations: 1.728 MB / 0.827 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3058, allocations: 0 / 0.827 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.3061, allocations: 63.83 kB / 0.8271 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007388/0.3068, allocations: 275.4 kB / 0.8273 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.3069, allocations: 8 kB / 0.8273 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006667/0.3136, allocations: 7.135 MB / 0.8343 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.3136, allocations: 4.031 kB / 0.8343 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.3152, allocations: 0.9876 MB / 0.8353 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/0.3156, allocations: 196.2 kB / 0.8354 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.3158, allocations: 8 kB / 0.8355 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000413/0.3162, allocations: 31.91 kB / 0.8355 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.3163, allocations: 51.88 kB / 0.8355 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.3164, allocations: 12 kB / 0.8355 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004697/0.3168, allocations: 387.1 kB / 0.8359 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3168, allocations: 3.938 kB / 0.8359 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008691/0.3177, allocations: 227.9 kB / 0.8361 GB, free: 5.609 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001955/0.3179, allocations: 123.1 kB / 0.8363 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002146/0.3201, allocations: 1.334 MB / 0.8376 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3201, allocations: 0 / 0.8376 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.3213, allocations: 0.8893 MB / 0.8384 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.3225, allocations: 227.5 kB / 0.8386 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.3252, allocations: 1.706 MB / 0.8403 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/0.3259, allocations: 1.009 MB / 0.8413 GB, free: 144 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.3261, allocations: 43.44 kB / 0.8413 GB, free: 100 kB / 0.6544 GB Notification: Performance of SimCode: time 7.71e-07/0.3261, allocations: 0 / 0.8413 GB, free: 100 kB / 0.6544 GB Notification: Performance of Templates: time 0.02531/0.3514, allocations: 20.85 MB / 0.8617 GB, free: 11.29 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)