Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 118.4 kB / 17.08 MB, free: 5.992 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.001182/0.001182, allocations: 197.9 kB / 18.02 MB, free: 5.066 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.373/1.373, allocations: 222.9 MB / 241.7 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.7376/0.7376, allocations: 115.3 MB / 407.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.00148, allocations: 66.41 kB / 0.5584 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1593, allocations: 76.18 MB / 0.6328 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02229/0.1817, allocations: 20.22 MB / 0.6525 GB, free: 80 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.1933, allocations: 6.453 MB / 0.6588 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/0.1961, allocations: 87.56 kB / 0.6589 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007152/0.2033, allocations: 2.234 MB / 0.6611 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004015/0.2074, allocations: 1.193 MB / 0.6622 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003719/0.2111, allocations: 1.281 MB / 0.6635 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006208/0.2173, allocations: 4.854 MB / 0.6682 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006843/0.2242, allocations: 5.595 MB / 0.6737 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004038/0.2283, allocations: 2.119 MB / 0.6758 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003862/0.2322, allocations: 2.34 MB / 0.678 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0009405/0.2331, allocations: 432 kB / 0.6785 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.2356, allocations: 1.006 MB / 0.6794 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001924/0.2376, allocations: 1.661 MB / 0.6811 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002835/0.2404, allocations: 1.918 MB / 0.6829 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006729/0.2471, allocations: 6.517 MB / 0.6893 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.2472, allocations: 0 / 0.6893 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.875e-06/0.2472, allocations: 3.984 kB / 0.6893 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001685/0.2474, allocations: 0 / 0.6893 GB, free: 10.24 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008232/0.2556, allocations: 3.456 MB / 0.6927 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.2557, allocations: 8.031 kB / 0.6927 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003518/0.2592, allocations: 0.641 MB / 0.6933 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004125/0.2634, allocations: 2.033 MB / 0.6953 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.2636, allocations: 226.3 kB / 0.6955 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006796/0.2642, allocations: 292.3 kB / 0.6958 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009365/0.2736, allocations: 4.898 MB / 0.7006 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-05/0.2738, allocations: 7.938 kB / 0.7006 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003876/0.2741, allocations: 128 kB / 0.7007 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005565/0.2747, allocations: 225.7 kB / 0.7009 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008671/0.2834, allocations: 3.762 MB / 0.7046 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02299/0.3064, allocations: 21.4 MB / 0.7255 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.3081, allocations: 1.304 MB / 0.7268 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.3095, allocations: 1.05 MB / 0.7278 GB, free: 492 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.773e-05/0.3095, allocations: 13 kB / 0.7278 GB, free: 476 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.3096, allocations: 51.55 kB / 0.7279 GB, free: 416 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 2.835e-06/0.3096, allocations: 0 / 0.7279 GB, free: 416 kB / 0.5606 GB Notification: Performance of matching and sorting (n=138): time 0.02371/0.3333, allocations: 8.653 MB / 0.7363 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.3334, allocations: 68.72 kB / 0.7364 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.3352, allocations: 1.13 MB / 0.7375 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.3354, allocations: 45.7 kB / 0.7375 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008158/0.3362, allocations: 1.307 MB / 0.7388 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004147/0.3366, allocations: 481 kB / 0.7392 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00045/0.3371, allocations: 295.3 kB / 0.7395 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.3372, allocations: 305.1 kB / 0.7398 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.3384, allocations: 0.9174 MB / 0.7407 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.3399, allocations: 1.326 MB / 0.742 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00288/0.3427, allocations: 2.426 MB / 0.7444 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.3428, allocations: 0 / 0.7444 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005845/0.3486, allocations: 3.464 MB / 0.7478 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.3487, allocations: 12 kB / 0.7478 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.3487, allocations: 12 kB / 0.7478 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003233/0.352, allocations: 1.185 MB / 0.7489 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009801/0.353, allocations: 259.6 kB / 0.7492 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3984/0.7514, allocations: 13.82 MB / 0.7627 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.753, allocations: 91.41 kB / 0.7628 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.7531, allocations: 64.03 kB / 0.7628 GB, free: 113 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002104/0.7552, allocations: 1.111 MB / 0.7639 GB, free: 112.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003844/0.7556, allocations: 168.2 kB / 0.7641 GB, free: 112.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006439/0.7621, allocations: 3.171 MB / 0.7672 GB, free: 111.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/0.7621, allocations: 13.28 kB / 0.7672 GB, free: 111.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.532e-05/0.7622, allocations: 12.47 kB / 0.7672 GB, free: 111.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.7622, allocations: 7.641 kB / 0.7672 GB, free: 111.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.7738, allocations: 6.251 MB / 0.7733 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/0.7739, allocations: 4.469 kB / 0.7733 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006819/0.7746, allocations: 148.4 kB / 0.7735 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003313/0.7779, allocations: 1.067 MB / 0.7745 GB, free: 108.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.7781, allocations: 34.66 kB / 0.7745 GB, free: 108.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01433/0.7924, allocations: 13.52 MB / 0.7877 GB, free: 100.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.7924, allocations: 7.906 kB / 0.7878 GB, free: 100.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004483/0.7969, allocations: 3.161 MB / 0.7908 GB, free: 98.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006937/0.7976, allocations: 425.2 kB / 0.7912 GB, free: 98.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/0.7978, allocations: 27.06 kB / 0.7913 GB, free: 98.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007707/0.7986, allocations: 83.64 kB / 0.7914 GB, free: 98.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003712/0.799, allocations: 125.4 kB / 0.7915 GB, free: 98.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.788e-05/0.7991, allocations: 42.11 kB / 0.7915 GB, free: 98.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008902/0.8, allocations: 0.7642 MB / 0.7923 GB, free: 98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8, allocations: 0 / 0.7923 GB, free: 98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002106/0.8021, allocations: 0.6588 MB / 0.7929 GB, free: 97.94 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002631/0.8024, allocations: 141.4 kB / 0.793 GB, free: 97.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004153/0.8065, allocations: 3.14 MB / 0.7961 GB, free: 95.99 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.8066, allocations: 0 / 0.7961 GB, free: 95.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00242/0.809, allocations: 1.959 MB / 0.798 GB, free: 94.43 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/0.8111, allocations: 0.5012 MB / 0.7985 GB, free: 93.97 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008051/0.8192, allocations: 5.803 MB / 0.8042 GB, free: 88.12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001826/0.8211, allocations: 2.393 MB / 0.8065 GB, free: 85.69 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003821/0.8215, allocations: 91.44 kB / 0.8066 GB, free: 85.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.142e-06/0.8215, allocations: 0 / 0.8066 GB, free: 85.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.06696/0.8884, allocations: 79.63 MB / 0.8844 GB, free: 6.074 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)