Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.0009832/0.0009831, allocations: 177.4 kB / 371.6 MB, free: 3.391 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.546/1.546, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.001143/0.001143, allocations: 88.36 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.659e-05/3.661e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2755, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.909/1.185, allocations: 172 MB / 1.148 GB, free: 20.82 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/1.185, allocations: 94.67 kB / 1.148 GB, free: 20.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.4951/1.68, allocations: 199.2 MB / 1.342 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.467e-06/1.68, allocations: 3.938 kB / 1.342 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0005929/1.681, allocations: 132 kB / 1.343 GB, free: 13.43 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01924/1.7, allocations: 4.453 MB / 1.347 GB, free: 8.914 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/1.7, allocations: 8.031 kB / 1.347 GB, free: 8.906 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008737/1.709, allocations: 1.045 MB / 1.348 GB, free: 7.855 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/1.72, allocations: 3.406 MB / 1.351 GB, free: 4.395 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005232/1.721, allocations: 415.3 kB / 1.352 GB, free: 3.988 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002845/1.724, allocations: 0.5311 MB / 1.352 GB, free: 3.457 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02665/1.75, allocations: 8.492 MB / 1.36 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004417/1.751, allocations: 27.77 kB / 1.36 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002353/1.753, allocations: 247.9 kB / 1.361 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004609/1.754, allocations: 314.8 kB / 1.361 GB, free: 9.961 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01645/1.77, allocations: 6.032 MB / 1.367 GB, free: 3.922 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6403/2.411, allocations: 40.11 MB / 1.406 GB, free: 130 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004123/2.415, allocations: 3.066 MB / 1.409 GB, free: 129.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002993/2.418, allocations: 1.949 MB / 1.411 GB, free: 129.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/2.418, allocations: 22.34 kB / 1.411 GB, free: 129.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/2.418, allocations: 51.8 kB / 1.411 GB, free: 129.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=179): time 3.927e-06/2.418, allocations: 3.375 kB / 1.411 GB, free: 129.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=182): time 0.01047/2.428, allocations: 6.029 MB / 1.417 GB, free: 128.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/2.428, allocations: 68.56 kB / 1.417 GB, free: 128.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/2.43, allocations: 1.293 MB / 1.418 GB, free: 128 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/2.43, allocations: 51.05 kB / 1.418 GB, free: 128 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/2.431, allocations: 2.241 MB / 1.421 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004313/2.432, allocations: 0.6312 MB / 1.421 GB, free: 126.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/2.432, allocations: 44.09 kB / 1.421 GB, free: 126.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001171/2.432, allocations: 399.2 kB / 1.422 GB, free: 126.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/2.433, allocations: 1.146 MB / 1.423 GB, free: 126.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/2.435, allocations: 1.826 MB / 1.424 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/2.437, allocations: 1.494 MB / 1.426 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/2.437, allocations: 3.656 kB / 1.426 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006735/2.443, allocations: 4.493 MB / 1.43 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/2.444, allocations: 16.39 kB / 1.43 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/2.444, allocations: 26.53 kB / 1.43 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003315/2.447, allocations: 1.566 MB / 1.432 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/2.448, allocations: 350 kB / 1.432 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/2.466, allocations: 17 MB / 1.449 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/2.468, allocations: 119.1 kB / 1.449 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001826/2.468, allocations: 98.19 kB / 1.449 GB, free: 119.9 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003527/2.469, allocations: 231.5 kB / 1.449 GB, free: 119.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/2.469, allocations: 228 kB / 1.449 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006173/2.475, allocations: 4.036 MB / 1.453 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/2.475, allocations: 20.28 kB / 1.453 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/2.475, allocations: 20.23 kB / 1.453 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/2.475, allocations: 10.78 kB / 1.453 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/2.491, allocations: 9.372 MB / 1.463 GB, free: 118.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/2.491, allocations: 8.594 kB / 1.463 GB, free: 118.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/2.491, allocations: 182.2 kB / 1.463 GB, free: 118.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003153/2.495, allocations: 1.356 MB / 1.464 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/2.495, allocations: 31.44 kB / 1.464 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01619/2.511, allocations: 15.87 MB / 1.48 GB, free: 113 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/2.511, allocations: 7.406 kB / 1.48 GB, free: 113 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006705/2.518, allocations: 4.319 MB / 1.484 GB, free: 111.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/2.519, allocations: 0.5252 MB / 1.484 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003764/2.52, allocations: 32.72 kB / 1.484 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/2.521, allocations: 85.92 kB / 1.484 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006563/2.522, allocations: 166.7 kB / 1.485 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/2.522, allocations: 51.78 kB / 1.485 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001347/2.523, allocations: 0.972 MB / 1.486 GB, free: 110.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.51e-07/2.523, allocations: 0 / 1.486 GB, free: 110.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003408/2.526, allocations: 1.034 MB / 1.487 GB, free: 110.6 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 81 * 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,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002832/2.527, allocations: 153.8 kB / 1.487 GB, free: 110.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005622/2.532, allocations: 4.193 MB / 1.491 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/2.532, allocations: 0 / 1.491 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003426/2.536, allocations: 2.614 MB / 1.493 GB, free: 107.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/2.539, allocations: 0.6772 MB / 1.494 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/2.551, allocations: 6.893 MB / 1.501 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004222/2.555, allocations: 3.665 MB / 1.504 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001628/2.556, allocations: 468.7 kB / 1.505 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/2.557, allocations: 116.9 kB / 1.505 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of SimCode: time 9.22e-07/2.557, allocations: 0 / 1.505 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.08085/2.638, allocations: 41.14 MB / 1.545 GB, free: 101.6 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)