Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 115 kB / 17.09 MB, free: 5.988 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.001276/0.001276, allocations: 198.9 kB / 18.03 MB, free: 5.062 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.339/1.339, 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.7035/0.7035, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 66.03 kB / 0.5584 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1392, allocations: 76.18 MB / 0.6328 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0107/0.1499, allocations: 10.07 MB / 0.6426 GB, free: 10.28 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004894/0.1549, allocations: 3.182 MB / 0.6457 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004772/0.1554, allocations: 35.88 kB / 0.6457 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.1568, allocations: 0.5868 MB / 0.6463 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.1581, allocations: 0.7466 MB / 0.647 GB, free: 5.715 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.1595, allocations: 0.744 MB / 0.6478 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002571/0.162, allocations: 2.988 MB / 0.6507 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00243/0.1645, allocations: 2.594 MB / 0.6532 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.1659, allocations: 1.262 MB / 0.6544 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/0.1677, allocations: 1.562 MB / 0.656 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002972/0.168, allocations: 243.9 kB / 0.6562 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008395/0.1689, allocations: 0.4994 MB / 0.6567 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008106/0.1697, allocations: 1.068 MB / 0.6577 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000935/0.1706, allocations: 1.116 MB / 0.6588 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002947/0.1736, allocations: 3.681 MB / 0.6624 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1736, allocations: 0 / 0.6624 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1736, allocations: 0 / 0.6624 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.872e-05/0.1737, allocations: 0 / 0.6624 GB, free: 5.883 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003793/0.1775, allocations: 2.146 MB / 0.6645 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1775, allocations: 8.031 kB / 0.6645 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008913/0.1864, allocations: 1.313 MB / 0.6658 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002756/0.1892, allocations: 1.294 MB / 0.6671 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.169e-05/0.1893, allocations: 119.3 kB / 0.6672 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003348/0.1896, allocations: 144.3 kB / 0.6673 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005059/0.1947, allocations: 3.441 MB / 0.6707 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.1948, allocations: 4 kB / 0.6707 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002115/0.195, allocations: 63.97 kB / 0.6707 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000233/0.1952, allocations: 207.1 kB / 0.6709 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004711/0.1999, allocations: 3.135 MB / 0.674 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01651/0.2165, allocations: 13.54 MB / 0.6872 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/0.2188, allocations: 1.735 MB / 0.6889 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.2207, allocations: 1.436 MB / 0.6903 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.074e-05/0.2208, allocations: 13 kB / 0.6903 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.2208, allocations: 43.56 kB / 0.6904 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=104): time 3.516e-06/0.2208, allocations: 0 / 0.6904 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of matching and sorting (n=183): time 0.1455/0.3664, allocations: 36.69 MB / 0.7262 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.3665, allocations: 73.41 kB / 0.7263 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.3683, allocations: 1.053 MB / 0.7273 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003773/0.3686, allocations: 57.7 kB / 0.7274 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006207/0.3693, allocations: 0.7796 MB / 0.7281 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007664/0.3701, allocations: 0.6316 MB / 0.7287 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000896/0.371, allocations: 363.3 kB / 0.7291 GB, free: 296 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3711, allocations: 305.1 kB / 0.7294 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002701/0.3738, allocations: 1.928 MB / 0.7313 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003033/0.3768, allocations: 2.285 MB / 0.7335 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005914/0.3828, allocations: 4.394 MB / 0.7378 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.847e-05/0.3828, allocations: 4 kB / 0.7378 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.3594/0.7422, allocations: 9.019 MB / 0.7466 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.7423, allocations: 9.656 kB / 0.7466 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.7423, allocations: 10.05 kB / 0.7466 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.017/0.7593, allocations: 4.973 MB / 0.7515 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008715/0.7602, allocations: 195.5 kB / 0.7517 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04715/0.8074, allocations: 38.88 MB / 0.7896 GB, free: 76.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.8094, allocations: 107.9 kB / 0.7897 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.8096, allocations: 71.98 kB / 0.7898 GB, free: 76.73 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001046/0.8106, allocations: 0.7937 MB / 0.7906 GB, free: 75.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.8109, allocations: 142.2 kB / 0.7907 GB, free: 75.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01724/0.8282, allocations: 8.9 MB / 0.7994 GB, free: 66.85 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.126e-05/0.8283, allocations: 10.16 kB / 0.7994 GB, free: 66.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.8283, allocations: 0 / 0.7994 GB, free: 66.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/0.8296, allocations: 0.632 MB / 0.8 GB, free: 66.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003295/0.83, allocations: 32 kB / 0.8001 GB, free: 66.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.8312, allocations: 83.89 kB / 0.8001 GB, free: 66.08 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005979/0.8318, allocations: 313.9 kB / 0.8004 GB, free: 65.77 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01477/0.8466, allocations: 8.084 MB / 0.8083 GB, free: 57.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006153/0.8528, allocations: 6.432 MB / 0.8146 GB, free: 51.28 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001852/0.8547, allocations: 2.143 MB / 0.8167 GB, free: 49.14 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007875/0.8555, allocations: 0.7421 MB / 0.8174 GB, free: 48.39 MB / 0.5762 GB Notification: Performance of Backend: time 2.81e-07/0.8555, allocations: 0 / 0.8174 GB, free: 48.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007356/0.8629, allocations: 4.367 MB / 0.8217 GB, free: 44 MB / 0.5762 GB Notification: Performance of SimCode: time 0.005342/0.8683, allocations: 5.251 MB / 0.8268 GB, free: 38.74 MB / 0.5762 GB Notification: Performance of Templates: time 0.06597/0.9342, allocations: 54.1 MB / 0.8797 GB, free: 0.8438 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)