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.005158/0.005158, allocations: 104.8 kB / 15.74 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 222.9 MB / 239.4 MB, free: 4.512 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.001233/0.001233, allocations: 184.5 kB / 289.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4107/0.4107, allocations: 78.54 MB / 418.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 79.89 kB / 0.5532 GB, free: 1.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2764, allocations: 68.16 MB / 0.6197 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.006748/0.2832, allocations: 9.234 MB / 0.6287 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005169/0.2884, allocations: 2.86 MB / 0.6315 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.2896, allocations: 19.94 kB / 0.6316 GB, free: 14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.2907, allocations: 364.9 kB / 0.6319 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003146/0.2938, allocations: 1.26 MB / 0.6331 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.2955, allocations: 0.8378 MB / 0.6339 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002764/0.2982, allocations: 2.759 MB / 0.6366 GB, free: 8.773 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007717/0.299, allocations: 0.5388 MB / 0.6372 GB, free: 8.195 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.3006, allocations: 1.035 MB / 0.6382 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.3023, allocations: 1.284 MB / 0.6394 GB, free: 5.867 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002808/0.3026, allocations: 220 kB / 0.6396 GB, free: 5.652 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007441/0.3033, allocations: 475.7 kB / 0.6401 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004402/0.3038, allocations: 0.5409 MB / 0.6406 GB, free: 4.645 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.3049, allocations: 1.057 MB / 0.6417 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002829/0.3077, allocations: 2.752 MB / 0.6443 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3078, allocations: 0 / 0.6443 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.117e-06/0.3078, allocations: 4 kB / 0.6443 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.181e-05/0.3078, allocations: 3.938 kB / 0.6444 GB, free: 0.8125 MB / 446.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.01298/0.3208, allocations: 4.163 MB / 0.6484 GB, free: 12.58 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3208, allocations: 8.031 kB / 0.6484 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002019/0.3211, allocations: 181.3 kB / 0.6486 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004251/0.3253, allocations: 0.7934 MB / 0.6494 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001974/0.3273, allocations: 1.283 MB / 0.6506 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000418/0.3277, allocations: 470.7 kB / 0.6511 GB, free: 9.719 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.328, allocations: 135.9 kB / 0.6512 GB, free: 9.586 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.3308, allocations: 1.621 MB / 0.6528 GB, free: 7.918 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.3309, allocations: 0 / 0.6528 GB, free: 7.918 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.331, allocations: 55.94 kB / 0.6528 GB, free: 7.863 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.331, allocations: 31.98 kB / 0.6529 GB, free: 7.832 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002916/0.334, allocations: 1.492 MB / 0.6543 GB, free: 6.332 MB / 462.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.009729/0.3437, allocations: 5.792 MB / 0.66 GB, free: 328 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008112/0.3518, allocations: 3.185 MB / 0.6631 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.3538, allocations: 0.9903 MB / 0.6641 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005458/0.3543, allocations: 0.7297 MB / 0.6648 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002141/0.3565, allocations: 1.204 MB / 0.666 GB, free: 9.883 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 2.845e-06/0.3565, allocations: 4 kB / 0.666 GB, free: 9.879 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.03793/0.3944, allocations: 9.973 MB / 0.6757 GB, free: 15.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/0.3945, allocations: 149.8 kB / 0.6758 GB, free: 15.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/0.3973, allocations: 1.639 MB / 0.6774 GB, free: 14.03 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002994/0.3976, allocations: 57.7 kB / 0.6775 GB, free: 13.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005706/0.3982, allocations: 0.7107 MB / 0.6782 GB, free: 13.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006184/0.3988, allocations: 0.5276 MB / 0.6787 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008395/0.3997, allocations: 399.9 kB / 0.6791 GB, free: 12.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.3998, allocations: 301.1 kB / 0.6794 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002186/0.402, allocations: 1.078 MB / 0.6804 GB, free: 10.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.4043, allocations: 1.317 MB / 0.6817 GB, free: 9.551 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004345/0.4087, allocations: 2.323 MB / 0.684 GB, free: 7.137 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.4087, allocations: 4 kB / 0.684 GB, free: 7.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009358/0.418, allocations: 4.006 MB / 0.6879 GB, free: 3.062 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/0.4181, allocations: 33.7 kB / 0.6879 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.4181, allocations: 4 kB / 0.6879 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008468/0.4266, allocations: 2.652 MB / 0.6905 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.4283, allocations: 383.5 kB / 0.6909 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005941/0.4343, allocations: 2.699 MB / 0.6935 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/0.4368, allocations: 290.1 kB / 0.6938 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/0.4371, allocations: 83.97 kB / 0.6939 GB, free: 12.89 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.0007824/0.4379, allocations: 343.3 kB / 0.6942 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004937/0.4384, allocations: 189.6 kB / 0.6944 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01585/0.4543, allocations: 5.163 MB / 0.6994 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.4543, allocations: 16 kB / 0.6994 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.4543, allocations: 4 kB / 0.6994 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/0.4543, allocations: 11.97 kB / 0.6995 GB, free: 7.145 MB / 0.4981 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.01892/0.4733, allocations: 7.645 MB / 0.7069 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/0.4733, allocations: 3.938 kB / 0.7069 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.4743, allocations: 171.8 kB / 0.7071 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007301/0.4817, allocations: 2.236 MB / 0.7093 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003196/0.482, allocations: 39.92 kB / 0.7093 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02647/0.5085, allocations: 12.07 MB / 0.7211 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5085, allocations: 0 / 0.7211 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01796/0.5265, allocations: 6.368 MB / 0.7273 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006195/0.5271, allocations: 302.5 kB / 0.7276 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004148/0.5276, allocations: 28 kB / 0.7276 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/0.5294, allocations: 159.8 kB / 0.7278 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008343/0.5302, allocations: 293.2 kB / 0.7281 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/0.5304, allocations: 43.98 kB / 0.7281 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001796/0.5322, allocations: 1.105 MB / 0.7292 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5322, allocations: 0 / 0.7292 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001689/0.5339, allocations: 0.6009 MB / 0.7298 GB, free: 7.605 MB / 0.5294 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.01824/0.5521, allocations: 6.974 MB / 0.7366 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008648/0.5608, allocations: 3.174 MB / 0.7397 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.5609, allocations: 4.25 kB / 0.7397 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006116/0.567, allocations: 2.183 MB / 0.7418 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.5686, allocations: 185.1 kB / 0.742 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04519/0.6138, allocations: 21.08 MB / 0.7626 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000921/0.6148, allocations: 1.343 MB / 0.7639 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006146/0.6154, allocations: 167.6 kB / 0.764 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009469/0.6164, allocations: 0.7258 MB / 0.7648 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.6164, allocations: 0 / 0.7648 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.295/0.9113, allocations: 51.37 MB / 0.8149 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.29, allocations: 14.95 kB / 0.8149 GB, free: 103.7 MB / 0.5606 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)