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.001192/0.001192, allocations: 101.5 kB / 16.26 MB, free: 6.406 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.001216/0.001216, allocations: 192 kB / 17.2 MB, free: 5.973 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.316/1.316, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7552/0.7552, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.89 kB / 0.4911 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3763, allocations: 77.93 MB / 0.5672 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01297/0.3893, allocations: 11.93 MB / 0.5789 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008577/0.3979, allocations: 5.706 MB / 0.5845 GB, free: 20.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.3993, allocations: 37.38 kB / 0.5845 GB, free: 20.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002698/0.402, allocations: 1.047 MB / 0.5855 GB, free: 20.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.4039, allocations: 0.6712 MB / 0.5862 GB, free: 19.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.4061, allocations: 0.9749 MB / 0.5871 GB, free: 18.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002447/0.4085, allocations: 2.586 MB / 0.5897 GB, free: 17.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004255/0.4128, allocations: 3.85 MB / 0.5934 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.4145, allocations: 1.187 MB / 0.5946 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.4159, allocations: 1.324 MB / 0.5959 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000307/0.4162, allocations: 256 kB / 0.5961 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.4172, allocations: 0.5619 MB / 0.5967 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006223/0.4179, allocations: 0.9434 MB / 0.5976 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008899/0.4188, allocations: 1.062 MB / 0.5986 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002362/0.4211, allocations: 3.833 MB / 0.6024 GB, free: 6.789 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.4212, allocations: 3.984 kB / 0.6024 GB, free: 6.785 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4212, allocations: 0 / 0.6024 GB, free: 6.785 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.493e-05/0.4212, allocations: 0 / 0.6024 GB, free: 6.785 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.003241/0.4245, allocations: 2.085 MB / 0.6044 GB, free: 4.645 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.4245, allocations: 16.56 kB / 0.6044 GB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003169/0.4277, allocations: 0.7401 MB / 0.6051 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.4294, allocations: 1.196 MB / 0.6063 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/0.4295, allocations: 119.6 kB / 0.6064 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002487/0.4298, allocations: 160.1 kB / 0.6066 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003989/0.4338, allocations: 2.952 MB / 0.6095 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.065e-05/0.4338, allocations: 8 kB / 0.6095 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001857/0.434, allocations: 71.98 kB / 0.6095 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003565/0.4344, allocations: 163.1 kB / 0.6097 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003968/0.4383, allocations: 2.518 MB / 0.6121 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.4508, allocations: 10.84 MB / 0.6227 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.4524, allocations: 0.9546 MB / 0.6237 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000779/0.4532, allocations: 0.5114 MB / 0.6242 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.4534, allocations: 89.47 kB / 0.6243 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.4534, allocations: 38.94 kB / 0.6243 GB, free: 15.19 MB / 478.1 MB Notification: Performance of pre-optimization done (n=46): time 2.725e-06/0.4534, allocations: 0 / 0.6243 GB, free: 15.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=70): time 0.03075/0.4842, allocations: 8.07 MB / 0.6322 GB, free: 7.051 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.4843, allocations: 59.97 kB / 0.6322 GB, free: 6.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.4857, allocations: 0.922 MB / 0.6331 GB, free: 6.051 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.4858, allocations: 37.7 kB / 0.6332 GB, free: 6.008 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005442/0.4864, allocations: 0.7736 MB / 0.6339 GB, free: 5.219 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.4866, allocations: 248.5 kB / 0.6342 GB, free: 4.973 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004189/0.4871, allocations: 214.8 kB / 0.6344 GB, free: 4.754 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.4873, allocations: 398.7 kB / 0.6347 GB, free: 4.355 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/0.4887, allocations: 0.81 MB / 0.6355 GB, free: 3.543 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.4904, allocations: 1.155 MB / 0.6367 GB, free: 2.234 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003032/0.4934, allocations: 1.993 MB / 0.6386 GB, free: 88 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/0.4935, allocations: 0 / 0.6386 GB, free: 88 kB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01/0.5035, allocations: 3.662 MB / 0.6422 GB, free: 12.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.5035, allocations: 8 kB / 0.6422 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.5035, allocations: 12 kB / 0.6422 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007731/0.5113, allocations: 1.915 MB / 0.6441 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.5123, allocations: 231.6 kB / 0.6443 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/0.5277, allocations: 10.59 MB / 0.6546 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.5293, allocations: 187.5 kB / 0.6548 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.5294, allocations: 44 kB / 0.6549 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00227/0.5317, allocations: 1.525 MB / 0.6563 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001498/0.5332, allocations: 1.131 MB / 0.6575 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002763/0.536, allocations: 1.939 MB / 0.6593 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.871e-06/0.536, 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.007972/0.544, allocations: 3.096 MB / 0.6624 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.544, allocations: 13.97 kB / 0.6624 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/0.544, allocations: 12 kB / 0.6624 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004961/0.549, allocations: 1.203 MB / 0.6636 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.5502, allocations: 279.5 kB / 0.6638 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008275/0.5585, allocations: 5.848 MB / 0.6695 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.56, allocations: 179.7 kB / 0.6697 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.619e-05/0.5601, allocations: 47.98 kB / 0.6698 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.0003508/0.5604, allocations: 244 kB / 0.67 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.5606, allocations: 86.97 kB / 0.6701 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00882/0.5694, allocations: 3.171 MB / 0.6732 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.5695, allocations: 8 kB / 0.6732 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.5695, allocations: 0 / 0.6732 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5695, allocations: 3.984 kB / 0.6732 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/0.5807, allocations: 5.278 MB / 0.6783 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/0.5808, allocations: 0 / 0.6783 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/0.5812, allocations: 107.8 kB / 0.6784 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006648/0.5879, allocations: 1.721 MB / 0.6801 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.218e-05/0.588, allocations: 12 kB / 0.6801 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01365/0.6016, allocations: 10 MB / 0.6899 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6016, allocations: 0 / 0.6899 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008077/0.6097, allocations: 3.03 MB / 0.6929 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006306/0.6104, allocations: 315.9 kB / 0.6932 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.6106, allocations: 12 kB / 0.6932 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009723/0.6116, allocations: 139.8 kB / 0.6933 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/0.6118, allocations: 64.42 kB / 0.6934 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.6119, allocations: 20 kB / 0.6934 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009326/0.6128, allocations: 0.6824 MB / 0.6941 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6128, allocations: 0 / 0.6941 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002295/0.6151, allocations: 0.6914 MB / 0.6947 GB, free: 5.34 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.0002387/0.6154, allocations: 132.4 kB / 0.6949 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006579/0.622, allocations: 3.733 MB / 0.6985 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.622, allocations: 0 / 0.6985 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002035/0.624, allocations: 1.25 MB / 0.6997 GB, free: 160 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.6254, allocations: 285.5 kB / 0.7 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005289/0.6307, allocations: 3.469 MB / 0.7034 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/0.6322, allocations: 1.715 MB / 0.7051 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001414/0.6336, allocations: 0.5342 MB / 0.7056 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.6338, allocations: 63.42 kB / 0.7056 GB, free: 10.02 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.6338, allocations: 0 / 0.7056 GB, free: 10.02 MB / 0.545 GB Notification: Performance of Templates: time 0.04294/0.6767, allocations: 31.55 MB / 0.7365 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)