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.001185/0.001185, allocations: 112.8 kB / 17.04 MB, free: 5.812 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.001225/0.001226, allocations: 195 kB / 17.98 MB, free: 5.027 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.284/1.284, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6851/0.6851, allocations: 115.1 MB / 406.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 64.11 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.348, allocations: 76.14 MB / 0.5576 GB, free: 36.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01282/0.3609, allocations: 11.94 MB / 0.5692 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008105/0.369, allocations: 5.547 MB / 0.5747 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.3702, allocations: 41.31 kB / 0.5747 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002603/0.3728, allocations: 1.045 MB / 0.5757 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.3746, allocations: 0.6459 MB / 0.5764 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.3768, allocations: 0.9778 MB / 0.5773 GB, free: 23.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002856/0.3797, allocations: 2.582 MB / 0.5798 GB, free: 22.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003765/0.3835, allocations: 3.784 MB / 0.5835 GB, free: 20.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.3855, allocations: 1.182 MB / 0.5847 GB, free: 20.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.3873, allocations: 1.331 MB / 0.586 GB, free: 19.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003393/0.3876, allocations: 252.8 kB / 0.5862 GB, free: 19.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.3887, allocations: 0.5386 MB / 0.5867 GB, free: 19.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000939/0.3896, allocations: 0.95 MB / 0.5877 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.3907, allocations: 1.06 MB / 0.5887 GB, free: 18.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003709/0.3944, allocations: 3.834 MB / 0.5925 GB, free: 16.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.3944, allocations: 1.188 kB / 0.5925 GB, free: 16.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3944, allocations: 0 / 0.5925 GB, free: 16.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.918e-05/0.3945, allocations: 0 / 0.5925 GB, free: 16.1 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.003999/0.3985, allocations: 2.081 MB / 0.5945 GB, free: 14.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.3986, allocations: 9.312 kB / 0.5945 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002723/0.4013, allocations: 0.7029 MB / 0.5952 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/0.4038, allocations: 1.22 MB / 0.5964 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.488e-05/0.4038, allocations: 119.5 kB / 0.5965 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002474/0.4041, allocations: 164.1 kB / 0.5966 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003895/0.408, allocations: 2.94 MB / 0.5995 GB, free: 9.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/0.408, allocations: 7.844 kB / 0.5995 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.4082, allocations: 64 kB / 0.5996 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002634/0.4085, allocations: 163.1 kB / 0.5997 GB, free: 9.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003087/0.4116, allocations: 2.491 MB / 0.6022 GB, free: 6.684 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.422, allocations: 10.69 MB / 0.6126 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.4232, allocations: 0.904 MB / 0.6135 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006166/0.4238, allocations: 0.5011 MB / 0.614 GB, free: 9.637 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.4239, allocations: 89.47 kB / 0.6141 GB, free: 9.531 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.424, allocations: 38.94 kB / 0.6141 GB, free: 9.484 MB / 462.1 MB Notification: Performance of pre-optimization done (n=46): time 2.345e-06/0.424, allocations: 0 / 0.6141 GB, free: 9.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=70): time 0.02354/0.4475, allocations: 7.696 MB / 0.6216 GB, free: 1.715 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.4476, allocations: 55.97 kB / 0.6217 GB, free: 1.648 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.4488, allocations: 0.9297 MB / 0.6226 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.4489, allocations: 41.7 kB / 0.6226 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004977/0.4494, allocations: 0.7697 MB / 0.6234 GB, free: 15.88 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.4497, allocations: 256.5 kB / 0.6236 GB, free: 15.62 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003709/0.4501, allocations: 214.7 kB / 0.6238 GB, free: 15.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.4502, allocations: 398.8 kB / 0.6242 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.4513, allocations: 0.7749 MB / 0.625 GB, free: 14.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.4526, allocations: 1.128 MB / 0.6261 GB, free: 12.95 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.455, allocations: 1.943 MB / 0.628 GB, free: 10.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.4551, allocations: 4 kB / 0.628 GB, free: 10.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.008955/0.464, allocations: 3.608 MB / 0.6315 GB, free: 7.227 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.4641, allocations: 13.88 kB / 0.6315 GB, free: 7.215 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/0.4641, allocations: 12 kB / 0.6315 GB, free: 7.203 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007657/0.4718, allocations: 1.9 MB / 0.6334 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009979/0.4728, allocations: 219.6 kB / 0.6336 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/0.4889, allocations: 10.6 MB / 0.6439 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.4906, allocations: 167.7 kB / 0.6441 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.4907, allocations: 47.98 kB / 0.6441 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002568/0.4932, allocations: 1.502 MB / 0.6456 GB, free: 8.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001291/0.4945, allocations: 1.1 MB / 0.6467 GB, free: 7.242 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002485/0.497, allocations: 1.884 MB / 0.6485 GB, free: 5.203 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.1e-06/0.4971, allocations: 0 / 0.6485 GB, free: 5.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007304/0.5044, allocations: 3.045 MB / 0.6515 GB, free: 2.145 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5044, allocations: 11.94 kB / 0.6515 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.5044, allocations: 12 kB / 0.6515 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004676/0.5091, allocations: 1.199 MB / 0.6527 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.5101, allocations: 271.5 kB / 0.6529 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008017/0.5182, allocations: 5.846 MB / 0.6586 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.5194, allocations: 155.8 kB / 0.6588 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-05/0.5195, allocations: 51.98 kB / 0.6588 GB, free: 10.46 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.0002975/0.5198, allocations: 252.5 kB / 0.6591 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.52, allocations: 86.91 kB / 0.6592 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007925/0.5279, allocations: 3.144 MB / 0.6622 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.5279, allocations: 8 kB / 0.6622 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.528, allocations: 0 / 0.6622 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.528, allocations: 3.984 kB / 0.6623 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/0.5392, allocations: 5.263 MB / 0.6674 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.5392, allocations: 7.984 kB / 0.6674 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004008/0.5396, allocations: 103.8 kB / 0.6675 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006317/0.5459, allocations: 1.721 MB / 0.6692 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.546, allocations: 20 kB / 0.6692 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/0.5596, allocations: 9.97 MB / 0.6789 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.5596, allocations: 7.938 kB / 0.6789 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007699/0.5673, allocations: 3.031 MB / 0.6819 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008777/0.5682, allocations: 319.9 kB / 0.6822 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.5684, allocations: 23.98 kB / 0.6822 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008424/0.5693, allocations: 127.8 kB / 0.6824 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/0.5695, allocations: 64.42 kB / 0.6824 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.015e-05/0.5696, allocations: 20 kB / 0.6824 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008678/0.5705, allocations: 0.6668 MB / 0.6831 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5705, allocations: 4 kB / 0.6831 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002106/0.5726, allocations: 0.6797 MB / 0.6838 GB, free: 472 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.0002122/0.5728, allocations: 123.1 kB / 0.6839 GB, free: 336 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005291/0.5781, allocations: 3.491 MB / 0.6873 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5781, allocations: 0 / 0.6873 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001883/0.58, allocations: 1.247 MB / 0.6885 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.5813, allocations: 291 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.00538/0.5867, allocations: 3.431 MB / 0.6921 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/0.5881, allocations: 1.726 MB / 0.6938 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001229/0.5894, allocations: 0.5186 MB / 0.6943 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.5896, allocations: 55.44 kB / 0.6944 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/0.5896, allocations: 0 / 0.6944 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of Templates: time 0.04162/0.6312, allocations: 30.71 MB / 0.7244 GB, free: 6.941 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)