Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 111.2 kB / 17.04 MB, free: 6.055 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.001384/0.001384, allocations: 196 kB / 17.98 MB, free: 5.137 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.308/1.308, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7142/0.7142, allocations: 115.1 MB / 407 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3582, allocations: 76.14 MB / 0.5576 GB, free: 36.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02596/0.3842, allocations: 23.41 MB / 0.5804 GB, free: 20.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0126/0.3968, allocations: 6.481 MB / 0.5868 GB, free: 16.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003574/0.4004, allocations: 100 kB / 0.5869 GB, free: 16.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004179/0.4046, allocations: 1.489 MB / 0.5883 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006201/0.4109, allocations: 1.822 MB / 0.5901 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00456/0.4154, allocations: 1.455 MB / 0.5915 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01039/0.4258, allocations: 6.91 MB / 0.5983 GB, free: 9.531 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007782/0.4337, allocations: 6.95 MB / 0.6051 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004507/0.4382, allocations: 2.843 MB / 0.6078 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005498/0.4437, allocations: 3.478 MB / 0.6112 GB, free: 13.47 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001198/0.4449, allocations: 0.5273 MB / 0.6117 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.4479, allocations: 1.174 MB / 0.6129 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00282/0.4508, allocations: 2.46 MB / 0.6153 GB, free: 9.301 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003922/0.4547, allocations: 2.532 MB / 0.6178 GB, free: 6.758 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009004/0.4637, allocations: 8.522 MB / 0.6261 GB, free: 14.21 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.046e-06/0.4637, allocations: 0 / 0.6261 GB, free: 14.21 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4638, allocations: 3.938 kB / 0.6261 GB, free: 14.21 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001989/0.464, allocations: 0 / 0.6261 GB, free: 14.21 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.009532/0.4735, allocations: 4.428 MB / 0.6304 GB, free: 9.715 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.304e-05/0.4736, allocations: 12.03 kB / 0.6304 GB, free: 9.703 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008059/0.4817, allocations: 1.681 MB / 0.6321 GB, free: 8.016 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00738/0.4891, allocations: 2.7 MB / 0.6347 GB, free: 5.262 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/0.4894, allocations: 279.7 kB / 0.635 GB, free: 4.988 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/0.4906, allocations: 360.2 kB / 0.6353 GB, free: 4.637 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01458/0.5052, allocations: 7.479 MB / 0.6426 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.5054, allocations: 15.88 kB / 0.6426 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005632/0.5059, allocations: 159.9 kB / 0.6428 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006175/0.5066, allocations: 487.3 kB / 0.6433 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/0.5172, allocations: 5.697 MB / 0.6488 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0411/0.5583, allocations: 31.5 MB / 0.6796 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002874/0.5612, allocations: 2.095 MB / 0.6816 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002843/0.5641, allocations: 2.182 MB / 0.6838 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.5643, allocations: 25.17 kB / 0.6838 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/0.5643, allocations: 51.86 kB / 0.6838 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 3.637e-06/0.5643, allocations: 0 / 0.6838 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.518/1.082, allocations: 76.99 MB / 0.759 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/1.082, allocations: 76.88 kB / 0.7591 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/1.085, allocations: 1.668 MB / 0.7607 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003757/1.085, allocations: 62.67 kB / 0.7608 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008148/1.086, allocations: 1.75 MB / 0.7625 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006083/1.086, allocations: 0.853 MB / 0.7633 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009127/1.087, allocations: 484.7 kB / 0.7638 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.329e-05/1.087, allocations: 302.3 kB / 0.7641 GB, free: 156 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003215/1.091, allocations: 2.728 MB / 0.7667 GB, free: 155 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003599/1.094, allocations: 3.331 MB / 0.77 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007237/1.101, allocations: 6.398 MB / 0.7762 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-05/1.102, allocations: 5.156 kB / 0.7762 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02697/1.129, allocations: 14.69 MB / 0.7906 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/1.129, allocations: 12.88 kB / 0.7906 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/1.129, allocations: 18.06 kB / 0.7906 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02436/1.153, allocations: 9.23 MB / 0.7996 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/1.154, allocations: 303.4 kB / 0.7999 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06086/1.215, allocations: 52.33 MB / 0.851 GB, free: 80 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002729/1.218, allocations: 231.6 kB / 0.8512 GB, free: 79.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002483/1.218, allocations: 99.98 kB / 0.8513 GB, free: 79.68 MB / 0.5762 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002012/1.22, allocations: 1.582 MB / 0.8529 GB, free: 78.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/1.22, allocations: 246.5 kB / 0.8531 GB, free: 77.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02553/1.246, allocations: 14.75 MB / 0.8675 GB, free: 63.03 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/1.246, allocations: 27.94 kB / 0.8676 GB, free: 63 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.681e-05/1.246, allocations: 48 kB / 0.8676 GB, free: 62.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-05/1.246, allocations: 11.95 kB / 0.8676 GB, free: 62.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03376/1.28, allocations: 20.52 MB / 0.8876 GB, free: 42.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-05/1.28, allocations: 4 kB / 0.8877 GB, free: 42.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007021/1.281, allocations: 163.7 kB / 0.8878 GB, free: 42.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02414/1.305, allocations: 9 MB / 0.8966 GB, free: 33.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004437/1.305, allocations: 48 kB / 0.8966 GB, free: 33.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06608/1.371, allocations: 51.91 MB / 0.9473 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/1.371, allocations: 11.94 kB / 0.9473 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02908/1.401, allocations: 14.37 MB / 0.9614 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002539/1.403, allocations: 0.8455 MB / 0.9622 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000464/1.404, allocations: 55.84 kB / 0.9623 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/1.405, allocations: 211.7 kB / 0.9625 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001209/1.407, allocations: 237.5 kB / 0.9627 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000223/1.407, allocations: 68 kB / 0.9628 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001408/1.408, allocations: 1.126 MB / 0.9639 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/1.408, allocations: 0 / 0.9639 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004279/1.413, allocations: 1.617 MB / 0.9654 GB, free: 9.574 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003693/1.413, allocations: 159.1 kB / 0.9656 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02067/1.434, allocations: 10.56 MB / 0.9759 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.434, allocations: 0 / 0.9759 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01632/1.45, allocations: 7.3 MB / 0.983 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/1.453, allocations: 0.5634 MB / 0.9836 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2909/1.744, allocations: 8.69 MB / 0.9921 GB, free: 204 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004223/1.748, allocations: 3.223 MB / 0.9952 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001185/1.749, allocations: 386.8 kB / 0.9956 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/1.75, allocations: 97.41 kB / 0.9957 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of SimCode: time 9.01e-07/1.75, allocations: 1.5 kB / 0.9957 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.1104/1.86, allocations: 91.84 MB / 1.085 GB, free: 143.2 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)