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/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/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/package.mo): time 0.07382/0.07382, allocations: 12.19 MB / 27.15 MB, free: 1.535 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.0009156/0.0009156, allocations: 104.4 kB / 30.66 MB, free: 4.883 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.218/1.218, allocations: 205.4 MB / 239.5 MB, free: 11.59 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.001148/0.001148, allocations: 177.1 kB / 290.6 MB, free: 15.82 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4429/0.4429, allocations: 78.51 MB / 420.1 MB, free: 32.64 MB / 318.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.0009831/0.0009834, allocations: 32 kB / 0.4894 GB, free: 15.93 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3431, allocations: 69.22 MB / 0.557 GB, free: 37.55 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.00611/0.3492, allocations: 8.091 MB / 0.5649 GB, free: 31.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004653/0.3539, allocations: 2.794 MB / 0.5676 GB, free: 29.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.3557, allocations: 21.78 kB / 0.5676 GB, free: 29.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009269/0.3567, allocations: 260 kB / 0.5679 GB, free: 29.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.3597, allocations: 1.116 MB / 0.569 GB, free: 28.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.3613, allocations: 0.6573 MB / 0.5696 GB, free: 28.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002022/0.3633, allocations: 1.67 MB / 0.5713 GB, free: 27.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005554/0.3639, allocations: 439.2 kB / 0.5717 GB, free: 27.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000895/0.3648, allocations: 0.8667 MB / 0.5725 GB, free: 27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.3658, allocations: 1.095 MB / 0.5736 GB, free: 26.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002201/0.366, allocations: 104.3 kB / 0.5737 GB, free: 26.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006361/0.3667, allocations: 311.9 kB / 0.574 GB, free: 26.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.367, allocations: 409.5 kB / 0.5744 GB, free: 26.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.3673, allocations: 334.1 kB / 0.5747 GB, free: 26.03 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.3687, allocations: 1.977 MB / 0.5766 GB, free: 25.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3687, allocations: 3.938 kB / 0.5766 GB, free: 25.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3687, allocations: 3.938 kB / 0.5766 GB, free: 25.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.052e-05/0.3687, allocations: 0 / 0.5766 GB, free: 25.49 MB / 414.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.01307/0.3818, allocations: 3.913 MB / 0.5805 GB, free: 24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3819, allocations: 12.48 kB / 0.5805 GB, free: 24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004861/0.3867, allocations: 0.7867 MB / 0.5812 GB, free: 23.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/0.3894, allocations: 1.228 MB / 0.5824 GB, free: 23.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000427/0.3898, allocations: 486.2 kB / 0.5829 GB, free: 22.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003086/0.3901, allocations: 134.6 kB / 0.583 GB, free: 22.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/0.3936, allocations: 1.681 MB / 0.5847 GB, free: 21.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.3936, allocations: 4 kB / 0.5847 GB, free: 21.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.3938, allocations: 47.7 kB / 0.5847 GB, free: 21.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.3938, allocations: 27.5 kB / 0.5847 GB, free: 21.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003456/0.3973, allocations: 1.583 MB / 0.5863 GB, free: 21.37 MB / 414.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.01126/0.4086, allocations: 6.048 MB / 0.5922 GB, free: 17.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009139/0.4177, allocations: 3.756 MB / 0.5959 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005093/0.4183, allocations: 0.7316 MB / 0.5966 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002418/0.4207, allocations: 1.285 MB / 0.5978 GB, free: 13.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 3.627e-06/0.4207, allocations: 7.938 kB / 0.5978 GB, free: 13.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=148): time 0.04055/0.4613, allocations: 11.93 MB / 0.6095 GB, free: 3.379 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.4614, allocations: 153.8 kB / 0.6096 GB, free: 3.199 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002588/0.464, allocations: 1.627 MB / 0.6112 GB, free: 1.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005867/0.4646, allocations: 53.7 kB / 0.6113 GB, free: 1.512 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000437/0.465, allocations: 0.7146 MB / 0.612 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005805/0.4656, allocations: 0.5276 MB / 0.6125 GB, free: 256 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.4658, allocations: 44 kB / 0.6125 GB, free: 212 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4659, allocations: 382.3 kB / 0.6129 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002391/0.4683, allocations: 1.156 MB / 0.614 GB, free: 14.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002488/0.4708, allocations: 1.373 MB / 0.6154 GB, free: 13.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.4734, allocations: 1.27 MB / 0.6166 GB, free: 11.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.4734, allocations: 0 / 0.6166 GB, free: 11.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01028/0.4837, allocations: 4.374 MB / 0.6209 GB, free: 7.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.214e-05/0.4838, allocations: 37.7 kB / 0.6209 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.918e-05/0.4838, allocations: 4 kB / 0.6209 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009206/0.4931, allocations: 3.03 MB / 0.6239 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.4949, allocations: 387.5 kB / 0.6242 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006305/0.5012, allocations: 3 MB / 0.6272 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/0.504, allocations: 349.9 kB / 0.6275 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002994/0.5043, allocations: 75.98 kB / 0.6276 GB, free: 0.5938 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0008072/0.5051, allocations: 342 kB / 0.6279 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003977/0.5055, allocations: 193.6 kB / 0.6281 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01752/0.523, allocations: 6.226 MB / 0.6342 GB, free: 9.805 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.5231, allocations: 16 kB / 0.6342 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.5231, allocations: 0 / 0.6342 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.205e-05/0.5232, allocations: 7.969 kB / 0.6342 GB, free: 9.781 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.02219/0.5454, allocations: 8.756 MB / 0.6427 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.583e-05/0.5454, allocations: 0 / 0.6427 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.5466, allocations: 171.8 kB / 0.6429 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008259/0.5549, allocations: 2.615 MB / 0.6455 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003853/0.5553, allocations: 35.98 kB / 0.6455 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02856/0.5839, allocations: 12.83 MB / 0.658 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5839, allocations: 3.938 kB / 0.658 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0202/0.6041, allocations: 7.54 MB / 0.6654 GB, free: 9.344 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007663/0.6049, allocations: 314.4 kB / 0.6657 GB, free: 9.016 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005888/0.6055, allocations: 35.94 kB / 0.6657 GB, free: 8.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/0.6076, allocations: 211.8 kB / 0.6659 GB, free: 8.773 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008837/0.6085, allocations: 285.2 kB / 0.6662 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/0.6087, allocations: 47.98 kB / 0.6662 GB, free: 8.441 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001976/0.6106, allocations: 1.09 MB / 0.6673 GB, free: 7.359 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6107, allocations: 0 / 0.6673 GB, free: 7.359 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001918/0.6126, allocations: 0.6009 MB / 0.6679 GB, free: 6.758 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 23,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003887/0.613, allocations: 171 kB / 0.6681 GB, free: 6.582 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009129/0.6221, allocations: 3.491 MB / 0.6715 GB, free: 3.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.6222, allocations: 0 / 0.6715 GB, free: 3.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006613/0.6288, allocations: 2.424 MB / 0.6738 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.63, allocations: 144 kB / 0.674 GB, free: 488 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006922/0.637, allocations: 4.232 MB / 0.6781 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009383/0.638, allocations: 1.382 MB / 0.6795 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007713/0.6387, allocations: 179.5 kB / 0.6796 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004502/0.6392, allocations: 103.4 kB / 0.6797 GB, free: 10.52 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6392, allocations: 0 / 0.6797 GB, free: 10.52 MB / 494.1 MB Notification: Performance of Templates: time 0.04476/0.684, allocations: 28.34 MB / 0.7074 GB, free: 14.18 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: