Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 115.4 kB / 17.08 MB, free: 6.012 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.001802/0.001802, allocations: 196.1 kB / 18.02 MB, free: 5.094 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.693/1.693, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7444/0.7444, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.5 kB / 0.5584 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1582, allocations: 76.18 MB / 0.6328 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02821/0.1864, allocations: 26.64 MB / 0.6588 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01364/0.2001, allocations: 8.094 MB / 0.6667 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002827/0.203, allocations: 115.4 kB / 0.6668 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007387/0.2104, allocations: 2.749 MB / 0.6695 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004925/0.2154, allocations: 1.586 MB / 0.671 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004553/0.22, allocations: 1.679 MB / 0.6727 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007772/0.2277, allocations: 6.138 MB / 0.6787 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008611/0.2364, allocations: 7.304 MB / 0.6858 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004266/0.2407, allocations: 2.613 MB / 0.6883 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004481/0.2452, allocations: 2.835 MB / 0.6911 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001171/0.2464, allocations: 0.5117 MB / 0.6916 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002994/0.2494, allocations: 1.287 MB / 0.6929 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002282/0.2517, allocations: 2.047 MB / 0.6949 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003234/0.255, allocations: 2.381 MB / 0.6972 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008193/0.2632, allocations: 8.055 MB / 0.7051 GB, free: 10.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.2632, allocations: 0 / 0.7051 GB, free: 10.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.095e-06/0.2632, allocations: 4 kB / 0.7051 GB, free: 10.08 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001916/0.2634, allocations: 0 / 0.7051 GB, free: 10.08 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.008747/0.2722, allocations: 4.235 MB / 0.7092 GB, free: 5.781 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2722, allocations: 12.03 kB / 0.7092 GB, free: 5.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004463/0.2767, allocations: 0.7962 MB / 0.71 GB, free: 4.969 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004626/0.2814, allocations: 2.577 MB / 0.7125 GB, free: 2.336 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.2816, allocations: 279.6 kB / 0.7128 GB, free: 2.062 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000852/0.2824, allocations: 380.5 kB / 0.7131 GB, free: 1.691 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.2928, allocations: 5.988 MB / 0.719 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-05/0.2929, allocations: 23.78 kB / 0.719 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003987/0.2933, allocations: 156 kB / 0.7191 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000606/0.2939, allocations: 282.9 kB / 0.7194 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007608/0.3016, allocations: 4.524 MB / 0.7238 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02897/0.3306, allocations: 27.46 MB / 0.7506 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/0.3333, allocations: 1.119 MB / 0.7517 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002289/0.3357, allocations: 1.02 MB / 0.7527 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.3358, allocations: 13 kB / 0.7527 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/0.3359, allocations: 47.56 kB / 0.7528 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=110): time 4.86e-06/0.3359, allocations: 0 / 0.7528 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.3942/0.7301, allocations: 9.653 MB / 0.7622 GB, free: 114.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.7302, allocations: 67 kB / 0.7623 GB, free: 114.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/0.7327, allocations: 1.498 MB / 0.7637 GB, free: 113.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002323/0.733, allocations: 52.08 kB / 0.7638 GB, free: 113.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.7342, allocations: 1.664 MB / 0.7654 GB, free: 112.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004516/0.7346, allocations: 473.5 kB / 0.7659 GB, free: 112 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005829/0.7352, allocations: 329.2 kB / 0.7662 GB, free: 111.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.34e-05/0.7353, allocations: 303.6 kB / 0.7665 GB, free: 111.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/0.7369, allocations: 0.9176 MB / 0.7674 GB, free: 111.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.7386, allocations: 1.463 MB / 0.7688 GB, free: 110.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/0.7417, allocations: 2.548 MB / 0.7713 GB, free: 108.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.7417, allocations: 5.094 kB / 0.7713 GB, free: 108.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007151/0.7489, allocations: 3.29 MB / 0.7745 GB, free: 107.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/0.749, allocations: 12.72 kB / 0.7745 GB, free: 107.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.904e-05/0.749, allocations: 17.03 kB / 0.7745 GB, free: 107.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002512/0.7516, allocations: 0.735 MB / 0.7753 GB, free: 107.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.7533, allocations: 383.8 kB / 0.7756 GB, free: 107 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/0.767, allocations: 17.05 MB / 0.7923 GB, free: 92.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/0.769, allocations: 99.88 kB / 0.7924 GB, free: 92.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.7692, allocations: 73.42 kB / 0.7924 GB, free: 92.36 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002116/0.7713, allocations: 1.309 MB / 0.7937 GB, free: 91.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004311/0.7717, allocations: 208 kB / 0.7939 GB, free: 91.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004328/0.7761, allocations: 2.786 MB / 0.7966 GB, free: 90.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.7761, allocations: 19.69 kB / 0.7967 GB, free: 90.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.7761, allocations: 3.969 kB / 0.7967 GB, free: 90.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.7761, allocations: 9.047 kB / 0.7967 GB, free: 90.46 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008882/0.785, allocations: 6.21 MB / 0.8027 GB, free: 86.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.7851, allocations: 8.562 kB / 0.8027 GB, free: 86.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.7862, allocations: 234 kB / 0.803 GB, free: 86.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/0.788, allocations: 0.669 MB / 0.8036 GB, free: 86.45 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.7881, allocations: 39.12 kB / 0.8037 GB, free: 86.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/0.7993, allocations: 16.78 MB / 0.82 GB, free: 69.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.7994, allocations: 4 kB / 0.82 GB, free: 69.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005363/0.8047, allocations: 4.006 MB / 0.824 GB, free: 65.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009607/0.8057, allocations: 456.8 kB / 0.8244 GB, free: 65.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002764/0.806, allocations: 28.12 kB / 0.8244 GB, free: 65.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009279/0.8069, allocations: 91.89 kB / 0.8245 GB, free: 65.19 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/0.8072, allocations: 112.7 kB / 0.8246 GB, free: 65.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-05/0.8073, allocations: 43.7 kB / 0.8247 GB, free: 65.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001131/0.8085, allocations: 0.9942 MB / 0.8256 GB, free: 64.05 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8085, allocations: 4 kB / 0.8256 GB, free: 64.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002397/0.8109, allocations: 0.6875 MB / 0.8263 GB, free: 63.36 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002471/0.8111, allocations: 151 kB / 0.8264 GB, free: 63.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004436/0.8156, allocations: 3.509 MB / 0.8299 GB, free: 59.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.8156, allocations: 4.875 kB / 0.8299 GB, free: 59.58 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.8182, allocations: 2.296 MB / 0.8321 GB, free: 57.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/0.8213, allocations: 0.6731 MB / 0.8328 GB, free: 56.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009969/0.8313, allocations: 6.955 MB / 0.8396 GB, free: 49.53 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002114/0.8334, allocations: 2.721 MB / 0.8422 GB, free: 46.78 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005857/0.834, allocations: 131.4 kB / 0.8423 GB, free: 46.65 MB / 0.5919 GB Notification: Performance of SimCode: time 1.052e-06/0.834, allocations: 0 / 0.8423 GB, free: 46.65 MB / 0.5919 GB Notification: Performance of Templates: time 0.551/1.385, allocations: 209.9 MB / 1.047 GB, free: 261.4 MB / 0.7481 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)