Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009604/0.0009607, allocations: 96.97 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 174.2 kB / 16.57 MB, free: 6.398 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.449/1.449, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7052/0.7052, allocations: 113.8 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.000337, allocations: 8 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1817, allocations: 77.15 MB / 0.5569 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02409/0.2058, allocations: 23.23 MB / 0.5795 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3212/0.527, allocations: 7.742 MB / 0.5871 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002596/0.5296, allocations: 96.16 kB / 0.5872 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.5316, allocations: 0.5159 MB / 0.5877 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004415/0.536, allocations: 1.176 MB / 0.5888 GB, free: 16.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00387/0.5399, allocations: 1.012 MB / 0.5898 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007191/0.5471, allocations: 3 MB / 0.5928 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01663/0.5638, allocations: 8.177 MB / 0.6008 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004725/0.5686, allocations: 1.639 MB / 0.6024 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00514/0.5737, allocations: 1.672 MB / 0.604 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.5748, allocations: 216 kB / 0.6042 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002966/0.5778, allocations: 0.4969 MB / 0.6047 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002641/0.5804, allocations: 1.531 MB / 0.6062 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002489/0.5829, allocations: 0.7991 MB / 0.607 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009971/0.5929, allocations: 6.518 MB / 0.6133 GB, free: 9.566 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.593, allocations: 0 / 0.6133 GB, free: 9.566 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.593, allocations: 0 / 0.6133 GB, free: 9.566 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003071/0.5933, allocations: 0 / 0.6133 GB, free: 9.566 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01093/0.6042, allocations: 3.428 MB / 0.6167 GB, free: 7.316 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.6043, allocations: 9.312 kB / 0.6167 GB, free: 7.316 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005588/0.6099, allocations: 0.7698 MB / 0.6174 GB, free: 6.957 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007352/0.6173, allocations: 2.371 MB / 0.6197 GB, free: 5.422 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002302/0.6175, allocations: 275.6 kB / 0.62 GB, free: 5.301 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001595/0.6191, allocations: 374 kB / 0.6204 GB, free: 5.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.632, allocations: 5.94 MB / 0.6262 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.6321, allocations: 15.16 kB / 0.6262 GB, free: 1.441 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004128/0.6326, allocations: 157.4 kB / 0.6263 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005697/0.6331, allocations: 281.1 kB / 0.6266 GB, free: 1.262 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009546/0.6427, allocations: 4.496 MB / 0.631 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03632/0.6791, allocations: 27.69 MB / 0.658 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.6808, allocations: 1.115 MB / 0.6591 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.367e-05/0.6809, allocations: 9 kB / 0.6591 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.212e-05/0.681, allocations: 47.56 kB / 0.6592 GB, free: 13.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=110): time 3.556e-06/0.681, allocations: 7.938 kB / 0.6592 GB, free: 13.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=131): time 0.0224/0.7034, allocations: 9.67 MB / 0.6686 GB, free: 3.676 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.7035, allocations: 64.72 kB / 0.6687 GB, free: 3.598 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/0.7062, allocations: 1.482 MB / 0.6701 GB, free: 2.117 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.7064, allocations: 45.7 kB / 0.6702 GB, free: 2.066 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.7078, allocations: 1.664 MB / 0.6718 GB, free: 392 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005466/0.7084, allocations: 469.1 kB / 0.6722 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.7085, allocations: 40 kB / 0.6723 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002884/0.7088, allocations: 381.7 kB / 0.6726 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.7106, allocations: 0.9096 MB / 0.6735 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/0.7126, allocations: 1.445 MB / 0.6749 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001939/0.7146, allocations: 1.15 MB / 0.6761 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/0.7146, allocations: 4 kB / 0.6761 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006161/0.7207, allocations: 3.274 MB / 0.6793 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.7208, allocations: 12 kB / 0.6793 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.7208, allocations: 16.88 kB / 0.6793 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002228/0.7231, allocations: 0.7451 MB / 0.68 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.7247, allocations: 387.3 kB / 0.6804 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01578/0.7405, allocations: 16.02 MB / 0.696 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.7427, allocations: 99.91 kB / 0.6961 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004023/0.7432, allocations: 79.94 kB / 0.6962 GB, free: 5.883 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003922/0.7471, allocations: 1.315 MB / 0.6975 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007985/0.7479, allocations: 205.6 kB / 0.6977 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005653/0.7536, allocations: 2.78 MB / 0.7004 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.7536, allocations: 12 kB / 0.7004 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-05/0.7537, allocations: 11.95 kB / 0.7004 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.7537, allocations: 3.984 kB / 0.7004 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.7669, allocations: 6.204 MB / 0.7065 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.767, allocations: 4.656 kB / 0.7065 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.7681, allocations: 235.6 kB / 0.7067 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001987/0.7702, allocations: 0.6751 MB / 0.7074 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/0.7703, allocations: 35.98 kB / 0.7074 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01677/0.7871, allocations: 15.77 MB / 0.7228 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.7872, allocations: 7.953 kB / 0.7228 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007475/0.7946, allocations: 4.34 MB / 0.7271 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001572/0.7963, allocations: 454.7 kB / 0.7275 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007025/0.797, allocations: 39.98 kB / 0.7275 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/0.7984, allocations: 79.89 kB / 0.7276 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003734/0.7988, allocations: 112.8 kB / 0.7277 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.799, allocations: 40 kB / 0.7278 GB, free: 3.922 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001835/0.8008, allocations: 0.9786 MB / 0.7287 GB, free: 2.953 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8008, allocations: 0 / 0.7287 GB, free: 2.953 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003354/0.8042, allocations: 0.6874 MB / 0.7294 GB, free: 2.266 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003466/0.8045, allocations: 156 kB / 0.7295 GB, free: 2.102 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005453/0.81, allocations: 3.495 MB / 0.733 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.81, allocations: 0 / 0.733 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003213/0.8132, allocations: 2.287 MB / 0.7352 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003405/0.8167, allocations: 0.6034 MB / 0.7358 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.8315, allocations: 7.822 MB / 0.7434 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004089/0.8356, allocations: 2.734 MB / 0.7461 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001937/0.8376, allocations: 477.4 kB / 0.7465 GB, free: 364 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004285/0.838, allocations: 127.4 kB / 0.7467 GB, free: 236 kB / 0.5606 GB Notification: Performance of SimCode: time 1.513e-06/0.838, allocations: 4 kB / 0.7467 GB, free: 232 kB / 0.5606 GB Notification: Performance of Templates: time 0.0615/0.8995, allocations: 31.16 MB / 0.7771 GB, free: 1.586 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)