Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.667/1.667, allocations: 293 MB / 309 MB, free: 4.816 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 166 kB / 378.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.4 MB / 0.6383 GB, free: 8.227 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007472/0.0007472, allocations: 96.17 kB / 0.7527 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004962, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2899, allocations: 116.4 MB / 0.9905 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8257/1.116, allocations: 172.6 MB / 1.159 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/1.116, allocations: 96.55 kB / 1.159 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.4842/1.6, allocations: 202.4 MB / 1.357 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.846e-06/1.6, allocations: 0 / 1.357 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0006173/1.601, allocations: 136 kB / 1.357 GB, free: 11.8 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02198/1.623, allocations: 5.187 MB / 1.362 GB, free: 6.539 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/1.623, allocations: 8.031 kB / 1.362 GB, free: 6.531 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007961/1.631, allocations: 1.137 MB / 1.363 GB, free: 5.387 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/1.642, allocations: 3.778 MB / 1.367 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006001/1.643, allocations: 431.9 kB / 1.367 GB, free: 1.133 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003051/1.646, allocations: 0.5472 MB / 1.368 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6436/2.29, allocations: 8.859 MB / 1.376 GB, free: 155 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003014/2.29, allocations: 23.25 kB / 1.376 GB, free: 155 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002542/2.292, allocations: 255.1 kB / 1.377 GB, free: 155 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000422/2.293, allocations: 299.3 kB / 1.377 GB, free: 155 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01856/2.311, allocations: 6.442 MB / 1.383 GB, free: 155 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06159/2.373, allocations: 41.48 MB / 1.424 GB, free: 128.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004359/2.377, allocations: 3.101 MB / 1.427 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002679/2.38, allocations: 2.148 MB / 1.429 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/2.38, allocations: 24.59 kB / 1.429 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.857e-05/2.38, allocations: 59.94 kB / 1.429 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=209): time 3.426e-06/2.38, allocations: 3.25 kB / 1.429 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=212): time 0.0233/2.404, allocations: 10.63 MB / 1.439 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/2.404, allocations: 73.34 kB / 1.439 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/2.407, allocations: 1.924 MB / 1.441 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002982/2.407, allocations: 71.02 kB / 1.441 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001579/2.408, allocations: 2.372 MB / 1.444 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008441/2.409, allocations: 0.7315 MB / 1.444 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/2.409, allocations: 49.72 kB / 1.444 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001435/2.41, allocations: 406.5 kB / 1.445 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001774/2.411, allocations: 1.319 MB / 1.446 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/2.414, allocations: 2.108 MB / 1.448 GB, free: 124.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004394/2.418, allocations: 3.77 MB / 1.452 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.503e-05/2.418, allocations: 6.156 kB / 1.452 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.008735/2.427, allocations: 4.982 MB / 1.457 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/2.427, allocations: 15.41 kB / 1.457 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.673e-05/2.427, allocations: 25.75 kB / 1.457 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00316/2.43, allocations: 1.528 MB / 1.458 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/2.432, allocations: 448.8 kB / 1.459 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01858/2.45, allocations: 17.03 MB / 1.475 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/2.453, allocations: 147.8 kB / 1.475 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002492/2.453, allocations: 110.5 kB / 1.475 GB, free: 116.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 (219): * Single equations (assignments): 215 * 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 {(6,72.2%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004582/2.458, allocations: 1.941 MB / 1.477 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008238/2.459, allocations: 288.2 kB / 1.478 GB, free: 115.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006589/2.465, allocations: 4.456 MB / 1.482 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/2.465, allocations: 19.59 kB / 1.482 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.061e-05/2.466, allocations: 16.28 kB / 1.482 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/2.466, allocations: 10.36 kB / 1.482 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/2.482, allocations: 9.64 MB / 1.491 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/2.482, allocations: 3.469 kB / 1.491 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/2.483, allocations: 238.4 kB / 1.492 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003136/2.486, allocations: 1.395 MB / 1.493 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/2.486, allocations: 38.88 kB / 1.493 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01933/2.505, allocations: 17.04 MB / 1.51 GB, free: 99.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/2.506, allocations: 5.906 kB / 1.51 GB, free: 99.09 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007582/2.513, allocations: 4.524 MB / 1.514 GB, free: 97.17 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001692/2.515, allocations: 0.6333 MB / 1.515 GB, free: 96.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003616/2.515, allocations: 42.55 kB / 1.515 GB, free: 96.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/2.516, allocations: 122 kB / 1.515 GB, free: 96.71 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005696/2.517, allocations: 177.2 kB / 1.515 GB, free: 96.68 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/2.517, allocations: 64.27 kB / 1.515 GB, free: 96.67 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001922/2.519, allocations: 1.258 MB / 1.516 GB, free: 96.18 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.7e-07/2.519, allocations: 1.969 kB / 1.516 GB, free: 96.18 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004602/2.524, allocations: 1.175 MB / 1.518 GB, free: 96.09 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004076/2.524, allocations: 171.7 kB / 1.518 GB, free: 95.96 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007752/2.532, allocations: 4.611 MB / 1.522 GB, free: 94.02 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/2.532, allocations: 2.5 kB / 1.522 GB, free: 94.02 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.005277/2.537, allocations: 2.919 MB / 1.525 GB, free: 92.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005704/2.543, allocations: 0.7875 MB / 1.526 GB, free: 92.38 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/2.563, allocations: 11.18 MB / 1.537 GB, free: 86.38 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004769/2.567, allocations: 3.693 MB / 1.54 GB, free: 85 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002571/2.57, allocations: 0.5424 MB / 1.541 GB, free: 84.93 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003732/2.57, allocations: 152.4 kB / 1.541 GB, free: 84.92 MB / 0.9323 GB Notification: Performance of SimCode: time 2.535e-06/2.57, allocations: 0 / 1.541 GB, free: 84.92 MB / 0.9323 GB Notification: Performance of Templates: time 0.09164/2.662, allocations: 48.12 MB / 1.588 GB, free: 83 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)