Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.745/1.745, allocations: 297.8 MB / 313.8 MB, free: 124 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009521/0.0009523, allocations: 184.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007991/0.0007991, allocations: 97.95 kB / 0.7808 GB, free: 43.58 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.0004248, allocations: 15.94 kB / 0.9088 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.587/0.5874, allocations: 120.3 MB / 1.026 GB, free: 56.36 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.7923, allocations: 167.1 MB / 1.19 GB, free: 7.023 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/0.7927, allocations: 101.2 kB / 1.19 GB, free: 6.926 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.09397/0.8867, allocations: 40.55 MB / 1.229 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8867, allocations: 0 / 1.229 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.256e-05/0.8868, allocations: 24 kB / 1.229 GB, free: 14 MB / 0.8073 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.002294/0.8891, allocations: 1.029 MB / 1.23 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.8891, allocations: 8.031 kB / 1.23 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.8908, allocations: 247.5 kB / 1.231 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.8919, allocations: 0.5636 MB / 1.231 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.887e-05/0.8919, allocations: 46.38 kB / 1.231 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.8921, allocations: 68.36 kB / 1.231 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.8938, allocations: 1.143 MB / 1.232 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.8938, allocations: 4 kB / 1.232 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-05/0.8939, allocations: 35.98 kB / 1.232 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.001e-05/0.894, allocations: 53.28 kB / 1.232 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.8951, allocations: 0.7503 MB / 1.233 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005761/0.9009, allocations: 5.917 MB / 1.239 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009763/0.9019, allocations: 0.5516 MB / 1.239 GB, free: 2.918 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004593/0.9024, allocations: 331 kB / 1.24 GB, free: 2.594 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.9024, allocations: 8.422 kB / 1.24 GB, free: 2.586 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.9025, allocations: 38.94 kB / 1.24 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=47): time 3.427e-06/0.9025, allocations: 4 kB / 1.24 GB, free: 2.535 MB / 0.8073 GB Notification: Performance of matching and sorting (n=48): time 0.003801/0.9063, allocations: 1.986 MB / 1.242 GB, free: 464 kB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.9064, allocations: 59.84 kB / 1.242 GB, free: 392 kB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006541/0.907, allocations: 0.5549 MB / 1.242 GB, free: 15.81 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.9071, allocations: 37.7 kB / 1.242 GB, free: 15.77 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.9073, allocations: 403.1 kB / 1.243 GB, free: 15.37 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.9075, allocations: 165.5 kB / 1.243 GB, free: 15.21 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.9075, allocations: 16 kB / 1.243 GB, free: 15.19 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.9077, allocations: 382.7 kB / 1.243 GB, free: 14.81 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.9081, allocations: 265.1 kB / 1.244 GB, free: 14.55 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005325/0.9086, allocations: 466.8 kB / 1.244 GB, free: 14.01 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000924/0.9095, allocations: 0.7709 MB / 1.245 GB, free: 13.16 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.9096, allocations: 4 kB / 1.245 GB, free: 13.16 MB / 0.823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001676/0.9112, allocations: 1.055 MB / 1.246 GB, free: 12.08 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.9113, allocations: 8 kB / 1.246 GB, free: 12.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.9113, allocations: 7.984 kB / 1.246 GB, free: 12.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007786/0.9121, allocations: 283.6 kB / 1.246 GB, free: 11.78 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.9125, allocations: 119.8 kB / 1.246 GB, free: 11.66 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005649/0.9182, allocations: 6.591 MB / 1.253 GB, free: 4.539 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/0.9188, allocations: 44.03 kB / 1.253 GB, free: 4.496 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/0.9188, allocations: 24 kB / 1.253 GB, free: 4.473 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 59 * 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.0003976/0.9192, allocations: 254 kB / 1.253 GB, free: 4.215 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.9194, allocations: 75.14 kB / 1.253 GB, free: 4.141 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.9209, allocations: 0.8887 MB / 1.254 GB, free: 3.227 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.9209, allocations: 4 kB / 1.254 GB, free: 3.223 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.9209, allocations: 7.984 kB / 1.254 GB, free: 3.215 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.9209, allocations: 4.031 kB / 1.254 GB, free: 3.211 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.9234, allocations: 1.715 MB / 1.256 GB, free: 1.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.9234, allocations: 4.188 kB / 1.256 GB, free: 1.406 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.9236, allocations: 67.89 kB / 1.256 GB, free: 1.34 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006872/0.9243, allocations: 263.1 kB / 1.256 GB, free: 1.07 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/0.9244, allocations: 12 kB / 1.256 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005324/0.9297, allocations: 6.579 MB / 1.262 GB, free: 9.945 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9297, allocations: 8.016 kB / 1.262 GB, free: 9.938 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.9311, allocations: 0.9834 MB / 1.263 GB, free: 8.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.9314, allocations: 196.1 kB / 1.263 GB, free: 8.699 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.839e-05/0.9315, allocations: 15.94 kB / 1.263 GB, free: 8.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/0.9319, allocations: 28.11 kB / 1.263 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.932, allocations: 51.86 kB / 1.264 GB, free: 8.605 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.932, allocations: 12 kB / 1.264 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004592/0.9325, allocations: 387.1 kB / 1.264 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9325, allocations: 4 kB / 1.264 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008/0.9333, allocations: 228 kB / 1.264 GB, free: 7.992 MB / 0.8386 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%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001825/0.9335, allocations: 123.2 kB / 1.264 GB, free: 7.859 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001852/0.9353, allocations: 1.256 MB / 1.265 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.748e-06/0.9354, allocations: 0 / 1.265 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.9365, allocations: 0.8859 MB / 1.266 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.9377, allocations: 201.3 kB / 1.267 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.94, allocations: 1.591 MB / 1.268 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/0.9407, allocations: 1.013 MB / 1.269 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004532/0.9411, allocations: 121.8 kB / 1.269 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.9412, allocations: 39.44 kB / 1.269 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of SimCode: time 6.31e-07/0.9412, allocations: 4 kB / 1.269 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of Templates: time 0.01779/0.959, allocations: 10.47 MB / 1.279 GB, free: 8.23 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)