Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 108.2 kB / 16.41 MB, free: 6.504 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.001348/0.001348, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6895/0.6895, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 64.98 kB / 0.5577 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1245, allocations: 76.19 MB / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04069/0.1652, allocations: 41.15 MB / 0.6723 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02459/0.1899, allocations: 15.1 MB / 0.687 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003743/0.1936, allocations: 187.1 kB / 0.6872 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.2039, allocations: 4.468 MB / 0.6916 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007659/0.2115, allocations: 2.79 MB / 0.6943 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007434/0.219, allocations: 3.152 MB / 0.6974 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01336/0.2324, allocations: 11.42 MB / 0.7085 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01625/0.2486, allocations: 12.45 MB / 0.7207 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006852/0.2555, allocations: 4.911 MB / 0.7255 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008053/0.2636, allocations: 5.39 MB / 0.7307 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00254/0.2661, allocations: 0.9531 MB / 0.7317 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005113/0.2713, allocations: 2.033 MB / 0.7337 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004839/0.2761, allocations: 3.695 MB / 0.7373 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005956/0.2821, allocations: 4.299 MB / 0.7415 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3279/0.61, allocations: 14.27 MB / 0.7554 GB, free: 39.72 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.61, allocations: 2.938 kB / 0.7554 GB, free: 39.72 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.615e-06/0.61, allocations: 0 / 0.7554 GB, free: 39.72 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004642/0.6105, allocations: 0 / 0.7554 GB, free: 39.72 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02462/0.6351, allocations: 7.606 MB / 0.7628 GB, free: 37.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.6352, allocations: 11.19 kB / 0.7628 GB, free: 37.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.6462, allocations: 1.515 MB / 0.7643 GB, free: 36.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/0.6567, allocations: 4.446 MB / 0.7687 GB, free: 35.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002902/0.657, allocations: 456 kB / 0.7691 GB, free: 35.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00214/0.6592, allocations: 0.5936 MB / 0.7697 GB, free: 35.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01833/0.6775, allocations: 10.69 MB / 0.7801 GB, free: 34.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001468/0.6777, allocations: 36.45 kB / 0.7801 GB, free: 34.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000746/0.6784, allocations: 262.1 kB / 0.7804 GB, free: 34.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002758/0.6812, allocations: 0.7712 MB / 0.7812 GB, free: 34.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01333/0.6945, allocations: 8.558 MB / 0.7895 GB, free: 32.33 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04728/0.7419, allocations: 46.54 MB / 0.835 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005571/0.7475, allocations: 4.313 MB / 0.8392 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004809/0.7523, allocations: 3.717 MB / 0.8428 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/0.7525, allocations: 39.88 kB / 0.8428 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.995e-05/0.7526, allocations: 73.34 kB / 0.8429 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=353): time 5.23e-06/0.7526, allocations: 3.562 kB / 0.8429 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=578): time 0.4798/1.232, allocations: 122.8 MB / 0.9628 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/1.233, allocations: 111.9 kB / 0.9629 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00362/1.236, allocations: 2.689 MB / 0.9655 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008867/1.237, allocations: 121.7 kB / 0.9656 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00165/1.239, allocations: 2.679 MB / 0.9683 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001895/1.241, allocations: 1.956 MB / 0.9702 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001721/1.242, allocations: 0.9273 MB / 0.9711 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.986e-05/1.242, allocations: 301.1 kB / 0.9714 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005506/1.248, allocations: 4.083 MB / 0.9754 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006804/1.255, allocations: 5.015 MB / 0.9803 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01272/1.268, allocations: 9.848 MB / 0.9899 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.756e-05/1.268, allocations: 8 kB / 0.9899 GB, free: 8.262 MB / 0.7481 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.0358/1.303, allocations: 17 MB / 1.006 GB, free: 7.523 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/1.303, allocations: 12 kB / 1.006 GB, free: 7.512 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.863e-05/1.303, allocations: 24 kB / 1.007 GB, free: 7.488 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03054/1.334, allocations: 9.08 MB / 1.015 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003175/1.337, allocations: 0.5311 MB / 1.016 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4238/1.761, allocations: 76.96 MB / 1.091 GB, free: 272 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004981/1.766, allocations: 283.9 kB / 1.091 GB, free: 271.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000519/1.767, allocations: 189.5 kB / 1.091 GB, free: 271.9 MB / 0.795 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003853/1.77, allocations: 2.424 MB / 1.094 GB, free: 270.8 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009467/1.771, allocations: 471.1 kB / 1.094 GB, free: 270.8 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03153/1.803, allocations: 16.82 MB / 1.111 GB, free: 261.9 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.041e-05/1.803, allocations: 58.81 kB / 1.111 GB, free: 261.9 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001818/1.803, allocations: 68.88 kB / 1.111 GB, free: 261.8 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001067/1.803, allocations: 25.59 kB / 1.111 GB, free: 261.8 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04483/1.848, allocations: 25.66 MB / 1.136 GB, free: 237.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.854e-05/1.848, allocations: 4 kB / 1.136 GB, free: 237.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/1.85, allocations: 320.2 kB / 1.136 GB, free: 237 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0237/1.874, allocations: 8.273 MB / 1.144 GB, free: 228.7 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006649/1.874, allocations: 108.2 kB / 1.144 GB, free: 228.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07659/1.951, allocations: 73.83 MB / 1.217 GB, free: 153.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.951, allocations: 11.94 kB / 1.217 GB, free: 153.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03362/1.985, allocations: 21.56 MB / 1.238 GB, free: 131.6 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003023/1.988, allocations: 1.366 MB / 1.239 GB, free: 130.2 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009354/1.989, allocations: 105.2 kB / 1.239 GB, free: 130.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003147/1.992, allocations: 291.6 kB / 1.239 GB, free: 129.8 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001663/1.993, allocations: 0.5182 MB / 1.24 GB, free: 129.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003532/1.994, allocations: 140 kB / 1.24 GB, free: 129.1 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001956/1.996, allocations: 1.78 MB / 1.242 GB, free: 127.4 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/1.996, allocations: 0 / 1.242 GB, free: 127.4 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.007506/2.003, allocations: 2.465 MB / 1.244 GB, free: 124.9 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000684/2.004, allocations: 246.2 kB / 1.244 GB, free: 124.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02018/2.024, allocations: 14.53 MB / 1.259 GB, free: 109.9 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/2.024, allocations: 4.312 kB / 1.259 GB, free: 109.9 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01443/2.039, allocations: 9.362 MB / 1.268 GB, free: 100.4 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005697/2.044, allocations: 1.379 MB / 1.269 GB, free: 99.12 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02245/2.067, allocations: 15.57 MB / 1.284 GB, free: 83.49 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004678/2.072, allocations: 4.9 MB / 1.289 GB, free: 78.55 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002436/2.074, allocations: 0.741 MB / 1.29 GB, free: 77.8 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005266/2.075, allocations: 195.4 kB / 1.29 GB, free: 77.61 MB / 0.795 GB Notification: Performance of SimCode: time 7.52e-07/2.075, allocations: 0 / 1.29 GB, free: 77.61 MB / 0.795 GB Notification: Performance of Templates: time 0.4691/2.544, allocations: 147 MB / 1.433 GB, free: 232.6 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)