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.00146/0.00146, allocations: 112.8 kB / 17.03 MB, free: 5.707 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.001631/0.001631, allocations: 195 kB / 17.97 MB, free: 5.109 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.352/1.352, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7055/0.7055, allocations: 115.1 MB / 406.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.336, allocations: 76.14 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01331/0.3494, allocations: 11.93 MB / 0.5692 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008272/0.3577, allocations: 5.543 MB / 0.5746 GB, free: 24.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.3588, allocations: 42.12 kB / 0.5747 GB, free: 24.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002674/0.3615, allocations: 1.048 MB / 0.5757 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.3631, allocations: 0.6477 MB / 0.5763 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.3654, allocations: 0.9765 MB / 0.5773 GB, free: 23.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002993/0.3684, allocations: 2.587 MB / 0.5798 GB, free: 22.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004213/0.3727, allocations: 3.791 MB / 0.5835 GB, free: 20.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.3747, allocations: 1.183 MB / 0.5847 GB, free: 20.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.3767, allocations: 1.326 MB / 0.586 GB, free: 19.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004538/0.3772, allocations: 253.5 kB / 0.5862 GB, free: 19.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.3783, allocations: 0.5379 MB / 0.5867 GB, free: 19.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.3793, allocations: 0.9388 MB / 0.5877 GB, free: 19.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.3805, allocations: 1.061 MB / 0.5887 GB, free: 18.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003524/0.3841, allocations: 3.839 MB / 0.5924 GB, free: 16.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3841, allocations: 5.375 kB / 0.5924 GB, free: 16.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3841, allocations: 3.938 kB / 0.5925 GB, free: 16.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.709e-05/0.3842, allocations: 0 / 0.5925 GB, free: 16.16 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.004276/0.3885, allocations: 2.083 MB / 0.5945 GB, free: 14.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.3885, allocations: 8.031 kB / 0.5945 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/0.3914, allocations: 0.6972 MB / 0.5952 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.3939, allocations: 1.212 MB / 0.5964 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.98e-05/0.3939, allocations: 127.6 kB / 0.5965 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002754/0.3942, allocations: 160.1 kB / 0.5966 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004088/0.3983, allocations: 2.936 MB / 0.5995 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.358e-05/0.3984, allocations: 7.906 kB / 0.5995 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001851/0.3986, allocations: 68 kB / 0.5996 GB, free: 9.355 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002995/0.3989, allocations: 167.1 kB / 0.5997 GB, free: 9.191 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003418/0.4023, allocations: 2.487 MB / 0.6022 GB, free: 6.699 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01146/0.4138, allocations: 10.69 MB / 0.6126 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.4151, allocations: 0.9099 MB / 0.6135 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006679/0.4158, allocations: 0.4914 MB / 0.614 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.4159, allocations: 105.4 kB / 0.6141 GB, free: 9.539 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.416, allocations: 34.94 kB / 0.6141 GB, free: 9.496 MB / 462.1 MB Notification: Performance of pre-optimization done (n=46): time 2.154e-06/0.416, allocations: 4 kB / 0.6141 GB, free: 9.492 MB / 462.1 MB Notification: Performance of matching and sorting (n=70): time 0.02523/0.4412, allocations: 7.696 MB / 0.6216 GB, free: 1.723 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.4413, allocations: 59.97 kB / 0.6217 GB, free: 1.652 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.4425, allocations: 0.9258 MB / 0.6226 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.4427, allocations: 37.7 kB / 0.6226 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005198/0.4432, allocations: 0.7738 MB / 0.6234 GB, free: 15.88 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.4434, allocations: 244.6 kB / 0.6236 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003879/0.4438, allocations: 222.7 kB / 0.6238 GB, free: 15.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.444, allocations: 394.7 kB / 0.6242 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.4452, allocations: 0.7827 MB / 0.625 GB, free: 14.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.4466, allocations: 1.128 MB / 0.6261 GB, free: 12.95 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002535/0.4491, allocations: 1.939 MB / 0.628 GB, free: 10.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.4491, allocations: 4 kB / 0.628 GB, free: 10.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009557/0.4587, allocations: 3.608 MB / 0.6315 GB, free: 7.234 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.4587, allocations: 11.94 kB / 0.6315 GB, free: 7.223 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.4588, allocations: 12 kB / 0.6315 GB, free: 7.211 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007818/0.4666, allocations: 1.908 MB / 0.6334 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009562/0.4676, allocations: 219.6 kB / 0.6336 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01594/0.4835, allocations: 10.57 MB / 0.6439 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.485, allocations: 175.7 kB / 0.6441 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.4852, allocations: 44 kB / 0.6441 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002321/0.4875, allocations: 1.494 MB / 0.6456 GB, free: 8.523 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00134/0.4888, allocations: 1.1 MB / 0.6466 GB, free: 7.266 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002401/0.4913, allocations: 1.888 MB / 0.6485 GB, free: 5.223 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.037e-06/0.4913, allocations: 7.938 kB / 0.6485 GB, free: 5.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007484/0.4988, allocations: 3.038 MB / 0.6515 GB, free: 2.164 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.4988, allocations: 19.94 kB / 0.6515 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.4989, allocations: 8 kB / 0.6515 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00483/0.5037, allocations: 1.201 MB / 0.6527 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.5048, allocations: 275.5 kB / 0.6529 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008351/0.5132, allocations: 5.844 MB / 0.6586 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.5146, allocations: 171.7 kB / 0.6588 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.5148, allocations: 44 kB / 0.6588 GB, free: 10.47 MB / 0.4981 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.0003428/0.5151, allocations: 251.9 kB / 0.6591 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.5153, allocations: 86.97 kB / 0.6592 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008657/0.524, allocations: 3.132 MB / 0.6622 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.524, allocations: 11.98 kB / 0.6622 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.524, allocations: 4 kB / 0.6622 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.524, allocations: 0 / 0.6622 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/0.5358, allocations: 5.259 MB / 0.6674 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.5358, allocations: 4.25 kB / 0.6674 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00046/0.5363, allocations: 103.8 kB / 0.6675 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006578/0.5429, allocations: 1.721 MB / 0.6692 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.543, allocations: 15.94 kB / 0.6692 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01408/0.5571, allocations: 9.999 MB / 0.6789 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5571, allocations: 0 / 0.6789 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008049/0.5652, allocations: 3.031 MB / 0.6819 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008807/0.5661, allocations: 312 kB / 0.6822 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/0.5663, allocations: 19.91 kB / 0.6822 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009131/0.5672, allocations: 131.8 kB / 0.6823 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003064/0.5676, allocations: 64.41 kB / 0.6824 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.458e-05/0.5676, allocations: 20 kB / 0.6824 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009175/0.5685, allocations: 0.6629 MB / 0.6831 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5686, allocations: 0 / 0.6831 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002352/0.5709, allocations: 0.6875 MB / 0.6837 GB, free: 488 kB / 0.5137 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.0002439/0.5712, allocations: 127.1 kB / 0.6839 GB, free: 348 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005787/0.577, allocations: 3.487 MB / 0.6873 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.577, allocations: 0 / 0.6873 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002075/0.5791, allocations: 1.25 MB / 0.6885 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.5804, allocations: 290.5 kB / 0.6888 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005952/0.5864, allocations: 3.436 MB / 0.6921 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001602/0.588, allocations: 1.723 MB / 0.6938 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001235/0.5893, allocations: 0.5147 MB / 0.6943 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.5894, allocations: 63.42 kB / 0.6944 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of SimCode: time 7.11e-07/0.5895, allocations: 0 / 0.6944 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of Templates: time 0.04322/0.6327, allocations: 30.7 MB / 0.7243 GB, free: 6.961 MB / 0.5606 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)