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.001818/0.001818, allocations: 106.8 kB / 16.27 MB, free: 6.418 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.001791/0.001791, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.423/1.423, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.758/1.758, allocations: 292.3 MB / 0.5495 GB, free: 17.65 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.00142/0.00142, allocations: 79.88 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2473, allocations: 114.5 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.4097/0.6571, allocations: 6.764 MB / 0.7906 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004352/0.6615, allocations: 3.089 MB / 0.7937 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004059/0.6619, allocations: 25.84 kB / 0.7937 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.6639, allocations: 0.9556 MB / 0.7946 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000903/0.6648, allocations: 0.4943 MB / 0.7951 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008917/0.6657, allocations: 449.6 kB / 0.7955 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008944/0.6667, allocations: 1.218 MB / 0.7967 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007316/0.6674, allocations: 0.6733 MB / 0.7974 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004119/0.6678, allocations: 466.5 kB / 0.7978 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005067/0.6683, allocations: 0.5173 MB / 0.7983 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.6684, allocations: 71.31 kB / 0.7984 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005925/0.669, allocations: 376.4 kB / 0.7988 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.6693, allocations: 313.2 kB / 0.799 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003354/0.6696, allocations: 453.5 kB / 0.7995 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.6709, allocations: 1.207 MB / 0.8007 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.6709, allocations: 0 / 0.8007 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6709, allocations: 0 / 0.8007 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.6709, allocations: 0.8438 kB / 0.8007 GB, free: 42.9 MB / 0.6544 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.001855/0.6728, allocations: 1.162 MB / 0.8018 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.6728, allocations: 10.44 kB / 0.8018 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.6744, allocations: 236.8 kB / 0.802 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007813/0.6752, allocations: 0.5661 MB / 0.8026 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.6752, allocations: 52.06 kB / 0.8026 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.6753, allocations: 62.64 kB / 0.8027 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.6769, allocations: 1.085 MB / 0.8038 GB, free: 41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.677, allocations: 11.19 kB / 0.8038 GB, free: 41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/0.677, allocations: 33.61 kB / 0.8038 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001777/0.6772, allocations: 84.8 kB / 0.8039 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.6785, allocations: 0.7552 MB / 0.8046 GB, free: 40.69 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005282/0.6838, allocations: 5.887 MB / 0.8104 GB, free: 35.69 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.685, allocations: 0.5557 MB / 0.8109 GB, free: 35.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004586/0.6854, allocations: 328.2 kB / 0.8112 GB, free: 35.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.6855, allocations: 5.25 kB / 0.8112 GB, free: 35.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.6855, allocations: 39.48 kB / 0.8113 GB, free: 35.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 3.236e-06/0.6855, allocations: 0 / 0.8113 GB, free: 35.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.0039/0.6895, allocations: 1.989 MB / 0.8132 GB, free: 34.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.6895, allocations: 57.09 kB / 0.8133 GB, free: 34.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000718/0.6902, allocations: 0.561 MB / 0.8138 GB, free: 33.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.6903, allocations: 36.61 kB / 0.8138 GB, free: 33.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.6905, allocations: 418.3 kB / 0.8142 GB, free: 33.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.6906, allocations: 170.4 kB / 0.8144 GB, free: 33.42 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.6908, allocations: 125 kB / 0.8145 GB, free: 33.35 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.691, allocations: 379.1 kB / 0.8149 GB, free: 33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/0.6914, allocations: 275.7 kB / 0.8151 GB, free: 32.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005143/0.6919, allocations: 0.4902 MB / 0.8156 GB, free: 32.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009303/0.6928, allocations: 0.8067 MB / 0.8164 GB, free: 32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.6928, allocations: 7.875 kB / 0.8164 GB, free: 31.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001823/0.6947, allocations: 1.08 MB / 0.8175 GB, free: 31.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.6947, allocations: 11.81 kB / 0.8175 GB, free: 31.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.6947, allocations: 7.656 kB / 0.8175 GB, free: 31.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008556/0.6956, allocations: 281.1 kB / 0.8178 GB, free: 31.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.6961, allocations: 125 kB / 0.8179 GB, free: 31.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00555/0.7016, allocations: 7.144 MB / 0.8249 GB, free: 25.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007264/0.7024, allocations: 42.12 kB / 0.8249 GB, free: 25.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.7025, allocations: 27.97 kB / 0.8249 GB, free: 25.18 MB / 0.6544 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.0003784/0.7029, allocations: 252.5 kB / 0.8252 GB, free: 25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.703, allocations: 76.88 kB / 0.8252 GB, free: 24.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.7045, allocations: 0.8881 MB / 0.8261 GB, free: 24.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.7045, allocations: 4.938 kB / 0.8261 GB, free: 24.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.7046, allocations: 3.469 kB / 0.8261 GB, free: 24.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.7046, allocations: 2.812 kB / 0.8261 GB, free: 24.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/0.7074, allocations: 1.726 MB / 0.8278 GB, free: 23.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.7074, allocations: 2.797 kB / 0.8278 GB, free: 23.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.7077, allocations: 69.17 kB / 0.8279 GB, free: 23.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007535/0.7084, allocations: 265.6 kB / 0.8281 GB, free: 23.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.7085, allocations: 16.34 kB / 0.8281 GB, free: 23.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00536/0.7138, allocations: 7.129 MB / 0.8351 GB, free: 17.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7139, allocations: 3.031 kB / 0.8351 GB, free: 17.37 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.7155, allocations: 0.9918 MB / 0.8361 GB, free: 16.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.7158, allocations: 190.8 kB / 0.8363 GB, free: 16.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.513e-05/0.7159, allocations: 13.81 kB / 0.8363 GB, free: 16.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.7163, allocations: 31.16 kB / 0.8363 GB, free: 16.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.7165, allocations: 44.59 kB / 0.8363 GB, free: 16.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.7165, allocations: 15.91 kB / 0.8364 GB, free: 16.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005047/0.717, allocations: 388.9 kB / 0.8367 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.91e-07/0.717, allocations: 0 / 0.8367 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009235/0.7179, allocations: 225.7 kB / 0.8369 GB, free: 16.46 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.0001383/0.7181, allocations: 114.7 kB / 0.8371 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00207/0.7202, allocations: 1.331 MB / 0.8384 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.7202, allocations: 1.156 kB / 0.8384 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.7214, allocations: 0.8853 MB / 0.8392 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.7225, allocations: 220.4 kB / 0.8394 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.7247, allocations: 1.417 MB / 0.8408 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.7252, allocations: 1.016 MB / 0.8418 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.7254, allocations: 50.53 kB / 0.8419 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of SimCode: time 6.32e-07/0.7254, allocations: 0 / 0.8419 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.02646/0.7519, allocations: 20.86 MB / 0.8622 GB, free: 5.086 MB / 0.6544 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)