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.001228/0.001228, allocations: 108.6 kB / 16.41 MB, free: 6.469 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.001319/0.001319, allocations: 189.2 kB / 17.34 MB, free: 5.75 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.327/1.327, allocations: 222.9 MB / 241 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.7515/0.7515, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 62.8 kB / 0.5685 GB, free: 28.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.151, allocations: 77.94 MB / 0.6446 GB, free: 8.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04463/0.1957, allocations: 41.18 MB / 0.6848 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02743/0.2232, allocations: 15.08 MB / 0.6996 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004924/0.2282, allocations: 187.1 kB / 0.6997 GB, free: 372 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01264/0.2408, allocations: 4.453 MB / 0.7041 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008443/0.2493, allocations: 2.798 MB / 0.7068 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008841/0.2582, allocations: 3.162 MB / 0.7099 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0149/0.2731, allocations: 11.42 MB / 0.7211 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01745/0.2906, allocations: 12.45 MB / 0.7332 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007212/0.2978, allocations: 4.802 MB / 0.7379 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008121/0.306, allocations: 5.397 MB / 0.7432 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002544/0.3086, allocations: 0.9531 MB / 0.7441 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005273/0.3139, allocations: 2.033 MB / 0.7461 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.3932/0.7071, allocations: 3.688 MB / 0.7497 GB, free: 30.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01081/0.7179, allocations: 4.298 MB / 0.7539 GB, free: 30.33 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02649/0.7445, allocations: 14.32 MB / 0.7679 GB, free: 28.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.7445, allocations: 1.5 kB / 0.7679 GB, free: 28.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.173e-06/0.7446, allocations: 0 / 0.7679 GB, free: 28.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.001153/0.7457, allocations: 3.938 kB / 0.7679 GB, free: 28.91 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.03599/0.7817, allocations: 7.785 MB / 0.7755 GB, free: 26.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.7818, allocations: 13.3 kB / 0.7755 GB, free: 26.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01404/0.7959, allocations: 1.554 MB / 0.777 GB, free: 25.63 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.8093, allocations: 4.467 MB / 0.7814 GB, free: 24.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007555/0.8101, allocations: 458.5 kB / 0.7818 GB, free: 24.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005016/0.8151, allocations: 0.5943 MB / 0.7824 GB, free: 24.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03024/0.8454, allocations: 10.69 MB / 0.7928 GB, free: 20.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002343/0.8457, allocations: 33.06 kB / 0.7929 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001805/0.8475, allocations: 262.5 kB / 0.7931 GB, free: 20.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00276/0.8502, allocations: 0.7702 MB / 0.7939 GB, free: 20.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0191/0.8694, allocations: 8.569 MB / 0.8022 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07438/0.9438, allocations: 46.61 MB / 0.8477 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007634/0.9514, allocations: 4.312 MB / 0.852 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007223/0.9587, allocations: 3.712 MB / 0.8556 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003974/0.9592, allocations: 37.59 kB / 0.8556 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.084e-05/0.9592, allocations: 73.34 kB / 0.8557 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=353): time 5.961e-06/0.9593, allocations: 4 kB / 0.8557 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=578): time 0.5536/1.513, allocations: 122.9 MB / 0.9757 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/1.513, allocations: 115.9 kB / 0.9758 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004512/1.518, allocations: 2.685 MB / 0.9784 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001329/1.519, allocations: 121.7 kB / 0.9785 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002078/1.521, allocations: 2.748 MB / 0.9812 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.003415/1.524, allocations: 2.055 MB / 0.9832 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00224/1.527, allocations: 0.9251 MB / 0.9841 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001996/1.527, allocations: 305.1 kB / 0.9844 GB, free: 8.625 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006913/1.534, allocations: 4.075 MB / 0.9884 GB, free: 4.543 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008218/1.542, allocations: 5.02 MB / 0.9933 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01578/1.558, allocations: 9.849 MB / 1.003 GB, free: 5.078 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.496e-05/1.558, allocations: 8 kB / 1.003 GB, free: 5.07 MB / 0.7637 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04251/1.6, allocations: 17.02 MB / 1.02 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/1.601, allocations: 12 kB / 1.02 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.824e-05/1.601, allocations: 24 kB / 1.02 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03329/1.634, allocations: 9.081 MB / 1.028 GB, free: 11.15 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/1.637, allocations: 0.5264 MB / 1.029 GB, free: 10.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4621/2.099, allocations: 77.04 MB / 1.104 GB, free: 252.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006993/2.106, allocations: 281.7 kB / 1.104 GB, free: 252.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001463/2.107, allocations: 187.7 kB / 1.105 GB, free: 252 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.005869/2.113, allocations: 2.424 MB / 1.107 GB, free: 250 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/2.114, allocations: 496.3 kB / 1.108 GB, free: 249.7 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03431/2.149, allocations: 16.83 MB / 1.124 GB, free: 235.7 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.407e-05/2.149, allocations: 56 kB / 1.124 GB, free: 235.6 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001932/2.149, allocations: 72 kB / 1.124 GB, free: 235.6 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001113/2.149, allocations: 27.89 kB / 1.124 GB, free: 235.6 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.049/2.198, allocations: 25.65 MB / 1.149 GB, free: 209.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.699e-05/2.198, allocations: 8 kB / 1.149 GB, free: 209.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00202/2.2, allocations: 319.5 kB / 1.149 GB, free: 209.4 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0271/2.227, allocations: 8.273 MB / 1.158 GB, free: 201 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001197/2.229, allocations: 100 kB / 1.158 GB, free: 200.9 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08348/2.312, allocations: 73.91 MB / 1.23 GB, free: 125.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/2.312, allocations: 11.94 kB / 1.23 GB, free: 125.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03857/2.351, allocations: 21.59 MB / 1.251 GB, free: 103.6 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003237/2.354, allocations: 1.373 MB / 1.252 GB, free: 102.2 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008623/2.355, allocations: 121.5 kB / 1.252 GB, free: 102.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003172/2.358, allocations: 291.6 kB / 1.253 GB, free: 101.8 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001705/2.36, allocations: 0.5212 MB / 1.253 GB, free: 101.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003822/2.36, allocations: 143.9 kB / 1.253 GB, free: 101.1 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002052/2.362, allocations: 1.776 MB / 1.255 GB, free: 99.34 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/2.362, allocations: 0 / 1.255 GB, free: 99.34 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.007005/2.369, allocations: 2.469 MB / 1.257 GB, free: 96.87 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.0006042/2.37, allocations: 238.5 kB / 1.258 GB, free: 96.64 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02321/2.393, allocations: 14.58 MB / 1.272 GB, free: 81.88 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-05/2.393, allocations: 1 kB / 1.272 GB, free: 81.88 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01598/2.409, allocations: 9.393 MB / 1.281 GB, free: 72.34 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006999/2.416, allocations: 1.38 MB / 1.282 GB, free: 71.01 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02458/2.441, allocations: 15.77 MB / 1.298 GB, free: 55.13 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006159/2.447, allocations: 4.897 MB / 1.303 GB, free: 50.19 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002767/2.45, allocations: 0.741 MB / 1.303 GB, free: 49.44 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006443/2.45, allocations: 199.4 kB / 1.304 GB, free: 49.25 MB / 0.795 GB Notification: Performance of SimCode: time 6.41e-07/2.45, allocations: 3.938 kB / 1.304 GB, free: 49.24 MB / 0.795 GB Notification: Performance of Templates: time 0.5821/3.032, allocations: 147 MB / 1.447 GB, free: 202 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)