Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 115 kB / 17.04 MB, free: 5.812 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.0009807/0.0009808, allocations: 196 kB / 17.98 MB, free: 5.031 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.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7174/0.7174, allocations: 115.1 MB / 407 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 64.11 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3829, allocations: 76.14 MB / 0.5576 GB, free: 36.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03626/0.4192, allocations: 35.1 MB / 0.5919 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01676/0.436, allocations: 9.946 MB / 0.6016 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005033/0.4411, allocations: 147.9 kB / 0.6017 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00939/0.4506, allocations: 3.802 MB / 0.6054 GB, free: 2.727 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006908/0.4575, allocations: 2.032 MB / 0.6074 GB, free: 1.047 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005771/0.4633, allocations: 1.959 MB / 0.6093 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01195/0.4753, allocations: 7.978 MB / 0.6171 GB, free: 7.484 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01197/0.4873, allocations: 9.525 MB / 0.6264 GB, free: 13.87 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005734/0.4931, allocations: 3.373 MB / 0.6297 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006232/0.4993, allocations: 3.734 MB / 0.6334 GB, free: 6.738 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001824/0.5012, allocations: 0.6797 MB / 0.634 GB, free: 6.059 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003743/0.5049, allocations: 1.447 MB / 0.6354 GB, free: 4.609 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003306/0.5083, allocations: 2.616 MB / 0.638 GB, free: 1.988 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005172/0.5134, allocations: 3.104 MB / 0.641 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.524, allocations: 10.37 MB / 0.6511 GB, free: 4.477 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.524, allocations: 4 kB / 0.6511 GB, free: 4.473 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.524, allocations: 0 / 0.6511 GB, free: 4.473 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002519/0.5243, allocations: 4 kB / 0.6512 GB, free: 4.469 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01148/0.5358, allocations: 5.405 MB / 0.6564 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.5358, allocations: 12.03 kB / 0.6564 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004343/0.5402, allocations: 0.9665 MB / 0.6574 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006378/0.5465, allocations: 3.178 MB / 0.6605 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/0.5468, allocations: 357.9 kB / 0.6608 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000786/0.5476, allocations: 468.3 kB / 0.6613 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.5602, allocations: 7.906 MB / 0.669 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.485e-05/0.5604, allocations: 19.78 kB / 0.669 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004535/0.5608, allocations: 208 kB / 0.6692 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004657/0.5613, allocations: 373.1 kB / 0.6696 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009886/0.5712, allocations: 5.933 MB / 0.6754 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04173/0.6129, allocations: 35.96 MB / 0.7105 GB, free: 3.961 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003532/0.6165, allocations: 2.138 MB / 0.7126 GB, free: 1.809 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/0.6186, allocations: 1.477 MB / 0.714 GB, free: 336 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.6188, allocations: 17.31 kB / 0.714 GB, free: 320 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/0.6188, allocations: 55.81 kB / 0.7141 GB, free: 256 kB / 0.545 GB Notification: Performance of pre-optimization done (n=157): time 3.217e-06/0.6189, allocations: 4 kB / 0.7141 GB, free: 252 kB / 0.545 GB Notification: Performance of matching and sorting (n=160): time 0.01368/0.6325, allocations: 7.532 MB / 0.7214 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.6326, allocations: 72.72 kB / 0.7215 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002446/0.6351, allocations: 1.864 MB / 0.7233 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.6352, allocations: 57.7 kB / 0.7234 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.6366, allocations: 2.123 MB / 0.7255 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004842/0.6371, allocations: 0.5546 MB / 0.726 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005943/0.6377, allocations: 403.7 kB / 0.7264 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.6378, allocations: 301.1 kB / 0.7267 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.6393, allocations: 1.062 MB / 0.7277 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/0.6412, allocations: 1.768 MB / 0.7294 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003808/0.645, allocations: 3.049 MB / 0.7324 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.645, allocations: 8 kB / 0.7324 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006266/0.6513, allocations: 3.921 MB / 0.7362 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.6514, allocations: 16.03 kB / 0.7363 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/0.6514, allocations: 28 kB / 0.7363 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002389/0.6538, allocations: 0.9272 MB / 0.7372 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.6552, allocations: 427.2 kB / 0.7376 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.31/0.9652, allocations: 22.75 MB / 0.7598 GB, free: 143 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.9676, allocations: 125.6 kB / 0.7599 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004509/0.9681, allocations: 94.58 kB / 0.76 GB, free: 142.9 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.003481/0.9716, allocations: 1.648 MB / 0.7616 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007697/0.9724, allocations: 258.8 kB / 0.7619 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005605/0.978, allocations: 3.258 MB / 0.7651 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.978, allocations: 16.03 kB / 0.7651 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/0.9781, allocations: 10.91 kB / 0.7651 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/0.9781, allocations: 9.531 kB / 0.7651 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/0.9916, allocations: 7.555 MB / 0.7725 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.9917, allocations: 6.547 kB / 0.7725 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009068/0.9926, allocations: 218.8 kB / 0.7727 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002336/0.995, allocations: 0.8914 MB / 0.7736 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.9951, allocations: 35.06 kB / 0.7736 GB, free: 137.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01706/1.012, allocations: 22.72 MB / 0.7958 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.012, allocations: 9.25 kB / 0.7958 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005376/1.018, allocations: 3.383 MB / 0.7991 GB, free: 116.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/1.019, allocations: 0.5248 MB / 0.7996 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002654/1.019, allocations: 32.02 kB / 0.7996 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009588/1.02, allocations: 98 kB / 0.7997 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004116/1.021, allocations: 140.7 kB / 0.7999 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/1.021, allocations: 43.16 kB / 0.7999 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001672/1.022, allocations: 1.231 MB / 0.8011 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/1.022, allocations: 0 / 0.8011 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002829/1.025, allocations: 0.9044 MB / 0.802 GB, free: 115.7 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002559/1.026, allocations: 163.1 kB / 0.8022 GB, free: 115.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005042/1.031, allocations: 4.426 MB / 0.8065 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.031, allocations: 8.031 kB / 0.8065 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003107/1.034, allocations: 2.999 MB / 0.8094 GB, free: 111.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/1.036, allocations: 0.8226 MB / 0.8102 GB, free: 110.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.047, allocations: 7.584 MB / 0.8176 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002447/1.049, allocations: 3.205 MB / 0.8208 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001521/1.051, allocations: 0.5292 MB / 0.8213 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/1.051, allocations: 143.4 kB / 0.8214 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of SimCode: time 7.02e-07/1.051, allocations: 4 kB / 0.8214 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.05735/1.108, allocations: 40.97 MB / 0.8614 GB, free: 60.51 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)