Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 173.6 kB / 12.73 MB, free: 2.586 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.198/1.198, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.0008542/0.0008541, allocations: 93.17 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4204/0.4204, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.099e-05/3.1e-05, allocations: 4 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3092, allocations: 69.5 MB / 0.5492 GB, free: 19.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1239/0.4332, allocations: 114.7 MB / 0.6612 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.4334, allocations: 91.92 kB / 0.6613 GB, free: 0.832 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3752/0.8086, allocations: 46.03 MB / 0.7062 GB, free: 103.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.8087, allocations: 0 / 0.7062 GB, free: 103.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.657e-05/0.8088, allocations: 39.94 kB / 0.7063 GB, free: 103.9 MB / 490.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.005453/0.8142, allocations: 2.334 MB / 0.7085 GB, free: 101.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.8143, allocations: 15.97 kB / 0.7086 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002638/0.8146, allocations: 181.3 kB / 0.7087 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003548/0.8181, allocations: 0.7066 MB / 0.7094 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.82, allocations: 1.169 MB / 0.7106 GB, free: 99.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003297/0.8203, allocations: 482.6 kB / 0.711 GB, free: 98.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.8205, allocations: 120 kB / 0.7111 GB, free: 98.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.8226, allocations: 1.414 MB / 0.7125 GB, free: 97.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.8226, allocations: 4 kB / 0.7125 GB, free: 97.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.8228, allocations: 48 kB / 0.7126 GB, free: 97.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.8228, allocations: 28 kB / 0.7126 GB, free: 97.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.8247, allocations: 1.282 MB / 0.7138 GB, free: 95.91 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.008986/0.8337, allocations: 5.851 MB / 0.7196 GB, free: 89.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007395/0.8411, allocations: 3.436 MB / 0.7229 GB, free: 86.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.8425, allocations: 0.8071 MB / 0.7237 GB, free: 85.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004525/0.843, allocations: 0.7324 MB / 0.7244 GB, free: 84.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001417/0.8444, allocations: 1.017 MB / 0.7254 GB, free: 83.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=148): time 3.527e-06/0.8444, allocations: 0 / 0.7254 GB, free: 83.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.01453/0.859, allocations: 5.254 MB / 0.7305 GB, free: 78.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.8591, allocations: 149.8 kB / 0.7307 GB, free: 78.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/0.8612, allocations: 1.372 MB / 0.732 GB, free: 76.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003693/0.8615, allocations: 53.7 kB / 0.7321 GB, free: 76.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.862, allocations: 0.7448 MB / 0.7328 GB, free: 75.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004846/0.8625, allocations: 0.5122 MB / 0.7333 GB, free: 75.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.8626, allocations: 36 kB / 0.7333 GB, free: 75.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.04e-05/0.8627, allocations: 365.8 kB / 0.7337 GB, free: 75.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.8637, allocations: 0.6875 MB / 0.7344 GB, free: 74.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.8648, allocations: 0.8755 MB / 0.7352 GB, free: 73.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.8659, allocations: 0.7924 MB / 0.736 GB, free: 72.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.361e-06/0.866, allocations: 0 / 0.736 GB, free: 72.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.003847/0.8698, allocations: 2.413 MB / 0.7383 GB, free: 70.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.8699, allocations: 41.69 kB / 0.7384 GB, free: 70.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.8699, allocations: 4 kB / 0.7384 GB, free: 70.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007225/0.8771, allocations: 2.519 MB / 0.7408 GB, free: 67.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.8784, allocations: 263.6 kB / 0.7411 GB, free: 67.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00387/0.8823, allocations: 2.257 MB / 0.7433 GB, free: 65.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/0.8846, allocations: 302.5 kB / 0.7436 GB, free: 64.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.8848, allocations: 55.98 kB / 0.7436 GB, free: 64.73 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * 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.0002971/0.8851, allocations: 196.6 kB / 0.7438 GB, free: 64.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.8855, allocations: 193.6 kB / 0.744 GB, free: 64.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01439/0.8999, allocations: 5.401 MB / 0.7493 GB, free: 58.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/0.8999, allocations: 16 kB / 0.7493 GB, free: 58.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.8999, allocations: 3.938 kB / 0.7493 GB, free: 58.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.973e-05/0.9, allocations: 7.969 kB / 0.7493 GB, free: 58.89 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 postOpt removeSimpleEquations (simulation): time 0.01746/0.9174, allocations: 7.982 MB / 0.7571 GB, free: 50.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/0.9175, allocations: 0 / 0.7571 GB, free: 50.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.9186, allocations: 171.7 kB / 0.7573 GB, free: 50.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006195/0.9248, allocations: 2.104 MB / 0.7593 GB, free: 48.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003391/0.9252, allocations: 39.98 kB / 0.7594 GB, free: 48.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/0.9428, allocations: 9.663 MB / 0.7688 GB, free: 38.56 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.9428, allocations: 0 / 0.7688 GB, free: 38.56 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01622/0.9591, allocations: 6.53 MB / 0.7752 GB, free: 31.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006924/0.9598, allocations: 314.4 kB / 0.7755 GB, free: 31.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005234/0.9603, allocations: 28 kB / 0.7755 GB, free: 31.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/0.9624, allocations: 215.8 kB / 0.7757 GB, free: 31.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000848/0.9633, allocations: 285.2 kB / 0.776 GB, free: 31.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/0.9634, allocations: 39.98 kB / 0.776 GB, free: 31.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001534/0.965, allocations: 1.058 MB / 0.7771 GB, free: 30.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.965, allocations: 0 / 0.7771 GB, free: 30.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001727/0.9667, allocations: 0.5696 MB / 0.7776 GB, free: 29.47 MB / 490.7 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 () * 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.01951/0.9862, allocations: 7.378 MB / 0.7848 GB, free: 22.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006467/0.9927, allocations: 2.641 MB / 0.7874 GB, free: 19.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.9928, allocations: 192 / 0.7874 GB, free: 19.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005577/0.9984, allocations: 2.137 MB / 0.7895 GB, free: 17.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.9996, allocations: 159.5 kB / 0.7896 GB, free: 17.06 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005448/1.005, allocations: 3.161 MB / 0.7927 GB, free: 13.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/1.006, allocations: 1.381 MB / 0.7941 GB, free: 12.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006293/1.006, allocations: 150.2 kB / 0.7942 GB, free: 12.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007426/1.007, allocations: 0.7101 MB / 0.7949 GB, free: 11.57 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/1.007, allocations: 0 / 0.7949 GB, free: 11.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06464/1.072, allocations: 43.14 MB / 0.837 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/1.072, allocations: 166 kB / 0.8372 GB, free: 372 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.182/4.254, allocations: 3.938 kB / 0.8372 GB, free: 368 kB / 0.5105 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)