Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 109.1 kB / 17.03 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 194.9 kB / 17.97 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7308/0.7308, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 60.14 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3433, allocations: 76.14 MB / 0.5576 GB, free: 36.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03159/0.3749, allocations: 32.58 MB / 0.5894 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01614/0.3911, allocations: 10.26 MB / 0.5994 GB, free: 7.445 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003866/0.395, allocations: 150.8 kB / 0.5996 GB, free: 7.398 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008513/0.4036, allocations: 3.711 MB / 0.6032 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005478/0.4091, allocations: 1.858 MB / 0.605 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005313/0.4144, allocations: 2.134 MB / 0.6071 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00918/0.4236, allocations: 7.328 MB / 0.6142 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01237/0.436, allocations: 9.417 MB / 0.6234 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004817/0.4409, allocations: 3.178 MB / 0.6265 GB, free: 13.75 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005084/0.446, allocations: 3.477 MB / 0.6299 GB, free: 10.26 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001214/0.4472, allocations: 0.6484 MB / 0.6306 GB, free: 9.613 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.4507, allocations: 1.771 MB / 0.6323 GB, free: 7.844 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002438/0.4531, allocations: 2.542 MB / 0.6348 GB, free: 5.297 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003543/0.4567, allocations: 2.898 MB / 0.6376 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009793/0.4665, allocations: 10.1 MB / 0.6475 GB, free: 8.258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4665, allocations: 0 / 0.6475 GB, free: 8.258 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.4665, allocations: 3.938 kB / 0.6475 GB, free: 8.254 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002301/0.4668, allocations: 3.938 kB / 0.6475 GB, free: 8.25 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009337/0.4761, allocations: 5.006 MB / 0.6524 GB, free: 3.172 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.4762, allocations: 8.031 kB / 0.6524 GB, free: 3.164 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004997/0.4812, allocations: 0.9551 MB / 0.6533 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007236/0.4884, allocations: 3.046 MB / 0.6563 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000308/0.4888, allocations: 349.6 kB / 0.6566 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00152/0.4903, allocations: 464.2 kB / 0.6571 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.506, allocations: 7.667 MB / 0.6645 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001614/0.5062, allocations: 23.72 kB / 0.6646 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006644/0.5068, allocations: 200 kB / 0.6648 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003437/0.5072, allocations: 316.9 kB / 0.6651 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01052/0.5177, allocations: 5.706 MB / 0.6706 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03534/0.5531, allocations: 34.82 MB / 0.7046 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002621/0.5557, allocations: 2.169 MB / 0.7068 GB, free: 7.707 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.5573, allocations: 1.261 MB / 0.708 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.27e-05/0.5574, allocations: 13.31 kB / 0.708 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.5575, allocations: 51.86 kB / 0.7081 GB, free: 6.371 MB / 0.545 GB Notification: Performance of pre-optimization done (n=133): time 2.856e-06/0.5575, allocations: 3.938 kB / 0.7081 GB, free: 6.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=136): time 0.01252/0.57, allocations: 7.081 MB / 0.715 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.5701, allocations: 68.66 kB / 0.715 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.5719, allocations: 1.488 MB / 0.7165 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.572, allocations: 57.7 kB / 0.7165 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00133/0.5734, allocations: 1.996 MB / 0.7185 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/0.5737, allocations: 493 kB / 0.719 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000459/0.5742, allocations: 347.1 kB / 0.7193 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.5743, allocations: 305.1 kB / 0.7196 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.5755, allocations: 0.9096 MB / 0.7205 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.5771, allocations: 1.593 MB / 0.722 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003126/0.5802, allocations: 2.741 MB / 0.7247 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.5802, allocations: 4 kB / 0.7247 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005679/0.5859, allocations: 3.526 MB / 0.7282 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.5859, allocations: 20.92 kB / 0.7282 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.586, allocations: 24 kB / 0.7282 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002379/0.5884, allocations: 0.9037 MB / 0.7291 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.5894, allocations: 347.4 kB / 0.7294 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2851/0.8745, allocations: 23.09 MB / 0.752 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.8765, allocations: 99.91 kB / 0.7521 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/0.8767, allocations: 87.91 kB / 0.7521 GB, free: 148.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003194/0.8799, allocations: 1.613 MB / 0.7537 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005894/0.8805, allocations: 209.4 kB / 0.7539 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005589/0.8861, allocations: 2.986 MB / 0.7568 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.8861, allocations: 14.09 kB / 0.7568 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/0.8861, allocations: 10.56 kB / 0.7569 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.8861, allocations: 6.234 kB / 0.7569 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.8985, allocations: 7.347 MB / 0.764 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.8986, allocations: 4.406 kB / 0.764 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007829/0.8993, allocations: 178.8 kB / 0.7642 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002521/0.9019, allocations: 0.8292 MB / 0.765 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.695e-05/0.902, allocations: 26.69 kB / 0.765 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01628/0.9183, allocations: 21.94 MB / 0.7865 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.9183, allocations: 9.094 kB / 0.7865 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00505/0.9234, allocations: 3.031 MB / 0.7894 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.9246, allocations: 457.6 kB / 0.7899 GB, free: 122.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.9249, allocations: 33.95 kB / 0.7899 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007484/0.9256, allocations: 69.45 kB / 0.79 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004339/0.9261, allocations: 122.8 kB / 0.7901 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.979e-05/0.9262, allocations: 39.47 kB / 0.7901 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001327/0.9275, allocations: 0.9754 MB / 0.7911 GB, free: 122.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9275, allocations: 0 / 0.7911 GB, free: 122.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003276/0.9308, allocations: 0.7885 MB / 0.7918 GB, free: 122.3 MB / 0.5762 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000246/0.931, allocations: 147.5 kB / 0.792 GB, free: 122.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00532/0.9364, allocations: 4.022 MB / 0.7959 GB, free: 119.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.373e-06/0.9364, allocations: 1.125 kB / 0.7959 GB, free: 119.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00308/0.9395, allocations: 2.741 MB / 0.7986 GB, free: 118 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/0.9424, allocations: 0.7332 MB / 0.7993 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.9526, allocations: 7.104 MB / 0.8062 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002697/0.9554, allocations: 3.11 MB / 0.8093 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001311/0.9567, allocations: 450.7 kB / 0.8097 GB, free: 112.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/0.957, allocations: 115.4 kB / 0.8098 GB, free: 112.3 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/0.957, allocations: 0 / 0.8098 GB, free: 112.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.05299/1.01, allocations: 35.69 MB / 0.8447 GB, free: 77.12 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)