Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 104.4 kB / 16.27 MB, free: 5.965 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.001598/0.001598, allocations: 190.1 kB / 17.2 MB, free: 5.594 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.449/1.449, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7688/0.7688, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 0.4911 GB, free: 7.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.464, allocations: 77.92 MB / 0.5672 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.0141/0.4782, allocations: 11.94 MB / 0.5789 GB, free: 24.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00963/0.4878, allocations: 5.705 MB / 0.5844 GB, free: 20.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.4893, allocations: 38.16 kB / 0.5845 GB, free: 20.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002629/0.492, allocations: 1.047 MB / 0.5855 GB, free: 20.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.4938, allocations: 0.6713 MB / 0.5862 GB, free: 19.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.4961, allocations: 0.9763 MB / 0.5871 GB, free: 18.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002523/0.4986, allocations: 2.584 MB / 0.5896 GB, free: 17.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003968/0.5026, allocations: 3.844 MB / 0.5934 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.5044, allocations: 1.19 MB / 0.5945 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.5057, allocations: 1.32 MB / 0.5958 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002759/0.506, allocations: 256 kB / 0.5961 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009646/0.507, allocations: 0.5657 MB / 0.5966 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005839/0.5075, allocations: 0.9473 MB / 0.5976 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000845/0.5084, allocations: 1.062 MB / 0.5986 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.5108, allocations: 3.83 MB / 0.6023 GB, free: 6.781 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5108, allocations: 0 / 0.6023 GB, free: 6.781 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5108, allocations: 0 / 0.6023 GB, free: 6.781 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.241e-05/0.5108, allocations: 4 kB / 0.6023 GB, free: 6.777 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003248/0.5141, allocations: 2.089 MB / 0.6044 GB, free: 4.633 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.5141, allocations: 8.031 kB / 0.6044 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002944/0.5171, allocations: 0.744 MB / 0.6051 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.5187, allocations: 1.193 MB / 0.6063 GB, free: 2.645 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.5187, allocations: 115.6 kB / 0.6064 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.519, allocations: 164.1 kB / 0.6065 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003732/0.5227, allocations: 2.968 MB / 0.6094 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.529e-05/0.5227, allocations: 0 / 0.6094 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.5229, allocations: 64 kB / 0.6095 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003456/0.5233, allocations: 167.1 kB / 0.6097 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003903/0.5272, allocations: 2.526 MB / 0.6121 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.5392, allocations: 10.83 MB / 0.6227 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.5407, allocations: 0.9647 MB / 0.6236 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007259/0.5415, allocations: 0.5051 MB / 0.6241 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.5416, allocations: 93.47 kB / 0.6242 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.5416, allocations: 38.94 kB / 0.6243 GB, free: 15.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=46): time 2.154e-06/0.5416, allocations: 4 kB / 0.6243 GB, free: 15.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=70): time 0.02876/0.5704, allocations: 8.055 MB / 0.6321 GB, free: 7.051 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.5705, allocations: 63.97 kB / 0.6322 GB, free: 6.977 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.5719, allocations: 0.9259 MB / 0.6331 GB, free: 6.043 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.572, allocations: 41.64 kB / 0.6331 GB, free: 5.996 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005741/0.5726, allocations: 0.7736 MB / 0.6339 GB, free: 5.207 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.5728, allocations: 248.5 kB / 0.6341 GB, free: 4.961 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003918/0.5732, allocations: 214.8 kB / 0.6343 GB, free: 4.742 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.5734, allocations: 402.7 kB / 0.6347 GB, free: 4.34 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.5748, allocations: 0.8101 MB / 0.6355 GB, free: 3.527 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.5763, allocations: 1.147 MB / 0.6366 GB, free: 2.227 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002868/0.5792, allocations: 1.997 MB / 0.6386 GB, free: 76 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.5792, allocations: 4 kB / 0.6386 GB, free: 72 kB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009573/0.5888, allocations: 3.666 MB / 0.6422 GB, free: 12.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.5889, allocations: 8 kB / 0.6422 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/0.5889, allocations: 12 kB / 0.6422 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007399/0.5963, allocations: 1.9 MB / 0.644 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.5974, allocations: 231.6 kB / 0.6443 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01622/0.6136, allocations: 10.59 MB / 0.6546 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.6153, allocations: 183.6 kB / 0.6548 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-05/0.6154, allocations: 55.94 kB / 0.6548 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002265/0.6177, allocations: 1.522 MB / 0.6563 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001428/0.6191, allocations: 1.128 MB / 0.6574 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003771/0.6229, allocations: 1.943 MB / 0.6593 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.138e-05/0.6229, allocations: 4 kB / 0.6593 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.01188/0.6348, allocations: 3.088 MB / 0.6623 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/0.6349, allocations: 11.94 kB / 0.6624 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.38e-05/0.6349, allocations: 12 kB / 0.6624 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007146/0.6421, allocations: 1.206 MB / 0.6635 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/0.644, allocations: 283.6 kB / 0.6638 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/0.6593, allocations: 5.851 MB / 0.6695 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/0.6622, allocations: 171.7 kB / 0.6697 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/0.6624, allocations: 48 kB / 0.6697 GB, free: 15.41 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000662/0.6631, allocations: 252 kB / 0.67 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/0.6634, allocations: 86.97 kB / 0.6701 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01558/0.679, allocations: 3.164 MB / 0.6731 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/0.6791, allocations: 12 kB / 0.6732 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.6791, allocations: 4 kB / 0.6732 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.177e-05/0.6792, allocations: 3.984 kB / 0.6732 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02093/0.7001, allocations: 5.274 MB / 0.6783 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.7002, allocations: 0 / 0.6783 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000939/0.7011, allocations: 108.1 kB / 0.6784 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01253/0.7137, allocations: 1.725 MB / 0.6801 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/0.7139, allocations: 12 kB / 0.6801 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0261/0.7401, allocations: 10 MB / 0.6899 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/0.7401, allocations: 4 kB / 0.6899 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/0.7555, allocations: 3.018 MB / 0.6928 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/0.7568, allocations: 319.9 kB / 0.6931 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005116/0.7573, allocations: 23.94 kB / 0.6932 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/0.759, allocations: 135.8 kB / 0.6933 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005695/0.7596, allocations: 56.48 kB / 0.6933 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/0.7598, allocations: 20 kB / 0.6934 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00218/0.762, allocations: 0.6785 MB / 0.694 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.71e-07/0.762, allocations: 4 kB / 0.694 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004951/0.767, allocations: 0.6953 MB / 0.6947 GB, free: 5.332 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003871/0.7674, allocations: 123.1 kB / 0.6948 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01143/0.7789, allocations: 3.737 MB / 0.6985 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/0.7789, allocations: 0 / 0.6985 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003501/0.7825, allocations: 1.25 MB / 0.6997 GB, free: 156 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.785, allocations: 293.4 kB / 0.7 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.7953, allocations: 3.465 MB / 0.7034 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/0.7979, allocations: 1.719 MB / 0.705 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002998/0.801, allocations: 0.5303 MB / 0.7056 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.8013, allocations: 67.42 kB / 0.7056 GB, free: 10.01 MB / 0.545 GB Notification: Performance of SimCode: time 2.305e-06/0.8013, allocations: 0 / 0.7056 GB, free: 10.01 MB / 0.545 GB Notification: Performance of Templates: time 0.08648/0.8878, allocations: 31.53 MB / 0.7364 GB, free: 10.68 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)