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.001186/0.001186, allocations: 111.1 kB / 16.64 MB, free: 6.371 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.001223/0.001223, allocations: 197.4 kB / 17.56 MB, free: 5.797 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.376/1.376, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7654/0.7654, allocations: 122.9 MB / 414.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 63.91 kB / 0.4913 GB, free: 7.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3975, allocations: 77.91 MB / 0.5673 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02101/0.4186, allocations: 20.09 MB / 0.587 GB, free: 19.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.4288, allocations: 6.388 MB / 0.5932 GB, free: 14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002797/0.4317, allocations: 80.22 kB / 0.5933 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005162/0.4369, allocations: 2.087 MB / 0.5953 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003737/0.4406, allocations: 1.095 MB / 0.5964 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003352/0.444, allocations: 1.168 MB / 0.5975 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006177/0.4502, allocations: 4.865 MB / 0.6023 GB, free: 7.148 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008401/0.4586, allocations: 6.773 MB / 0.6089 GB, free: 372 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003955/0.4626, allocations: 2.118 MB / 0.611 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004296/0.4669, allocations: 2.45 MB / 0.6133 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.4683, allocations: 432 kB / 0.6138 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.4714, allocations: 1.006 MB / 0.6147 GB, free: 10.35 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002773/0.4742, allocations: 1.668 MB / 0.6164 GB, free: 8.676 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004959/0.4791, allocations: 1.914 MB / 0.6182 GB, free: 6.754 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007587/0.4868, allocations: 5.558 MB / 0.6237 GB, free: 1.184 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4868, allocations: 0 / 0.6237 GB, free: 1.184 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4868, allocations: 0 / 0.6237 GB, free: 1.184 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002188/0.487, allocations: 0 / 0.6237 GB, free: 1.184 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.009243/0.4963, allocations: 3.452 MB / 0.627 GB, free: 13.67 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.4963, allocations: 8.625 kB / 0.627 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003975/0.5003, allocations: 0.6449 MB / 0.6277 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004113/0.5045, allocations: 1.939 MB / 0.6296 GB, free: 11.01 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.5047, allocations: 218.3 kB / 0.6298 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009886/0.5057, allocations: 288.4 kB / 0.6301 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.5163, allocations: 4.894 MB / 0.6348 GB, free: 5.426 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/0.5165, allocations: 15.83 kB / 0.6348 GB, free: 5.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007302/0.5172, allocations: 128 kB / 0.635 GB, free: 5.285 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004846/0.5177, allocations: 225.7 kB / 0.6352 GB, free: 5.062 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007261/0.525, allocations: 3.754 MB / 0.6389 GB, free: 1.297 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02532/0.5503, allocations: 21.57 MB / 0.6599 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.5523, allocations: 1.313 MB / 0.6612 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.5538, allocations: 1.053 MB / 0.6622 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.35e-05/0.5539, allocations: 17 kB / 0.6622 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.554, allocations: 43.56 kB / 0.6623 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=107): time 2.995e-06/0.554, allocations: 4 kB / 0.6623 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=138): time 0.02441/0.5784, allocations: 8.641 MB / 0.6707 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.5785, allocations: 68.66 kB / 0.6708 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.5804, allocations: 1.13 MB / 0.6719 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001897/0.5806, allocations: 49.7 kB / 0.6719 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009023/0.5815, allocations: 1.296 MB / 0.6732 GB, free: 12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005048/0.582, allocations: 493 kB / 0.6737 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005638/0.5826, allocations: 287.4 kB / 0.674 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5827, allocations: 305.1 kB / 0.6742 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.5841, allocations: 0.9135 MB / 0.6751 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.5857, allocations: 1.322 MB / 0.6764 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003133/0.5888, allocations: 2.426 MB / 0.6788 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/0.5889, allocations: 4 kB / 0.6788 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006198/0.5951, allocations: 3.464 MB / 0.6822 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.5951, allocations: 15.94 kB / 0.6822 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.5951, allocations: 12.09 kB / 0.6822 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003233/0.5984, allocations: 1.192 MB / 0.6834 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009731/0.5994, allocations: 259.5 kB / 0.6836 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01785/0.6172, allocations: 13.85 MB / 0.6971 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.6187, allocations: 91.97 kB / 0.6972 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/0.619, allocations: 64 kB / 0.6973 GB, free: 2.535 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.002026/0.621, allocations: 1.114 MB / 0.6984 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004271/0.6214, allocations: 158.1 kB / 0.6985 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005851/0.6273, allocations: 3.173 MB / 0.7016 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.6274, allocations: 12 kB / 0.7016 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.525e-05/0.6274, allocations: 15.94 kB / 0.7017 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.6274, allocations: 11.97 kB / 0.7017 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/0.6388, allocations: 6.241 MB / 0.7078 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.6389, allocations: 4 kB / 0.7078 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005959/0.6395, allocations: 147.8 kB / 0.7079 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002875/0.6424, allocations: 1.075 MB / 0.709 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.6425, allocations: 36.38 kB / 0.709 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01765/0.6602, allocations: 13.54 MB / 0.7222 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.617e-06/0.6602, allocations: 7.938 kB / 0.7222 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005598/0.6658, allocations: 3.158 MB / 0.7253 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009175/0.6668, allocations: 423.1 kB / 0.7257 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003869/0.6672, allocations: 43.86 kB / 0.7257 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009378/0.6681, allocations: 75.91 kB / 0.7258 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003377/0.6685, allocations: 132.6 kB / 0.7259 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-05/0.6686, allocations: 36.38 kB / 0.726 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001229/0.6698, allocations: 0.771 MB / 0.7267 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6698, allocations: 0 / 0.7267 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002232/0.6721, allocations: 0.6602 MB / 0.7274 GB, free: 3.012 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.0002779/0.6724, allocations: 139.1 kB / 0.7275 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005884/0.6783, allocations: 3.646 MB / 0.7311 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.6783, allocations: 4 kB / 0.7311 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003021/0.6813, allocations: 1.944 MB / 0.733 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.684, allocations: 0.4977 MB / 0.7335 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/0.696, allocations: 7.155 MB / 0.7404 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003326/0.6994, allocations: 2.387 MB / 0.7428 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004168/0.6999, allocations: 103.4 kB / 0.7429 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of SimCode: time 1.232e-06/0.6999, allocations: 0 / 0.7429 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of Templates: time 0.3482/1.048, allocations: 79.43 MB / 0.8204 GB, free: 97.65 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)