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.001291/0.001291, allocations: 113.3 kB / 17.08 MB, free: 5.941 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.001358/0.001358, allocations: 197.9 kB / 18.02 MB, free: 5.027 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.262/1.262, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6883/0.6883, allocations: 115.3 MB / 407.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 72.36 kB / 0.5584 GB, free: 32.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1344, allocations: 76.17 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02819/0.1626, allocations: 26.65 MB / 0.6588 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01339/0.176, allocations: 8.078 MB / 0.6667 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002345/0.1784, allocations: 119.4 kB / 0.6668 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00682/0.1853, allocations: 2.772 MB / 0.6695 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004297/0.1896, allocations: 1.656 MB / 0.6711 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004166/0.1938, allocations: 1.677 MB / 0.6727 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007223/0.201, allocations: 6.161 MB / 0.6788 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009853/0.2109, allocations: 7.304 MB / 0.6859 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004612/0.2155, allocations: 2.621 MB / 0.6884 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004947/0.2205, allocations: 2.827 MB / 0.6912 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001542/0.2221, allocations: 0.5078 MB / 0.6917 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003432/0.2255, allocations: 1.283 MB / 0.693 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00306/0.2286, allocations: 2.047 MB / 0.695 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00473/0.2333, allocations: 2.389 MB / 0.6973 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009887/0.2433, allocations: 8.055 MB / 0.7052 GB, free: 9.949 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2433, allocations: 7.922 kB / 0.7052 GB, free: 9.941 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2433, allocations: 0 / 0.7052 GB, free: 9.941 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002637/0.2436, allocations: 0 / 0.7052 GB, free: 9.941 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.009139/0.2527, allocations: 4.228 MB / 0.7093 GB, free: 5.648 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2528, allocations: 12.03 kB / 0.7093 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004073/0.2568, allocations: 0.7962 MB / 0.7101 GB, free: 4.836 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004161/0.261, allocations: 2.577 MB / 0.7126 GB, free: 2.203 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.2612, allocations: 271.7 kB / 0.7129 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006597/0.2619, allocations: 376.5 kB / 0.7132 GB, free: 1.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009022/0.2709, allocations: 5.996 MB / 0.7191 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.766e-05/0.2711, allocations: 23.81 kB / 0.7191 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003539/0.2714, allocations: 159.9 kB / 0.7192 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005693/0.272, allocations: 282.9 kB / 0.7195 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007748/0.2798, allocations: 4.524 MB / 0.7239 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02924/0.309, allocations: 27.46 MB / 0.7507 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.3108, allocations: 1.116 MB / 0.7518 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.3122, allocations: 1.023 MB / 0.7528 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.188e-05/0.3123, allocations: 9 kB / 0.7528 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.3123, allocations: 51.56 kB / 0.7529 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=110): time 3.186e-06/0.3123, allocations: 0 / 0.7529 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.2975/0.6098, allocations: 9.649 MB / 0.7623 GB, free: 114.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.6098, allocations: 69.5 kB / 0.7624 GB, free: 114.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/0.6119, allocations: 1.5 MB / 0.7638 GB, free: 113.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.612, allocations: 47.77 kB / 0.7639 GB, free: 113.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000849/0.6129, allocations: 1.667 MB / 0.7655 GB, free: 112.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00031/0.6132, allocations: 469.4 kB / 0.766 GB, free: 111.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004804/0.6137, allocations: 330.9 kB / 0.7663 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.976e-05/0.6138, allocations: 306.9 kB / 0.7666 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.6151, allocations: 0.9118 MB / 0.7675 GB, free: 111.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.6165, allocations: 1.47 MB / 0.7689 GB, free: 110.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002637/0.6191, allocations: 2.543 MB / 0.7714 GB, free: 108.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.6191, allocations: 4.969 kB / 0.7714 GB, free: 108.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006011/0.6252, allocations: 3.287 MB / 0.7746 GB, free: 107.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.6252, allocations: 12.91 kB / 0.7746 GB, free: 107.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.395e-05/0.6252, allocations: 17.22 kB / 0.7746 GB, free: 107.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002213/0.6275, allocations: 0.7367 MB / 0.7753 GB, free: 106.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.6289, allocations: 384.6 kB / 0.7757 GB, free: 106.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/0.6408, allocations: 17.06 MB / 0.7924 GB, free: 92.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.6425, allocations: 105.2 kB / 0.7925 GB, free: 92.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.6426, allocations: 75.38 kB / 0.7925 GB, free: 92.22 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.001699/0.6443, allocations: 1.307 MB / 0.7938 GB, free: 91.62 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/0.6445, allocations: 215.7 kB / 0.794 GB, free: 91.51 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/0.6485, allocations: 2.779 MB / 0.7967 GB, free: 90.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.6485, allocations: 15.78 kB / 0.7968 GB, free: 90.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.6485, allocations: 7.875 kB / 0.7968 GB, free: 90.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.6485, allocations: 7.547 kB / 0.7968 GB, free: 90.33 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007644/0.6562, allocations: 6.211 MB / 0.8028 GB, free: 86.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.6562, allocations: 12 kB / 0.8028 GB, free: 86.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.6572, allocations: 229.2 kB / 0.8031 GB, free: 86.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/0.6589, allocations: 0.6679 MB / 0.8037 GB, free: 86.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.83e-05/0.659, allocations: 31.42 kB / 0.8037 GB, free: 86.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/0.6694, allocations: 16.78 MB / 0.8201 GB, free: 69.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.6695, allocations: 11.94 kB / 0.8201 GB, free: 69.74 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005567/0.675, allocations: 4.004 MB / 0.8241 GB, free: 65.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000984/0.6761, allocations: 454.5 kB / 0.8245 GB, free: 65.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/0.6763, allocations: 36 kB / 0.8245 GB, free: 65.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008949/0.6772, allocations: 83.89 kB / 0.8246 GB, free: 65.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000277/0.6775, allocations: 116.1 kB / 0.8247 GB, free: 64.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.055e-05/0.6776, allocations: 44 kB / 0.8248 GB, free: 64.89 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001023/0.6786, allocations: 0.9942 MB / 0.8257 GB, free: 63.91 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6786, allocations: 0 / 0.8257 GB, free: 63.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00202/0.6806, allocations: 0.6836 MB / 0.8264 GB, free: 63.22 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.0002085/0.6808, allocations: 155.5 kB / 0.8265 GB, free: 63.06 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003826/0.6847, allocations: 3.516 MB / 0.83 GB, free: 59.44 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.778e-06/0.6847, allocations: 4.25 kB / 0.83 GB, free: 59.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002312/0.687, allocations: 2.29 MB / 0.8322 GB, free: 57.03 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/0.6895, allocations: 0.6727 MB / 0.8329 GB, free: 56.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008491/0.698, allocations: 6.959 MB / 0.8397 GB, free: 49.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00188/0.6999, allocations: 2.719 MB / 0.8423 GB, free: 46.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/0.7004, allocations: 131.4 kB / 0.8424 GB, free: 46.51 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.7004, allocations: 0 / 0.8424 GB, free: 46.51 MB / 0.5919 GB Notification: Performance of Templates: time 0.4234/1.124, 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)