Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07867/0.07867, allocations: 12.6 MB / 28.9 MB, free: 0.7461 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 111.5 kB / 32.5 MB, free: 3.684 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.1 MB / 241.1 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 188.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.415/0.415, allocations: 78.51 MB / 420 MB, free: 11.23 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002462/0.002462, allocations: 138.7 kB / 0.5565 GB, free: 28.51 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1183, allocations: 68.13 MB / 0.6231 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.009529/0.1279, allocations: 9.285 MB / 0.6321 GB, free: 6.102 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005493/0.1334, allocations: 2.825 MB / 0.6349 GB, free: 3.266 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.1347, allocations: 16 kB / 0.6349 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009761/0.1357, allocations: 368.8 kB / 0.6353 GB, free: 2.887 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002974/0.1387, allocations: 1.274 MB / 0.6365 GB, free: 1.613 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.1404, allocations: 0.8322 MB / 0.6373 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00311/0.1436, allocations: 2.747 MB / 0.64 GB, free: 14.03 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007357/0.1443, allocations: 0.5466 MB / 0.6405 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.1456, allocations: 1.035 MB / 0.6415 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.147, allocations: 1.291 MB / 0.6428 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003292/0.1473, allocations: 220 kB / 0.643 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008806/0.1482, allocations: 475.7 kB / 0.6435 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004424/0.1487, allocations: 0.5409 MB / 0.644 GB, free: 9.887 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008364/0.1495, allocations: 1.057 MB / 0.645 GB, free: 8.824 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.1521, allocations: 2.752 MB / 0.6477 GB, free: 6.062 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1521, allocations: 4 kB / 0.6477 GB, free: 6.059 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1521, allocations: 0 / 0.6477 GB, free: 6.059 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.658e-05/0.1521, allocations: 0 / 0.6477 GB, free: 6.059 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01425/0.1664, allocations: 4.154 MB / 0.6518 GB, free: 1.836 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1665, allocations: 15.98 kB / 0.6518 GB, free: 1.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004575/0.171, allocations: 0.7896 MB / 0.6526 GB, free: 1.027 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.1733, allocations: 1.287 MB / 0.6538 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004402/0.1737, allocations: 474.7 kB / 0.6543 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002482/0.174, allocations: 135.9 kB / 0.6544 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/0.1771, allocations: 1.617 MB / 0.656 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.1771, allocations: 3.938 kB / 0.656 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.1772, allocations: 48 kB / 0.656 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.1773, allocations: 28 kB / 0.656 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003093/0.1804, allocations: 1.5 MB / 0.6575 GB, free: 11.77 MB / 478.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.009813/0.1902, allocations: 5.793 MB / 0.6632 GB, free: 5.754 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008481/0.1987, allocations: 3.176 MB / 0.6663 GB, free: 2.445 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.2008, allocations: 1.003 MB / 0.6673 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005558/0.2014, allocations: 0.7258 MB / 0.668 GB, free: 0.543 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002306/0.2037, allocations: 1.212 MB / 0.6691 GB, free: 15.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.076e-06/0.2037, allocations: 0 / 0.6691 GB, free: 15.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.0403/0.244, allocations: 9.969 MB / 0.6789 GB, free: 5.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.51e-05/0.2441, allocations: 145.8 kB / 0.679 GB, free: 5.098 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003057/0.2472, allocations: 1.65 MB / 0.6806 GB, free: 3.445 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004176/0.2476, allocations: 57.7 kB / 0.6807 GB, free: 3.383 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006338/0.2483, allocations: 0.7068 MB / 0.6814 GB, free: 2.664 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007926/0.2491, allocations: 0.5238 MB / 0.6819 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009912/0.2501, allocations: 395.9 kB / 0.6823 GB, free: 1.738 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2502, allocations: 301.1 kB / 0.6826 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002439/0.2527, allocations: 1.082 MB / 0.6836 GB, free: 364 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002588/0.2553, allocations: 1.311 MB / 0.6849 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004704/0.26, allocations: 2.327 MB / 0.6872 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.26, allocations: 4 kB / 0.6872 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01015/0.2701, allocations: 4.006 MB / 0.6911 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/0.2702, allocations: 33.7 kB / 0.6911 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.2703, allocations: 4 kB / 0.6911 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009268/0.2795, allocations: 2.652 MB / 0.6937 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/0.2815, allocations: 383.5 kB / 0.6941 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00643/0.2879, allocations: 2.687 MB / 0.6967 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/0.2908, allocations: 302 kB / 0.697 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003492/0.2911, allocations: 79.91 kB / 0.6971 GB, free: 2.324 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (222): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0009819/0.2921, allocations: 350.3 kB / 0.6974 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005803/0.2927, allocations: 193.6 kB / 0.6976 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/0.31, allocations: 5.167 MB / 0.7026 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-05/0.3101, allocations: 16 kB / 0.7026 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.3101, allocations: 0 / 0.7026 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-05/0.3102, allocations: 11.97 kB / 0.7026 GB, free: 12.56 MB / 0.5137 GB 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.02172/0.3319, allocations: 7.653 MB / 0.7101 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/0.3319, allocations: 8.062 kB / 0.7101 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.333, allocations: 163.8 kB / 0.7103 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00799/0.3411, allocations: 2.236 MB / 0.7125 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003901/0.3415, allocations: 43.98 kB / 0.7125 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2959/0.6374, allocations: 12.05 MB / 0.7243 GB, free: 80.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.6374, allocations: 3.781 kB / 0.7243 GB, free: 80.94 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02011/0.6575, allocations: 6.361 MB / 0.7305 GB, free: 79.28 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006908/0.6583, allocations: 307.4 kB / 0.7308 GB, free: 79.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/0.6586, allocations: 28.16 kB / 0.7308 GB, free: 79.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/0.6603, allocations: 160.9 kB / 0.731 GB, free: 79.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008359/0.6612, allocations: 293.6 kB / 0.7312 GB, free: 78.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.6613, allocations: 46.7 kB / 0.7313 GB, free: 78.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001633/0.6629, allocations: 1.105 MB / 0.7324 GB, free: 78.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6629, allocations: 0 / 0.7324 GB, free: 78.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001545/0.6645, allocations: 0.5993 MB / 0.733 GB, free: 78.44 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(26,23), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003819/0.6649, allocations: 166.4 kB / 0.7331 GB, free: 78.33 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009014/0.6739, allocations: 3.175 MB / 0.7362 GB, free: 77.31 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.6739, allocations: 0 / 0.7362 GB, free: 77.31 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006034/0.6799, allocations: 2.173 MB / 0.7383 GB, free: 76.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.6813, allocations: 175.3 kB / 0.7385 GB, free: 76.37 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005795/0.6871, allocations: 3.605 MB / 0.742 GB, free: 74.42 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006651/0.6878, allocations: 1.341 MB / 0.7433 GB, free: 73.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004874/0.6883, allocations: 126.9 kB / 0.7435 GB, free: 73.65 MB / 0.5137 GB Notification: Performance of SimCode: time 7.41e-07/0.6883, allocations: 0 / 0.7435 GB, free: 73.65 MB / 0.5137 GB Notification: Performance of Templates: time 0.03079/0.7191, allocations: 34.29 MB / 0.7769 GB, free: 42 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)