Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.622/2.622, allocations: 287.5 MB / 303.2 MB, free: 8.195 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.001357/0.001357, allocations: 186.3 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009016/0.0009013, allocations: 94.3 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000496/0.000496, allocations: 12.38 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2147, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9739/1.189, allocations: 170.7 MB / 1.146 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/1.189, allocations: 100.7 kB / 1.146 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7106/1.9, allocations: 182.5 MB / 1.324 GB, free: 496 kB / 0.8386 GB Notification: Performance of FrontEnd: time 2.775e-06/1.9, allocations: 7.938 kB / 1.324 GB, free: 488 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004794/1.9, allocations: 120 kB / 1.325 GB, free: 368 kB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01965/1.92, allocations: 4.441 MB / 1.329 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/1.92, allocations: 8.031 kB / 1.329 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009884/1.93, allocations: 1.017 MB / 1.33 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/1.942, allocations: 3.299 MB / 1.333 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005603/1.943, allocations: 366.1 kB / 1.333 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002484/1.945, allocations: 472.3 kB / 1.334 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02644/1.972, allocations: 7.531 MB / 1.341 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002692/1.972, allocations: 23.97 kB / 1.341 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002018/1.974, allocations: 227.9 kB / 1.341 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004981/1.974, allocations: 265.1 kB / 1.342 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01844/1.993, allocations: 5.403 MB / 1.347 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06269/2.056, allocations: 36.28 MB / 1.382 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006194/2.062, allocations: 2.136 MB / 1.384 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003623/2.066, allocations: 1.469 MB / 1.386 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/2.066, allocations: 17.3 kB / 1.386 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.474e-05/2.066, allocations: 59.81 kB / 1.386 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=157): time 5.46e-06/2.066, allocations: 0 / 1.386 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of matching and sorting (n=160): time 0.02519/2.091, allocations: 7.56 MB / 1.393 GB, free: 5.66 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/2.091, allocations: 68.72 kB / 1.393 GB, free: 5.582 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003843/2.095, allocations: 1.802 MB / 1.395 GB, free: 3.754 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004434/2.096, allocations: 49.7 kB / 1.395 GB, free: 3.699 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002116/2.098, allocations: 2.105 MB / 1.397 GB, free: 1.57 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001032/2.099, allocations: 0.5507 MB / 1.398 GB, free: 1.012 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/2.099, allocations: 44 kB / 1.398 GB, free: 0.9688 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002692/2.099, allocations: 386.1 kB / 1.398 GB, free: 0.5859 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002837/2.102, allocations: 1.019 MB / 1.399 GB, free: 15.56 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003529/2.106, allocations: 1.736 MB / 1.401 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006592/2.112, allocations: 3 MB / 1.404 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.12e-05/2.112, allocations: 4 kB / 1.404 GB, free: 10.15 MB / 0.9323 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01118/2.124, allocations: 3.822 MB / 1.408 GB, free: 6.281 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.906e-05/2.124, allocations: 17.41 kB / 1.408 GB, free: 6.266 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-05/2.124, allocations: 20 kB / 1.408 GB, free: 6.246 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004201/2.128, allocations: 0.92 MB / 1.409 GB, free: 5.289 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003091/2.131, allocations: 415.2 kB / 1.409 GB, free: 4.883 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7083/2.84, allocations: 21.04 MB / 1.429 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003178/2.843, allocations: 122.8 kB / 1.43 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006052/2.843, allocations: 91.81 kB / 1.43 GB, free: 234.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004875/2.848, allocations: 1.643 MB / 1.431 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008516/2.849, allocations: 254.3 kB / 1.432 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009945/2.859, allocations: 3.255 MB / 1.435 GB, free: 234.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.888e-05/2.859, allocations: 16.16 kB / 1.435 GB, free: 234.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.976e-05/2.859, allocations: 19.89 kB / 1.435 GB, free: 234.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.13e-05/2.859, allocations: 5.641 kB / 1.435 GB, free: 234.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02378/2.883, allocations: 7.498 MB / 1.442 GB, free: 234 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.493e-05/2.883, allocations: 4.094 kB / 1.442 GB, free: 234 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002031/2.885, allocations: 225.4 kB / 1.442 GB, free: 234 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004321/2.89, allocations: 0.8725 MB / 1.443 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004536/2.89, allocations: 37.06 kB / 1.443 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02902/2.919, allocations: 21.01 MB / 1.464 GB, free: 219 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/2.919, allocations: 7.781 kB / 1.464 GB, free: 219 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009779/2.929, allocations: 3.361 MB / 1.467 GB, free: 218.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002159/2.931, allocations: 0.5309 MB / 1.468 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009561/2.932, allocations: 36.14 kB / 1.468 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002637/2.935, allocations: 95.23 kB / 1.468 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007961/2.936, allocations: 138.4 kB / 1.468 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/2.936, allocations: 45.47 kB / 1.468 GB, free: 218.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003255/2.939, allocations: 1.183 MB / 1.469 GB, free: 218.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.082e-06/2.939, allocations: 0 / 1.469 GB, free: 218.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005898/2.945, allocations: 0.9357 MB / 1.47 GB, free: 218.3 MB / 0.948 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(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.0007716/2.946, allocations: 160.8 kB / 1.47 GB, free: 218.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.011/2.957, allocations: 4.345 MB / 1.474 GB, free: 216.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.677e-05/2.957, allocations: 4.656 kB / 1.474 GB, free: 216.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007425/2.964, allocations: 2.99 MB / 1.477 GB, free: 215.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008968/2.973, allocations: 0.7216 MB / 1.478 GB, free: 215.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02452/2.998, allocations: 9.21 MB / 1.487 GB, free: 211.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008129/3.006, allocations: 3.209 MB / 1.49 GB, free: 210.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003631/3.01, allocations: 0.513 MB / 1.491 GB, free: 210.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008426/3.011, allocations: 141.6 kB / 1.491 GB, free: 210.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.031e-06/3.011, allocations: 0 / 1.491 GB, free: 210.5 MB / 0.948 GB Notification: Performance of Templates: time 0.1047/3.116, allocations: 38.85 MB / 1.529 GB, free: 209.3 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)