Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.693/1.693, allocations: 285.4 MB / 298 MB, free: 5.98 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.001058/0.001058, allocations: 184.9 kB / 366.4 MB, free: 2.098 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.37/1.37, allocations: 205.1 MB / 0.6248 GB, free: 7.75 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.0008358/0.0008355, allocations: 99.09 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.159e-05, allocations: 7.984 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8476/0.8476, allocations: 115.3 MB / 0.9709 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2747/1.122, allocations: 194.9 MB / 1.161 GB, free: 4.715 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004057/1.123, allocations: 92.78 kB / 1.161 GB, free: 4.625 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.9647/2.088, allocations: 145.7 MB / 1.304 GB, free: 200 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.55e-06/2.088, allocations: 1.062 kB / 1.304 GB, free: 200 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004053/2.088, allocations: 98.86 kB / 1.304 GB, free: 200 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01415/2.102, allocations: 3.209 MB / 1.307 GB, free: 198.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.165e-05/2.102, allocations: 10.06 kB / 1.307 GB, free: 198.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007177/2.11, allocations: 0.8264 MB / 1.308 GB, free: 198.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008602/2.118, allocations: 2.559 MB / 1.31 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004087/2.119, allocations: 274 kB / 1.31 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0021/2.121, allocations: 381.1 kB / 1.311 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/2.134, allocations: 5.636 MB / 1.316 GB, free: 196.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/2.135, allocations: 25.39 kB / 1.316 GB, free: 196.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000473/2.135, allocations: 166.1 kB / 1.317 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002341/2.135, allocations: 213 kB / 1.317 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007448/2.143, allocations: 4.051 MB / 1.321 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02903/2.172, allocations: 27.67 MB / 1.348 GB, free: 172 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/2.173, allocations: 1.091 MB / 1.349 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/2.174, allocations: 0.9877 MB / 1.35 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.49e-05/2.175, allocations: 14.75 kB / 1.35 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/2.175, allocations: 46.94 kB / 1.35 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 4.338e-06/2.175, allocations: 0 / 1.35 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.01857/2.193, allocations: 7.976 MB / 1.358 GB, free: 168 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/2.193, allocations: 64.41 kB / 1.358 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/2.196, allocations: 1.257 MB / 1.359 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001369/2.196, allocations: 47.58 kB / 1.359 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001068/2.197, allocations: 1.672 MB / 1.361 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004269/2.198, allocations: 466.9 kB / 1.361 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/2.198, allocations: 34.78 kB / 1.361 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001388/2.198, allocations: 376.9 kB / 1.361 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/2.199, allocations: 0.86 MB / 1.362 GB, free: 165 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/2.201, allocations: 1.447 MB / 1.364 GB, free: 163.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/2.202, allocations: 1.11 MB / 1.365 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/2.202, allocations: 7.688 kB / 1.365 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005624/2.208, allocations: 3.188 MB / 1.368 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/2.208, allocations: 19.88 kB / 1.368 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/2.208, allocations: 18 kB / 1.368 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002/2.21, allocations: 0.7196 MB / 1.369 GB, free: 162 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/2.212, allocations: 389 kB / 1.369 GB, free: 162 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/2.224, allocations: 15.58 MB / 1.384 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/2.226, allocations: 99.92 kB / 1.384 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00042/2.227, allocations: 78.56 kB / 1.384 GB, free: 148.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006303/2.227, allocations: 214.9 kB / 1.385 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006373/2.228, allocations: 200.5 kB / 1.385 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005223/2.233, allocations: 2.721 MB / 1.387 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/2.233, allocations: 13.72 kB / 1.387 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.857e-05/2.233, allocations: 7.688 kB / 1.387 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/2.233, allocations: 11.41 kB / 1.387 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/2.247, allocations: 6.053 MB / 1.393 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/2.247, allocations: 6.656 kB / 1.393 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/2.248, allocations: 240.8 kB / 1.394 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/2.25, allocations: 0.6486 MB / 1.394 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001659/2.25, allocations: 33.17 kB / 1.394 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/2.263, allocations: 15.28 MB / 1.409 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.298e-06/2.263, allocations: 11.94 kB / 1.409 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007237/2.27, allocations: 4.237 MB / 1.413 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/2.272, allocations: 445.6 kB / 1.414 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007712/2.272, allocations: 39.95 kB / 1.414 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/2.274, allocations: 82.19 kB / 1.414 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003875/2.274, allocations: 117.5 kB / 1.414 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.822e-05/2.275, allocations: 36 kB / 1.414 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001932/2.276, allocations: 0.9527 MB / 1.415 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.41e-07/2.276, allocations: 0 / 1.415 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003592/2.28, allocations: 0.7109 MB / 1.416 GB, free: 123 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003591/2.28, allocations: 156.8 kB / 1.416 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004853/2.285, allocations: 3.383 MB / 1.419 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/2.285, allocations: 0 / 1.419 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002732/2.288, allocations: 2.236 MB / 1.421 GB, free: 117 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/2.292, allocations: 0.5655 MB / 1.422 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/2.304, allocations: 5.237 MB / 1.427 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003465/2.307, allocations: 2.738 MB / 1.43 GB, free: 108.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001803/2.309, allocations: 475.4 kB / 1.43 GB, free: 108 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/2.309, allocations: 115.4 kB / 1.43 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.634e-06/2.309, allocations: 0 / 1.43 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.05074/2.36, allocations: 30.26 MB / 1.46 GB, free: 78.32 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)