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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 178.4 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009365/0.0009365, allocations: 85.75 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09958/0.09958, allocations: 12.19 MB / 321.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3266/0.3266, allocations: 78.07 MB / 450.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.406e-05/1.395e-05, allocations: 0 / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1221, allocations: 69.23 MB / 0.5819 GB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5449/0.6671, allocations: 114.9 MB / 0.694 GB, free: 10.17 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003452/0.6675, allocations: 96.25 kB / 0.6941 GB, free: 10.11 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1351/0.8026, allocations: 45.92 MB / 0.739 GB, free: 4.414 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.8027, allocations: 0 / 0.739 GB, free: 4.414 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001266/0.8029, allocations: 32 kB / 0.739 GB, free: 4.383 MB / 474.7 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.007217/0.8101, allocations: 2.336 MB / 0.7413 GB, free: 2.152 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.8102, allocations: 8.031 kB / 0.7413 GB, free: 2.145 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003746/0.8139, allocations: 0.5932 MB / 0.7419 GB, free: 1.594 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00313/0.8171, allocations: 1.138 MB / 0.743 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005585/0.8177, allocations: 425.5 kB / 0.7434 GB, free: 200 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004126/0.8181, allocations: 79.02 kB / 0.7435 GB, free: 124 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002486/0.8206, allocations: 1.216 MB / 0.7446 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.8229, allocations: 1.238 MB / 0.7459 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.823, allocations: 0 / 0.7459 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.8231, allocations: 3.984 kB / 0.7459 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.8231, allocations: 28 kB / 0.7459 GB, free: 14.48 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01267/0.8358, allocations: 5.59 MB / 0.7513 GB, free: 9.902 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008975/0.8448, allocations: 3.362 MB / 0.7546 GB, free: 6.402 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001746/0.8466, allocations: 0.768 MB / 0.7554 GB, free: 5.625 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008511/0.8475, allocations: 0.7388 MB / 0.7561 GB, free: 4.723 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002136/0.8497, allocations: 0.9641 MB / 0.757 GB, free: 3.734 MB / 490.7 MB Notification: Performance of pre-optimization done (n=148): time 6.833e-06/0.8497, allocations: 7.984 kB / 0.757 GB, free: 3.727 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.01871/0.8684, allocations: 5.153 MB / 0.7621 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.8687, allocations: 149.9 kB / 0.7622 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002928/0.8716, allocations: 1.206 MB / 0.7634 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000627/0.8722, allocations: 25.7 kB / 0.7634 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007067/0.873, allocations: 0.7345 MB / 0.7641 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007845/0.8737, allocations: 0.4925 MB / 0.7646 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.8739, allocations: 0 / 0.7646 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002451/0.8741, allocations: 369.9 kB / 0.765 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.8754, allocations: 0.6562 MB / 0.7656 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.8768, allocations: 0.8442 MB / 0.7664 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.8784, allocations: 0.7399 MB / 0.7672 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.8785, allocations: 7.938 kB / 0.7672 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005023/0.8835, allocations: 2.248 MB / 0.7694 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.211e-05/0.8836, allocations: 37.64 kB / 0.7694 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/0.8836, allocations: 4 kB / 0.7694 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008086/0.8917, allocations: 2.281 MB / 0.7716 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.8933, allocations: 259.7 kB / 0.7719 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005654/0.8989, allocations: 2.425 MB / 0.7742 GB, free: 1.934 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/0.9019, allocations: 266.6 kB / 0.7745 GB, free: 1.672 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002869/0.9022, allocations: 59.98 kB / 0.7746 GB, free: 1.613 MB / 0.4948 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * 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.0004718/0.9027, allocations: 132.7 kB / 0.7747 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.017/0.9197, allocations: 5.157 MB / 0.7797 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002025/0.9218, allocations: 189.7 kB / 0.7799 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01672/0.9386, allocations: 5.284 MB / 0.7851 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.818e-05/0.9387, allocations: 16 kB / 0.7851 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.9387, allocations: 0 / 0.7851 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.586e-05/0.9388, allocations: 11.98 kB / 0.7851 GB, free: 6.777 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.02128/0.9601, allocations: 7.682 MB / 0.7926 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.758e-05/0.9602, allocations: 0 / 0.7926 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.9615, allocations: 167.7 kB / 0.7927 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007135/0.9686, allocations: 2.081 MB / 0.7948 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005005/0.9692, allocations: 23.88 kB / 0.7948 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02088/0.9901, allocations: 9.482 MB / 0.8041 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/0.9901, allocations: 3.938 kB / 0.8041 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01946/1.01, allocations: 6.407 MB / 0.8103 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/1.011, allocations: 302.5 kB / 0.8106 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007468/1.012, allocations: 4 kB / 0.8106 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002227/1.014, allocations: 191.8 kB / 0.8108 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001045/1.015, allocations: 281.2 kB / 0.8111 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.015, allocations: 43.98 kB / 0.8111 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001732/1.017, allocations: 0.9087 MB / 0.812 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.31e-07/1.017, allocations: 4 kB / 0.812 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00242/1.019, allocations: 0.5031 MB / 0.8125 GB, free: 10.26 MB / 0.5417 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 () * 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.01989/1.039, allocations: 7.233 MB / 0.8196 GB, free: 2.969 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00934/1.049, allocations: 2.548 MB / 0.822 GB, free: 416 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.049, allocations: 256 / 0.822 GB, free: 416 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007357/1.056, allocations: 2.062 MB / 0.8241 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/1.058, allocations: 137.6 kB / 0.8242 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008277/1.067, allocations: 3.039 MB / 0.8272 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/1.068, allocations: 1.377 MB / 0.8285 GB, free: 9.672 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009371/1.069, allocations: 146 kB / 0.8286 GB, free: 9.527 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/1.07, allocations: 0.7023 MB / 0.8293 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of SimCode: time 3.737e-06/1.07, allocations: 4 kB / 0.8293 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4551/1.525, allocations: 39.72 MB / 0.8681 GB, free: 171.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/1.525, allocations: 129.6 kB / 0.8682 GB, free: 171.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.762/5.288, allocations: 0 / 0.8682 GB, free: 171.2 MB / 0.573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)