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.0007468/0.0007469, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008065/0.0008068, allocations: 172.7 kB / 15.95 MB, free: 208 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.503/1.503, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.75/1.75, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.0004741/0.0004741, allocations: 15.34 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2378, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006968/0.2448, allocations: 6.025 MB / 0.7932 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004681/0.2495, allocations: 2.906 MB / 0.796 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006973/0.2502, allocations: 23.81 kB / 0.796 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005131/0.2508, allocations: 134.8 kB / 0.7962 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.2521, allocations: 425.7 kB / 0.7966 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009827/0.2531, allocations: 335.3 kB / 0.7969 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.2545, allocations: 1.326 MB / 0.7982 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.256, allocations: 0.9358 MB / 0.7991 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005155/0.2565, allocations: 386.4 kB / 0.7995 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000557/0.2571, allocations: 490.1 kB / 0.7999 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.542e-05/0.2572, allocations: 36 kB / 0.8 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004752/0.2577, allocations: 191.7 kB / 0.8002 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.2579, allocations: 267.2 kB / 0.8004 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.2581, allocations: 177.3 kB / 0.8006 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007716/0.2589, allocations: 0.9157 MB / 0.8015 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2589, allocations: 0 / 0.8015 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2589, allocations: 0 / 0.8015 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.2589, allocations: 0 / 0.8015 GB, free: 13.33 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.001441/0.2603, allocations: 1.009 MB / 0.8025 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2604, allocations: 8.031 kB / 0.8025 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.2617, allocations: 246.6 kB / 0.8027 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007085/0.2625, allocations: 0.5365 MB / 0.8032 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.549e-05/0.2625, allocations: 53.23 kB / 0.8033 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-05/0.2626, allocations: 67.97 kB / 0.8033 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.264, allocations: 1.073 MB / 0.8044 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.264, allocations: 11.84 kB / 0.8044 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.98e-05/0.2641, allocations: 39.98 kB / 0.8044 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/0.2642, allocations: 81.25 kB / 0.8045 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.2653, allocations: 0.7465 MB / 0.8052 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004662/0.27, allocations: 5.89 MB / 0.811 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008681/0.2708, allocations: 0.5553 MB / 0.8115 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/0.2713, allocations: 322 kB / 0.8118 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.2713, allocations: 8.375 kB / 0.8119 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.2713, allocations: 47 kB / 0.8119 GB, free: 2 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.044e-06/0.2713, allocations: 0 / 0.8119 GB, free: 2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003323/0.2747, allocations: 1.99 MB / 0.8138 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.2747, allocations: 55.84 kB / 0.8139 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005568/0.2753, allocations: 0.5664 MB / 0.8144 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.2753, allocations: 37.7 kB / 0.8145 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.2756, allocations: 418.9 kB / 0.8149 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.2757, allocations: 169.6 kB / 0.815 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.2758, allocations: 15.94 kB / 0.8151 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2759, allocations: 374.8 kB / 0.8154 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.2763, allocations: 273.8 kB / 0.8157 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005143/0.2768, allocations: 496.9 kB / 0.8162 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004575/0.2773, allocations: 342 kB / 0.8165 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2773, allocations: 0 / 0.8165 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001565/0.2788, allocations: 1.087 MB / 0.8175 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.2789, allocations: 8 kB / 0.8175 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.2789, allocations: 8 kB / 0.8176 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007356/0.2796, allocations: 275.8 kB / 0.8178 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.2801, allocations: 123.8 kB / 0.8179 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005406/0.2855, allocations: 6.607 MB / 0.8244 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/0.286, allocations: 31.97 kB / 0.8244 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/0.2861, allocations: 32 kB / 0.8244 GB, free: 4.344 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003546/0.2864, allocations: 253.5 kB / 0.8247 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.75e-05/0.2865, allocations: 75.16 kB / 0.8248 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.288, allocations: 0.881 MB / 0.8256 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.288, allocations: 7.984 kB / 0.8256 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.288, allocations: 4 kB / 0.8256 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.288, allocations: 0 / 0.8256 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002292/0.2903, allocations: 1.721 MB / 0.8273 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.2903, allocations: 4.031 kB / 0.8273 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.2906, allocations: 63.83 kB / 0.8274 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006595/0.2912, allocations: 271.1 kB / 0.8276 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.2913, allocations: 12.06 kB / 0.8276 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005589/0.2969, allocations: 6.58 MB / 0.8341 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.2969, allocations: 0 / 0.8341 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.2983, allocations: 0.9915 MB / 0.835 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.2986, allocations: 196.2 kB / 0.8352 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.312e-05/0.2987, allocations: 11.94 kB / 0.8352 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.299, allocations: 31.95 kB / 0.8353 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/0.2991, allocations: 47.84 kB / 0.8353 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.2992, allocations: 8 kB / 0.8353 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00046/0.2996, allocations: 391.1 kB / 0.8357 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2996, allocations: 0 / 0.8357 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008276/0.3005, allocations: 228 kB / 0.8359 GB, free: 7.875 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000165/0.3006, allocations: 116 kB / 0.836 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001795/0.3024, allocations: 1.268 MB / 0.8373 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3025, allocations: 0 / 0.8373 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.3036, allocations: 0.8893 MB / 0.8381 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009202/0.3045, allocations: 194.8 kB / 0.8383 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.3066, allocations: 1.599 MB / 0.8399 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006908/0.3073, allocations: 1.009 MB / 0.8409 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004044/0.3078, allocations: 126 kB / 0.841 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.3079, allocations: 43.44 kB / 0.841 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of SimCode: time 7.71e-07/0.3079, allocations: 0 / 0.841 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of Templates: time 0.01766/0.3255, allocations: 10.29 MB / 0.8511 GB, free: 8.277 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: