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.001535/0.001535, allocations: 105.4 kB / 16.52 MB, free: 6.27 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.001693/0.001693, allocations: 194.4 kB / 17.44 MB, free: 5.887 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.382/1.382, allocations: 222.9 MB / 241.1 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7265/0.7265, allocations: 115.3 MB / 406.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 59.91 kB / 493.6 MB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3777, allocations: 76.17 MB / 0.5564 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01992/0.3977, allocations: 20.09 MB / 0.576 GB, free: 21.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.4086, allocations: 6.431 MB / 0.5823 GB, free: 17.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002646/0.4113, allocations: 80 kB / 0.5824 GB, free: 17.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005046/0.4164, allocations: 2.086 MB / 0.5844 GB, free: 16.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003987/0.4204, allocations: 1.114 MB / 0.5855 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003392/0.4238, allocations: 1.168 MB / 0.5866 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008161/0.4319, allocations: 6.979 MB / 0.5934 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008273/0.4402, allocations: 6.177 MB / 0.5995 GB, free: 8.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002848/0.4431, allocations: 1.775 MB / 0.6012 GB, free: 6.699 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002576/0.4457, allocations: 2.395 MB / 0.6035 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005964/0.4463, allocations: 288 kB / 0.6038 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.4485, allocations: 1.026 MB / 0.6048 GB, free: 2.988 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001389/0.4499, allocations: 1.528 MB / 0.6063 GB, free: 1.457 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001961/0.4518, allocations: 1.754 MB / 0.608 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00519/0.457, allocations: 5.53 MB / 0.6134 GB, free: 10.15 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4571, allocations: 0 / 0.6134 GB, free: 10.15 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4571, allocations: 0 / 0.6134 GB, free: 10.15 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001611/0.4572, allocations: 0 / 0.6134 GB, free: 10.15 MB / 462.1 MB 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.007761/0.465, allocations: 3.452 MB / 0.6168 GB, free: 6.633 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4651, allocations: 11.97 kB / 0.6168 GB, free: 6.621 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003569/0.4686, allocations: 0.641 MB / 0.6174 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003383/0.472, allocations: 1.928 MB / 0.6193 GB, free: 3.988 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.4722, allocations: 230.3 kB / 0.6195 GB, free: 3.762 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000427/0.4726, allocations: 288.4 kB / 0.6198 GB, free: 3.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007488/0.4801, allocations: 4.89 MB / 0.6246 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-05/0.4802, allocations: 15.78 kB / 0.6246 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003059/0.4805, allocations: 132 kB / 0.6247 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004079/0.481, allocations: 233.7 kB / 0.6249 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006149/0.4871, allocations: 3.746 MB / 0.6286 GB, free: 10.26 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02375/0.5109, allocations: 21.56 MB / 0.6497 GB, free: 2.695 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.5127, allocations: 1.309 MB / 0.6509 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.5142, allocations: 1.057 MB / 0.652 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.854e-05/0.5143, allocations: 16.88 kB / 0.652 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.5143, allocations: 51.5 kB / 0.652 GB, free: 252 kB / 494.1 MB Notification: Performance of pre-optimization done (n=107): time 2.675e-06/0.5143, allocations: 0 / 0.652 GB, free: 252 kB / 494.1 MB Notification: Performance of matching and sorting (n=138): time 0.0243/0.5386, allocations: 8.645 MB / 0.6605 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.5387, allocations: 72.7 kB / 0.6606 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.5404, allocations: 1.126 MB / 0.6617 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.5406, allocations: 49.7 kB / 0.6617 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009292/0.5416, allocations: 1.3 MB / 0.663 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004606/0.542, allocations: 485 kB / 0.6634 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004724/0.5425, allocations: 295.3 kB / 0.6637 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.5426, allocations: 305.1 kB / 0.664 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.544, allocations: 0.9096 MB / 0.6649 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.5455, allocations: 1.326 MB / 0.6662 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/0.5487, allocations: 2.43 MB / 0.6686 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.5487, allocations: 4 kB / 0.6686 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006062/0.5548, allocations: 3.46 MB / 0.6719 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.5548, allocations: 8 kB / 0.6719 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.5549, allocations: 23.92 kB / 0.672 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003315/0.5582, allocations: 1.182 MB / 0.6731 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009751/0.5592, allocations: 251.6 kB / 0.6734 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0167/0.5759, allocations: 12.71 MB / 0.6858 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.5773, allocations: 91.91 kB / 0.6859 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.5775, allocations: 64 kB / 0.6859 GB, free: 12.66 MB / 0.5294 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.001936/0.5794, allocations: 1.118 MB / 0.687 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.5797, allocations: 158.1 kB / 0.6872 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00562/0.5854, allocations: 3.173 MB / 0.6903 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.5854, allocations: 16.38 kB / 0.6903 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.5854, allocations: 12 kB / 0.6903 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.5854, allocations: 3.984 kB / 0.6903 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/0.5958, allocations: 6.252 MB / 0.6964 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.5959, allocations: 4.562 kB / 0.6964 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005717/0.5965, allocations: 151.8 kB / 0.6966 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002909/0.5994, allocations: 1.068 MB / 0.6976 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.672e-05/0.5995, allocations: 32 kB / 0.6976 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01554/0.615, allocations: 12.4 MB / 0.7097 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.6151, allocations: 7.938 kB / 0.7097 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00534/0.6204, allocations: 3.162 MB / 0.7128 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008923/0.6214, allocations: 427 kB / 0.7132 GB, free: 4 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/0.6216, allocations: 36.02 kB / 0.7133 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007649/0.6224, allocations: 83.89 kB / 0.7134 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003887/0.6228, allocations: 124.7 kB / 0.7135 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.972e-05/0.6229, allocations: 44 kB / 0.7135 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001051/0.6239, allocations: 0.767 MB / 0.7143 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6239, allocations: 3.938 kB / 0.7143 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002076/0.626, allocations: 0.6602 MB / 0.7149 GB, free: 14.29 MB / 0.5606 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.0002633/0.6263, allocations: 139.1 kB / 0.715 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004959/0.6313, allocations: 3.123 MB / 0.7181 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.6313, allocations: 192 / 0.7181 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003086/0.6344, allocations: 1.959 MB / 0.72 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.6367, allocations: 461.9 kB / 0.7204 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.6471, allocations: 7.169 MB / 0.7274 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002301/0.6495, allocations: 2.383 MB / 0.7298 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/0.6499, allocations: 103.4 kB / 0.7299 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of SimCode: time 1.252e-06/0.6499, allocations: 0 / 0.7299 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of Templates: time 0.3239/0.9738, allocations: 79.43 MB / 0.8074 GB, free: 118.1 MB / 0.5762 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)