Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005495/0.005495, allocations: 100.2 kB / 15.87 MB, free: 5.871 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.328/1.328, allocations: 222.9 MB / 239.5 MB, free: 4.797 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 196.5 kB / 289.8 MB, free: 2.523 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5125/0.5125, allocations: 91.9 MB / 431.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 76.06 kB / 0.5019 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3679, allocations: 71.26 MB / 0.5714 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.006926/0.3748, allocations: 8.331 MB / 0.5796 GB, free: 31.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005063/0.3799, allocations: 2.555 MB / 0.5821 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.3814, allocations: 17.91 kB / 0.5821 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000932/0.3824, allocations: 245.6 kB / 0.5823 GB, free: 29.6 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.385, allocations: 0.8807 MB / 0.5832 GB, free: 29.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.3866, allocations: 0.7129 MB / 0.5839 GB, free: 28.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002174/0.3887, allocations: 2.008 MB / 0.5858 GB, free: 27.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004693/0.3892, allocations: 332 kB / 0.5862 GB, free: 27.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.3902, allocations: 0.7672 MB / 0.5869 GB, free: 27.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009874/0.3912, allocations: 1.026 MB / 0.5879 GB, free: 26.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00028/0.3915, allocations: 105.3 kB / 0.588 GB, free: 26.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007733/0.3923, allocations: 269 kB / 0.5883 GB, free: 26.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003286/0.3926, allocations: 372.5 kB / 0.5886 GB, free: 26.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007707/0.3934, allocations: 0.7917 MB / 0.5894 GB, free: 25.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.3949, allocations: 1.658 MB / 0.591 GB, free: 25.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3949, allocations: 0 / 0.591 GB, free: 25.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3949, allocations: 0 / 0.591 GB, free: 25.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.786e-05/0.395, allocations: 5.219 kB / 0.591 GB, free: 25.31 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01261/0.4076, allocations: 3.502 MB / 0.5944 GB, free: 23.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.4076, allocations: 10.16 kB / 0.5945 GB, free: 23.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004775/0.4124, allocations: 0.74 MB / 0.5952 GB, free: 23.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.4146, allocations: 1.099 MB / 0.5962 GB, free: 22.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003922/0.415, allocations: 420.9 kB / 0.5967 GB, free: 22.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/0.4153, allocations: 98.34 kB / 0.5967 GB, free: 22.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/0.4183, allocations: 1.37 MB / 0.5981 GB, free: 22.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.4183, allocations: 7.203 kB / 0.5981 GB, free: 22.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.4184, allocations: 34.66 kB / 0.5981 GB, free: 22.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.4184, allocations: 22.69 kB / 0.5981 GB, free: 22.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003019/0.4215, allocations: 1.302 MB / 0.5994 GB, free: 21.57 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009071/0.4306, allocations: 4.666 MB / 0.604 GB, free: 18.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00834/0.4389, allocations: 2.892 MB / 0.6068 GB, free: 17.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002133/0.4411, allocations: 0.9015 MB / 0.6077 GB, free: 17.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.4413, allocations: 24.77 kB / 0.6077 GB, free: 17.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002331/0.4436, allocations: 1.048 MB / 0.6087 GB, free: 16.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 3.476e-06/0.4436, allocations: 5.125 kB / 0.6087 GB, free: 16.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.0412/0.4848, allocations: 9.898 MB / 0.6184 GB, free: 13.65 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.4849, allocations: 121.1 kB / 0.6185 GB, free: 13.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/0.4874, allocations: 1.345 MB / 0.6198 GB, free: 12.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004457/0.4878, allocations: 50.64 kB / 0.6199 GB, free: 12.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.4882, allocations: 0.5776 MB / 0.6204 GB, free: 12.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004456/0.4886, allocations: 453.5 kB / 0.6209 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005536/0.4892, allocations: 327.4 kB / 0.6212 GB, free: 11.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.564e-05/0.4892, allocations: 309.1 kB / 0.6215 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.491, allocations: 0.9526 MB / 0.6224 GB, free: 10.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001868/0.4929, allocations: 1.151 MB / 0.6235 GB, free: 8.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003485/0.4964, allocations: 2.05 MB / 0.6255 GB, free: 6.836 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.4964, allocations: 0 / 0.6255 GB, free: 6.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.00901/0.5054, allocations: 3.819 MB / 0.6293 GB, free: 3.004 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.5055, allocations: 4 kB / 0.6293 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.5055, allocations: 7.938 kB / 0.6293 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00853/0.514, allocations: 2.679 MB / 0.6319 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.5156, allocations: 299.6 kB / 0.6322 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006336/0.522, allocations: 2.688 MB / 0.6348 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/0.5247, allocations: 250.3 kB / 0.635 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002329/0.5249, allocations: 55.98 kB / 0.6351 GB, free: 13 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006791/0.5256, allocations: 301.4 kB / 0.6354 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/0.526, allocations: 158.1 kB / 0.6355 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/0.5411, allocations: 4.752 MB / 0.6402 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/0.5412, allocations: 12 kB / 0.6402 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.5412, allocations: 4 kB / 0.6402 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-05/0.5413, allocations: 7.969 kB / 0.6402 GB, free: 7.738 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/0.5599, allocations: 6.868 MB / 0.6469 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.5599, allocations: 0 / 0.6469 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009485/0.5609, allocations: 139.8 kB / 0.647 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007245/0.5681, allocations: 2.142 MB / 0.6491 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002834/0.5684, allocations: 35.98 kB / 0.6492 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0237/0.5922, allocations: 9.175 MB / 0.6581 GB, free: 5.082 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5922, allocations: 4 kB / 0.6581 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0185/0.6107, allocations: 5.907 MB / 0.6639 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007585/0.6115, allocations: 274.7 kB / 0.6642 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004451/0.612, allocations: 24 kB / 0.6642 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/0.6137, allocations: 131.8 kB / 0.6643 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008296/0.6145, allocations: 253.2 kB / 0.6645 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.6146, allocations: 35.98 kB / 0.6646 GB, free: 14.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001419/0.6161, allocations: 0.9211 MB / 0.6655 GB, free: 13.49 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6161, allocations: 0 / 0.6655 GB, free: 13.49 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001595/0.6177, allocations: 0.5113 MB / 0.666 GB, free: 12.98 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003294/0.618, allocations: 139.1 kB / 0.6661 GB, free: 12.84 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008509/0.6265, allocations: 2.775 MB / 0.6688 GB, free: 10.05 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.6266, allocations: 0 / 0.6688 GB, free: 10.05 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006278/0.6329, allocations: 1.878 MB / 0.6707 GB, free: 8.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.6345, allocations: 135.2 kB / 0.6708 GB, free: 8.035 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005996/0.6405, allocations: 3.508 MB / 0.6742 GB, free: 4.492 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006967/0.6412, allocations: 1.208 MB / 0.6754 GB, free: 3.25 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006287/0.6419, allocations: 95.41 kB / 0.6755 GB, free: 3.156 MB / 478.1 MB Notification: Performance of SimCode: time 7.81e-07/0.6419, allocations: 4 kB / 0.6755 GB, free: 3.152 MB / 478.1 MB Notification: Performance of Templates: time 0.03173/0.6736, allocations: 24.96 MB / 0.6999 GB, free: 10.2 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)