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.001283/0.001283, allocations: 118.5 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.001205/0.001205, allocations: 198.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.24/1.24, 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.6712/0.6712, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.56 kB / 0.5584 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1271, allocations: 76.18 MB / 0.6327 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02052/0.1477, allocations: 20.23 MB / 0.6525 GB, free: 84 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.158, allocations: 6.453 MB / 0.6588 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.1599, allocations: 91.5 kB / 0.6589 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005278/0.1653, allocations: 2.23 MB / 0.6611 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003269/0.1685, allocations: 1.252 MB / 0.6623 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003177/0.1717, allocations: 1.278 MB / 0.6635 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00528/0.177, allocations: 4.862 MB / 0.6683 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005997/0.1831, allocations: 5.602 MB / 0.6738 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003018/0.1861, allocations: 2.119 MB / 0.6758 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002883/0.189, allocations: 2.344 MB / 0.6781 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006111/0.1896, allocations: 428 kB / 0.6785 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.1914, allocations: 1.006 MB / 0.6795 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001387/0.1928, allocations: 1.665 MB / 0.6811 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002194/0.195, allocations: 1.914 MB / 0.683 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005849/0.2008, allocations: 6.513 MB / 0.6894 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2009, allocations: 0 / 0.6894 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2009, allocations: 3.938 kB / 0.6894 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001494/0.201, allocations: 0 / 0.6894 GB, free: 10.18 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.006888/0.2079, allocations: 3.46 MB / 0.6927 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.208, allocations: 8.031 kB / 0.6928 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003336/0.2113, allocations: 0.641 MB / 0.6934 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003625/0.215, allocations: 2.037 MB / 0.6954 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.2152, allocations: 226.3 kB / 0.6956 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006451/0.2158, allocations: 292.3 kB / 0.6959 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007572/0.2234, allocations: 4.894 MB / 0.7006 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-05/0.2235, allocations: 7.938 kB / 0.7006 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000297/0.2238, allocations: 132 kB / 0.7008 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004022/0.2242, allocations: 225.7 kB / 0.701 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00593/0.2301, allocations: 3.75 MB / 0.7047 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02016/0.2503, allocations: 21.41 MB / 0.7256 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.252, allocations: 1.304 MB / 0.7268 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.2534, allocations: 1.058 MB / 0.7279 GB, free: 416 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.525e-05/0.2534, allocations: 13 kB / 0.7279 GB, free: 400 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.2535, allocations: 43.56 kB / 0.7279 GB, free: 348 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 3.065e-06/0.2535, allocations: 0 / 0.7279 GB, free: 348 kB / 0.5606 GB Notification: Performance of matching and sorting (n=138): time 0.02237/0.2759, allocations: 8.664 MB / 0.7364 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.2759, allocations: 64.72 kB / 0.7364 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.2773, allocations: 1.13 MB / 0.7375 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.2774, allocations: 45.7 kB / 0.7376 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007398/0.2781, allocations: 1.3 MB / 0.7389 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/0.2785, allocations: 485 kB / 0.7393 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004265/0.2789, allocations: 291.3 kB / 0.7396 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.279, allocations: 309.1 kB / 0.7399 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.2802, allocations: 0.9135 MB / 0.7408 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.2817, allocations: 1.318 MB / 0.7421 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/0.2844, allocations: 2.43 MB / 0.7444 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.2845, allocations: 7.938 kB / 0.7445 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005605/0.2901, allocations: 3.463 MB / 0.7478 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.2901, allocations: 8 kB / 0.7478 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.2901, allocations: 12 kB / 0.7479 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002951/0.2931, allocations: 1.187 MB / 0.749 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008906/0.294, allocations: 259.5 kB / 0.7493 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3045/0.5985, allocations: 13.82 MB / 0.7628 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.5998, allocations: 89.33 kB / 0.7628 GB, free: 113 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.5999, allocations: 63.06 kB / 0.7629 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.001703/0.6016, allocations: 1.116 MB / 0.764 GB, free: 112.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003295/0.602, allocations: 163.8 kB / 0.7641 GB, free: 112.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005669/0.6077, allocations: 3.173 MB / 0.7672 GB, free: 111.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.6077, allocations: 15.03 kB / 0.7673 GB, free: 111.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.016e-05/0.6077, allocations: 12.12 kB / 0.7673 GB, free: 111.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.6077, allocations: 6.469 kB / 0.7673 GB, free: 111.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009811/0.6176, allocations: 6.247 MB / 0.7734 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.6176, allocations: 8.094 kB / 0.7734 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006137/0.6182, allocations: 148 kB / 0.7735 GB, free: 108.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002706/0.6209, allocations: 1.078 MB / 0.7746 GB, free: 108.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.958e-05/0.621, allocations: 30.03 kB / 0.7746 GB, free: 108.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01297/0.634, allocations: 13.53 MB / 0.7878 GB, free: 100.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.634, allocations: 7.906 kB / 0.7878 GB, free: 100.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004122/0.6382, allocations: 3.153 MB / 0.7909 GB, free: 98.78 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006434/0.6388, allocations: 428.6 kB / 0.7913 GB, free: 98.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.639, allocations: 35.14 kB / 0.7913 GB, free: 98.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007202/0.6398, allocations: 77.38 kB / 0.7914 GB, free: 98.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/0.6401, allocations: 125.6 kB / 0.7915 GB, free: 98.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-05/0.6401, allocations: 42.31 kB / 0.7916 GB, free: 98.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009205/0.6411, allocations: 0.7642 MB / 0.7923 GB, free: 97.97 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6411, allocations: 0 / 0.7923 GB, free: 97.97 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001808/0.6429, allocations: 0.6609 MB / 0.793 GB, free: 97.91 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.0001914/0.6431, allocations: 139.5 kB / 0.7931 GB, free: 97.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003648/0.6467, allocations: 3.137 MB / 0.7962 GB, free: 95.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6468, allocations: 4.531 kB / 0.7962 GB, free: 95.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002214/0.649, allocations: 1.956 MB / 0.7981 GB, free: 94.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.6509, allocations: 0.5037 MB / 0.7986 GB, free: 93.94 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006912/0.6578, allocations: 5.8 MB / 0.8042 GB, free: 88.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001599/0.6594, allocations: 2.382 MB / 0.8066 GB, free: 85.67 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.6598, allocations: 107.4 kB / 0.8067 GB, free: 85.57 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.6598, allocations: 0 / 0.8067 GB, free: 85.57 MB / 0.5919 GB Notification: Performance of Templates: time 0.05558/0.7154, allocations: 79.63 MB / 0.8844 GB, free: 6.055 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)