Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 98.92 kB / 16.26 MB, free: 5.934 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.001632/0.001632, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.482/1.482, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8104/0.8104, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 67.89 kB / 0.4911 GB, free: 7.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4271, allocations: 77.93 MB / 0.5672 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01391/0.441, allocations: 14.02 MB / 0.5809 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.4527, allocations: 9.392 MB / 0.5901 GB, free: 16.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.4542, allocations: 59.62 kB / 0.5901 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00347/0.4577, allocations: 1.675 MB / 0.5918 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004288/0.462, allocations: 1.554 MB / 0.5933 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.4643, allocations: 0.7567 MB / 0.594 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004147/0.4684, allocations: 2.51 MB / 0.5965 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.4703, allocations: 1.408 MB / 0.5978 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002631/0.473, allocations: 1.04 MB / 0.5989 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002449/0.4754, allocations: 1.146 MB / 0.6 GB, free: 9.195 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003179/0.4758, allocations: 168 kB / 0.6001 GB, free: 9.031 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.4776, allocations: 0.7838 MB / 0.6009 GB, free: 8.246 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004666/0.4781, allocations: 0.6232 MB / 0.6015 GB, free: 7.621 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008281/0.4789, allocations: 0.9406 MB / 0.6024 GB, free: 6.676 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002992/0.4819, allocations: 2.73 MB / 0.6051 GB, free: 3.938 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4819, allocations: 4 kB / 0.6051 GB, free: 3.934 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4819, allocations: 0 / 0.6051 GB, free: 3.934 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.482, allocations: 0 / 0.6051 GB, free: 3.934 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003199/0.4852, allocations: 2.139 MB / 0.6072 GB, free: 1.738 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.4852, allocations: 12.62 kB / 0.6072 GB, free: 1.727 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.496, allocations: 2.085 MB / 0.6092 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/0.4986, allocations: 1.201 MB / 0.6104 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.384e-05/0.4987, allocations: 90.73 kB / 0.6105 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002535/0.499, allocations: 116.1 kB / 0.6106 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005672/0.5046, allocations: 2.682 MB / 0.6132 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.5047, allocations: 7.938 kB / 0.6132 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/0.5049, allocations: 55.98 kB / 0.6133 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000645/0.5055, allocations: 182.1 kB / 0.6135 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007423/0.513, allocations: 2.795 MB / 0.6162 GB, free: 8.293 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/0.527, allocations: 10.52 MB / 0.6265 GB, free: 13.19 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009346/0.5364, allocations: 2.521 MB / 0.6289 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00469/0.5411, allocations: 1.284 MB / 0.6302 GB, free: 9.309 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.5413, allocations: 9 kB / 0.6302 GB, free: 9.301 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.5414, allocations: 51.5 kB / 0.6302 GB, free: 9.242 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 4.358e-06/0.5415, allocations: 0 / 0.6302 GB, free: 9.242 MB / 478.1 MB Notification: Performance of matching and sorting (n=131): time 0.05895/0.6004, allocations: 13.36 MB / 0.6433 GB, free: 11.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.6005, allocations: 64.72 kB / 0.6433 GB, free: 11.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/0.6025, allocations: 1.117 MB / 0.6444 GB, free: 10.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002346/0.6028, allocations: 49.7 kB / 0.6445 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005799/0.6034, allocations: 0.7194 MB / 0.6452 GB, free: 9.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006238/0.604, allocations: 449.5 kB / 0.6456 GB, free: 9.234 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006757/0.6047, allocations: 263.4 kB / 0.6459 GB, free: 8.973 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.6049, allocations: 361.9 kB / 0.6462 GB, free: 8.613 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00366/0.6086, allocations: 1.339 MB / 0.6475 GB, free: 7.273 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003698/0.6123, allocations: 1.604 MB / 0.6491 GB, free: 5.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007418/0.6197, allocations: 2.991 MB / 0.652 GB, free: 2.484 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/0.6198, allocations: 3.938 kB / 0.652 GB, free: 2.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01458/0.6344, allocations: 4.447 MB / 0.6563 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.6345, allocations: 8 kB / 0.6564 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/0.6345, allocations: 8.031 kB / 0.6564 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007931/0.6425, allocations: 1.441 MB / 0.6578 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003147/0.6456, allocations: 435.2 kB / 0.6582 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04729/0.693, allocations: 26.7 MB / 0.6843 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004943/0.698, allocations: 303.6 kB / 0.6845 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004417/0.6984, allocations: 63.91 kB / 0.6846 GB, free: 15.18 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001691/0.7002, allocations: 439.2 kB / 0.685 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008125/0.701, allocations: 162.1 kB / 0.6852 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02154/0.7225, allocations: 4.453 MB / 0.6895 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/0.7226, allocations: 16 kB / 0.6895 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.767e-05/0.7227, allocations: 12 kB / 0.6896 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.61e-05/0.7227, allocations: 11.95 kB / 0.6896 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/0.7413, allocations: 6.774 MB / 0.6962 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.7414, allocations: 4 kB / 0.6962 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/0.7431, allocations: 371.4 kB / 0.6965 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004957/0.7481, allocations: 1.322 MB / 0.6978 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002492/0.7484, allocations: 39.95 kB / 0.6979 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02608/0.7745, allocations: 25.5 MB / 0.7228 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.7745, allocations: 7.938 kB / 0.7228 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01099/0.7855, allocations: 4.204 MB / 0.7269 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.7866, allocations: 459 kB / 0.7273 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004443/0.787, allocations: 24 kB / 0.7273 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/0.7893, allocations: 307.5 kB / 0.7276 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004644/0.7898, allocations: 132.7 kB / 0.7278 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/0.7899, allocations: 51.95 kB / 0.7278 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001116/0.791, allocations: 0.7527 MB / 0.7285 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.791, allocations: 0 / 0.7285 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00226/0.7933, allocations: 0.5664 MB / 0.7291 GB, free: 15.39 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003109/0.7936, allocations: 140 kB / 0.7292 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01215/0.8058, allocations: 5.521 MB / 0.7346 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.8058, allocations: 0 / 0.7346 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006997/0.8128, allocations: 3.488 MB / 0.738 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003124/0.816, allocations: 0.5551 MB / 0.7386 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009677/0.8257, allocations: 4.041 MB / 0.7425 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3384/1.164, allocations: 1.472 MB / 0.744 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00233/1.167, allocations: 426.9 kB / 0.7444 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004496/1.167, allocations: 115.2 kB / 0.7445 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of SimCode: time 7.91e-07/1.167, allocations: 0 / 0.7445 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.08007/1.247, allocations: 38.92 MB / 0.7825 GB, free: 136.1 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)