Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 99.98 kB / 16.27 MB, free: 5.965 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.001431/0.00143, allocations: 193.4 kB / 17.2 MB, free: 5.594 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.458/1.458, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7755/0.7755, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 0.4911 GB, free: 7.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.4824, allocations: 77.93 MB / 0.5672 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0411/0.5236, allocations: 37.93 MB / 0.6042 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02032/0.544, allocations: 11 MB / 0.615 GB, free: 9.773 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005805/0.5498, allocations: 155.9 kB / 0.6151 GB, free: 9.621 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01264/0.5625, allocations: 4.363 MB / 0.6194 GB, free: 5.266 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00949/0.572, allocations: 2.216 MB / 0.6216 GB, free: 3.055 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007582/0.5796, allocations: 2.173 MB / 0.6237 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01317/0.5928, allocations: 9.28 MB / 0.6327 GB, free: 7.594 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01513/0.608, allocations: 11.35 MB / 0.6438 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008154/0.6162, allocations: 3.981 MB / 0.6477 GB, free: 8.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008545/0.6248, allocations: 4.51 MB / 0.6521 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003393/0.6282, allocations: 0.8203 MB / 0.6529 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006243/0.6345, allocations: 1.588 MB / 0.6545 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005717/0.6402, allocations: 3.154 MB / 0.6575 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.008089/0.6483, allocations: 3.657 MB / 0.6611 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01613/0.6645, allocations: 12.23 MB / 0.6731 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.6645, allocations: 0 / 0.6731 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.889e-06/0.6645, allocations: 0 / 0.6731 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004349/0.665, allocations: 3.938 kB / 0.6731 GB, free: 14.1 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01716/0.6822, allocations: 6.311 MB / 0.6792 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.6822, allocations: 12.62 kB / 0.6792 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005621/0.6878, allocations: 1.059 MB / 0.6803 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007272/0.6951, allocations: 3.423 MB / 0.6836 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003472/0.6955, allocations: 419.8 kB / 0.684 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001527/0.697, allocations: 0.547 MB / 0.6846 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.7151, allocations: 9.385 MB / 0.6937 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.7152, allocations: 27.75 kB / 0.6937 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006112/0.7158, allocations: 244 kB / 0.694 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005648/0.7164, allocations: 418.9 kB / 0.6944 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/0.7294, allocations: 7.127 MB / 0.7013 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05063/0.78, allocations: 41.32 MB / 0.7417 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005177/0.7853, allocations: 3.096 MB / 0.7447 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3587/1.144, allocations: 2.137 MB / 0.7468 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/1.144, allocations: 23.28 kB / 0.7468 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/1.144, allocations: 63.97 kB / 0.7469 GB, free: 154 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 4.177e-06/1.144, allocations: 0 / 0.7469 GB, free: 154 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.02695/1.171, allocations: 10.56 MB / 0.7572 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/1.171, allocations: 73.34 kB / 0.7573 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00348/1.175, allocations: 2.005 MB / 0.7592 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002018/1.175, allocations: 64.23 kB / 0.7593 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00144/1.176, allocations: 2.405 MB / 0.7616 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005556/1.177, allocations: 0.7351 MB / 0.7624 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007897/1.178, allocations: 474.5 kB / 0.7628 GB, free: 147 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.053e-05/1.178, allocations: 302.2 kB / 0.7631 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/1.18, allocations: 1.374 MB / 0.7644 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/1.182, allocations: 2.107 MB / 0.7665 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004693/1.186, allocations: 3.769 MB / 0.7702 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/1.186, allocations: 6.375 kB / 0.7702 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008117/1.195, allocations: 5.068 MB / 0.7751 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/1.195, allocations: 16.03 kB / 0.7751 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/1.195, allocations: 25.28 kB / 0.7752 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003312/1.198, allocations: 1.6 MB / 0.7767 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/1.2, allocations: 447.3 kB / 0.7772 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/1.217, allocations: 18.59 MB / 0.7953 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/1.219, allocations: 151.8 kB / 0.7955 GB, free: 124 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/1.219, allocations: 108 kB / 0.7956 GB, free: 123.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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002705/1.222, allocations: 1.93 MB / 0.7974 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005077/1.223, allocations: 296.5 kB / 0.7977 GB, free: 121.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005564/1.228, allocations: 4.459 MB / 0.8021 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/1.228, allocations: 20 kB / 0.8021 GB, free: 117.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.401e-05/1.228, allocations: 16.7 kB / 0.8021 GB, free: 117.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/1.228, allocations: 11.95 kB / 0.8021 GB, free: 117.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/1.242, allocations: 9.66 MB / 0.8116 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/1.242, allocations: 8.094 kB / 0.8116 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008818/1.243, allocations: 231.6 kB / 0.8118 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002822/1.246, allocations: 1.445 MB / 0.8132 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001658/1.246, allocations: 43.98 kB / 0.8132 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/1.263, allocations: 18.57 MB / 0.8314 GB, free: 86.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.263, allocations: 7.375 kB / 0.8314 GB, free: 86.49 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006268/1.27, allocations: 4.548 MB / 0.8358 GB, free: 81.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001713/1.271, allocations: 0.6303 MB / 0.8364 GB, free: 81.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000382/1.272, allocations: 40 kB / 0.8365 GB, free: 81.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/1.273, allocations: 115.9 kB / 0.8366 GB, free: 81.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006052/1.274, allocations: 185.6 kB / 0.8368 GB, free: 80.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.274, allocations: 60 kB / 0.8368 GB, free: 80.81 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001619/1.275, allocations: 1.319 MB / 0.8381 GB, free: 79.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.275, allocations: 0 / 0.8381 GB, free: 79.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003637/1.279, allocations: 1.141 MB / 0.8392 GB, free: 78.34 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003512/1.279, allocations: 167 kB / 0.8394 GB, free: 78.17 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008115/1.288, allocations: 5.901 MB / 0.8452 GB, free: 72.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.288, allocations: 4 kB / 0.8452 GB, free: 72.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003663/1.291, allocations: 2.924 MB / 0.848 GB, free: 69.26 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004081/1.295, allocations: 0.8893 MB / 0.8489 GB, free: 68.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/1.313, allocations: 9.391 MB / 0.8581 GB, free: 58.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005099/1.318, allocations: 3.698 MB / 0.8617 GB, free: 55.23 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00259/1.32, allocations: 0.5518 MB / 0.8622 GB, free: 54.67 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006246/1.321, allocations: 147.4 kB / 0.8623 GB, free: 54.52 MB / 0.5762 GB Notification: Performance of SimCode: time 1.402e-06/1.321, allocations: 0 / 0.8623 GB, free: 54.52 MB / 0.5762 GB Notification: Performance of Templates: time 0.08015/1.401, allocations: 52.87 MB / 0.914 GB, free: 2.441 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)