Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 239.3 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 187.6 kB / 289.6 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4185/0.4185, allocations: 78.54 MB / 418.2 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001564, allocations: 79.88 kB / 497.6 MB, free: 6.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1102, allocations: 68.18 MB / 0.5525 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.1907/0.3009, allocations: 9.223 MB / 0.5615 GB, free: 34.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004327/0.3053, allocations: 2.862 MB / 0.5643 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007035/0.306, allocations: 19.5 kB / 0.5643 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007596/0.3068, allocations: 367.9 kB / 0.5646 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002334/0.3092, allocations: 1.26 MB / 0.5659 GB, free: 33.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.3105, allocations: 0.8447 MB / 0.5667 GB, free: 33.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.3125, allocations: 2.733 MB / 0.5694 GB, free: 32.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006033/0.3131, allocations: 0.5408 MB / 0.5699 GB, free: 32.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008893/0.314, allocations: 1.025 MB / 0.5709 GB, free: 32.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009867/0.315, allocations: 1.293 MB / 0.5722 GB, free: 31.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002766/0.3153, allocations: 218 kB / 0.5724 GB, free: 31.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006542/0.3159, allocations: 479.6 kB / 0.5728 GB, free: 31.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003273/0.3163, allocations: 0.538 MB / 0.5734 GB, free: 31.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006397/0.3169, allocations: 1.06 MB / 0.5744 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.3187, allocations: 2.705 MB / 0.577 GB, free: 30.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3187, allocations: 4.5 kB / 0.577 GB, free: 30.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3187, allocations: 2.656 kB / 0.577 GB, free: 30.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.686e-05/0.3188, allocations: 0 / 0.577 GB, free: 30.51 MB / 430.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.01321/0.332, allocations: 4.162 MB / 0.5811 GB, free: 28.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.332, allocations: 12 kB / 0.5811 GB, free: 28.83 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001998/0.3322, allocations: 184.5 kB / 0.5813 GB, free: 28.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004469/0.3367, allocations: 0.7838 MB / 0.5821 GB, free: 28.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.3386, allocations: 1.281 MB / 0.5833 GB, free: 27.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003596/0.3389, allocations: 472.6 kB / 0.5838 GB, free: 27.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/0.3392, allocations: 132.6 kB / 0.5839 GB, free: 27.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002943/0.3421, allocations: 1.625 MB / 0.5855 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.3422, allocations: 0 / 0.5855 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.3423, allocations: 48.66 kB / 0.5855 GB, free: 26.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.3424, allocations: 29.16 kB / 0.5855 GB, free: 26.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003009/0.3454, allocations: 1.5 MB / 0.587 GB, free: 26.04 MB / 430.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.008746/0.3541, allocations: 5.832 MB / 0.5927 GB, free: 22.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00863/0.3628, allocations: 3.178 MB / 0.5958 GB, free: 21.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/0.3647, allocations: 0.9914 MB / 0.5968 GB, free: 21.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004175/0.3652, allocations: 0.7359 MB / 0.5975 GB, free: 20.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002312/0.3675, allocations: 1.204 MB / 0.5987 GB, free: 19.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.156e-06/0.3675, allocations: 0 / 0.5987 GB, free: 19.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.03949/0.407, allocations: 9.976 MB / 0.6084 GB, free: 17.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.4071, allocations: 148.9 kB / 0.6086 GB, free: 17.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/0.4094, allocations: 1.642 MB / 0.6102 GB, free: 16.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002306/0.4096, allocations: 56.45 kB / 0.6102 GB, free: 16.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/0.41, allocations: 0.7073 MB / 0.6109 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003988/0.4104, allocations: 0.5323 MB / 0.6114 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006261/0.411, allocations: 394.9 kB / 0.6118 GB, free: 14.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 2.889e-05/0.4111, allocations: 302.2 kB / 0.6121 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002127/0.4132, allocations: 1.074 MB / 0.6131 GB, free: 14.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/0.4154, allocations: 1.316 MB / 0.6144 GB, free: 13.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004146/0.4196, allocations: 2.331 MB / 0.6167 GB, free: 11.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.4196, allocations: 1.406 kB / 0.6167 GB, free: 11.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.008891/0.4285, allocations: 4.006 MB / 0.6206 GB, free: 8.598 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.4286, allocations: 33.7 kB / 0.6206 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.4286, allocations: 4.938 kB / 0.6206 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00834/0.4369, allocations: 2.664 MB / 0.6232 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.4385, allocations: 383.5 kB / 0.6236 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005401/0.4439, allocations: 2.7 MB / 0.6263 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/0.4462, allocations: 286.1 kB / 0.6265 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.4463, allocations: 76.5 kB / 0.6266 GB, free: 2.43 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 ($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.0005834/0.4469, allocations: 343 kB / 0.6269 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/0.4472, allocations: 193.7 kB / 0.6271 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01608/0.4633, allocations: 5.168 MB / 0.6322 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.4633, allocations: 16.52 kB / 0.6322 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4634, allocations: 0.75 kB / 0.6322 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.229e-05/0.4634, allocations: 11.97 kB / 0.6322 GB, free: 12.67 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.01954/0.4829, allocations: 7.651 MB / 0.6397 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.483, allocations: 0 / 0.6397 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009708/0.4839, allocations: 179.8 kB / 0.6398 GB, free: 4.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007646/0.4916, allocations: 2.235 MB / 0.642 GB, free: 2.461 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001953/0.4918, allocations: 41.11 kB / 0.642 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02754/0.5194, allocations: 12.07 MB / 0.6538 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.5194, allocations: 0.8594 kB / 0.6538 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01956/0.539, allocations: 6.359 MB / 0.66 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006313/0.5396, allocations: 302.5 kB / 0.6603 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004684/0.5401, allocations: 32.81 kB / 0.6604 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/0.5421, allocations: 159.8 kB / 0.6605 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008554/0.5429, allocations: 295.2 kB / 0.6608 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.5431, allocations: 43.98 kB / 0.6608 GB, free: 14.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001866/0.545, allocations: 1.109 MB / 0.6619 GB, free: 13.73 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.545, allocations: 0 / 0.6619 GB, free: 13.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001705/0.5467, allocations: 0.6009 MB / 0.6625 GB, free: 13.13 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 (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.01991/0.5666, allocations: 6.983 MB / 0.6693 GB, free: 6.105 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01048/0.5771, allocations: 3.235 MB / 0.6725 GB, free: 2.848 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.5772, allocations: 4 kB / 0.6725 GB, free: 2.844 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006669/0.5838, allocations: 2.178 MB / 0.6746 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.5857, allocations: 176.8 kB / 0.6748 GB, free: 484 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04835/0.6341, allocations: 22.87 MB / 0.6971 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.6352, allocations: 1.343 MB / 0.6984 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007649/0.6359, allocations: 169.9 kB / 0.6986 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.637, allocations: 0.7141 MB / 0.6993 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.637, allocations: 1.406 kB / 0.6993 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08145/0.7184, allocations: 48.87 MB / 0.747 GB, free: 5.512 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.23, allocations: 11.75 kB / 0.747 GB, free: 5.504 MB / 0.545 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)