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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 222.9 MB / 239.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 107.5 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4658/0.4658, allocations: 78.49 MB / 418.5 MB, free: 8.828 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.91 kB / 497.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2873, allocations: 68.13 MB / 0.5523 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.006446/0.2938, allocations: 8.31 MB / 0.5604 GB, free: 11.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004248/0.298, allocations: 2.546 MB / 0.5629 GB, free: 9.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.2991, allocations: 12 kB / 0.5629 GB, free: 9.309 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007501/0.2999, allocations: 246.4 kB / 0.5632 GB, free: 9.066 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.3023, allocations: 1.087 MB / 0.5642 GB, free: 7.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.3037, allocations: 0.6115 MB / 0.5648 GB, free: 7.375 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002261/0.3059, allocations: 2.189 MB / 0.567 GB, free: 5.176 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005006/0.3065, allocations: 338.4 kB / 0.5673 GB, free: 4.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008339/0.3073, allocations: 0.774 MB / 0.568 GB, free: 4.043 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008903/0.3082, allocations: 1.042 MB / 0.5691 GB, free: 2.996 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.3084, allocations: 104 kB / 0.5692 GB, free: 2.895 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006033/0.309, allocations: 267.8 kB / 0.5694 GB, free: 2.633 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002964/0.3093, allocations: 382.2 kB / 0.5698 GB, free: 2.258 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005487/0.3099, allocations: 0.8038 MB / 0.5706 GB, free: 1.449 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.3113, allocations: 2.106 MB / 0.5726 GB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3114, allocations: 0 / 0.5726 GB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3114, allocations: 0 / 0.5726 GB, free: 15.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.3114, allocations: 0 / 0.5726 GB, free: 15.34 MB / 394.7 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.01388/0.3253, allocations: 3.801 MB / 0.5763 GB, free: 11.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3253, allocations: 8.031 kB / 0.5763 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00442/0.3297, allocations: 0.7433 MB / 0.5771 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.3317, allocations: 1.088 MB / 0.5781 GB, free: 9.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004027/0.3322, allocations: 417 kB / 0.5785 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.3324, allocations: 111.9 kB / 0.5786 GB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.3351, allocations: 1.368 MB / 0.58 GB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.3351, allocations: 0 / 0.58 GB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.3352, allocations: 36 kB / 0.58 GB, free: 7.578 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.3352, allocations: 20 kB / 0.58 GB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/0.338, allocations: 1.304 MB / 0.5813 GB, free: 6.254 MB / 394.7 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.008129/0.3461, allocations: 4.672 MB / 0.5859 GB, free: 1.371 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008562/0.3547, allocations: 2.892 MB / 0.5887 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00236/0.3571, allocations: 0.8996 MB / 0.5896 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.3573, allocations: 20.98 kB / 0.5896 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002257/0.3596, allocations: 1.046 MB / 0.5906 GB, free: 12.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=124): time 3.236e-06/0.3596, allocations: 4 kB / 0.5906 GB, free: 12.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=124): time 0.04324/0.4028, allocations: 9.894 MB / 0.6003 GB, free: 2.402 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.4029, allocations: 127.9 kB / 0.6004 GB, free: 2.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.405, allocations: 1.341 MB / 0.6017 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002748/0.4053, allocations: 53.7 kB / 0.6017 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/0.4057, allocations: 0.5686 MB / 0.6023 GB, free: 268 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004571/0.4061, allocations: 457.7 kB / 0.6027 GB, free: 15.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006098/0.4068, allocations: 327.4 kB / 0.6031 GB, free: 15.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.4068, allocations: 313 kB / 0.6033 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.409, allocations: 0.9526 MB / 0.6043 GB, free: 14.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002277/0.4113, allocations: 1.155 MB / 0.6054 GB, free: 13.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004199/0.4155, allocations: 2.05 MB / 0.6074 GB, free: 10.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.4155, allocations: 0 / 0.6074 GB, free: 10.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01059/0.4261, allocations: 3.819 MB / 0.6111 GB, free: 7.094 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.4262, allocations: 8 kB / 0.6111 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.4262, allocations: 7.938 kB / 0.6112 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/0.4364, allocations: 2.671 MB / 0.6138 GB, free: 4.398 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.438, allocations: 295.6 kB / 0.614 GB, free: 4.109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006685/0.4447, allocations: 2.691 MB / 0.6167 GB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/0.4472, allocations: 250.3 kB / 0.6169 GB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/0.4474, allocations: 59.98 kB / 0.617 GB, free: 1.09 MB / 426.7 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.0006097/0.4481, allocations: 294.5 kB / 0.6172 GB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003224/0.4484, allocations: 158.1 kB / 0.6174 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01689/0.4653, allocations: 4.755 MB / 0.622 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.4654, allocations: 12 kB / 0.6221 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4654, allocations: 3.938 kB / 0.6221 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.018e-05/0.4654, allocations: 11.97 kB / 0.6221 GB, free: 11.83 MB / 442.7 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.01963/0.485, allocations: 6.86 MB / 0.6288 GB, free: 4.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/0.4851, allocations: 4 kB / 0.6288 GB, free: 4.812 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009127/0.486, allocations: 143.7 kB / 0.6289 GB, free: 4.672 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007902/0.4939, allocations: 2.146 MB / 0.631 GB, free: 2.523 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000367/0.4943, allocations: 28 kB / 0.631 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02555/0.5199, allocations: 9.183 MB / 0.64 GB, free: 9.168 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.52, allocations: 0 / 0.64 GB, free: 9.168 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1228/0.6427, allocations: 40.09 MB / 0.6791 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003571/0.6431, allocations: 262.8 kB / 0.6794 GB, free: 464 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.6433, allocations: 28 kB / 0.6794 GB, free: 436 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.6449, allocations: 135.8 kB / 0.6796 GB, free: 300 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008088/0.6457, allocations: 257.2 kB / 0.6798 GB, free: 44 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.6458, allocations: 39.97 kB / 0.6798 GB, free: 4 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.2592/0.905, allocations: 0.9086 MB / 0.6807 GB, free: 115.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.9051, allocations: 0 / 0.6807 GB, free: 115.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002935/0.908, allocations: 0.7514 MB / 0.6815 GB, free: 115.6 MB / 490.7 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.0003825/0.9084, allocations: 147.1 kB / 0.6816 GB, free: 115.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009547/0.918, allocations: 2.778 MB / 0.6843 GB, free: 115.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.9181, allocations: 3.156 kB / 0.6843 GB, free: 115.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006924/0.925, allocations: 1.879 MB / 0.6862 GB, free: 115.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.9266, allocations: 132.1 kB / 0.6863 GB, free: 115.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/0.9397, allocations: 5.149 MB / 0.6913 GB, free: 113 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.9408, allocations: 1.264 MB / 0.6925 GB, free: 112.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00104/0.9419, allocations: 154 kB / 0.6927 GB, free: 112.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/0.9423, allocations: 94.66 kB / 0.6928 GB, free: 112.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.502e-06/0.9423, allocations: 0 / 0.6928 GB, free: 112.2 MB / 490.7 MB Notification: Performance of Templates: time 0.05487/0.9972, allocations: 40.22 MB / 0.7321 GB, free: 78.12 MB / 490.7 MB 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)