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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0056/0.0056, allocations: 99.11 kB / 15.73 MB, free: 6.039 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.42/1.42, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001445/0.001444, allocations: 192.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5441/0.5441, allocations: 91.91 MB / 431.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 82.31 kB / 0.5723 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1161, allocations: 71.29 MB / 0.6419 GB, free: 4.078 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.01029/0.1264, allocations: 9.246 MB / 0.6509 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005892/0.1323, allocations: 2.867 MB / 0.6537 GB, free: 7.906 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.1336, allocations: 16 kB / 0.6537 GB, free: 7.891 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.1347, allocations: 364.8 kB / 0.6541 GB, free: 7.531 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.1379, allocations: 1.18 MB / 0.6552 GB, free: 6.348 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.1397, allocations: 0.8415 MB / 0.656 GB, free: 5.512 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003292/0.143, allocations: 2.595 MB / 0.6586 GB, free: 2.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009402/0.144, allocations: 0.5466 MB / 0.6591 GB, free: 2.332 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.1457, allocations: 1.035 MB / 0.6601 GB, free: 1.293 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.1475, allocations: 1.272 MB / 0.6614 GB, free: 16 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003797/0.1479, allocations: 220 kB / 0.6616 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008686/0.1488, allocations: 475.7 kB / 0.662 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004923/0.1493, allocations: 0.5331 MB / 0.6625 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.1504, allocations: 1.057 MB / 0.6636 GB, free: 13.74 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003253/0.1536, allocations: 2.755 MB / 0.6663 GB, free: 10.97 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1537, allocations: 4 kB / 0.6663 GB, free: 10.97 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1537, allocations: 0 / 0.6663 GB, free: 10.97 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.427e-05/0.1537, allocations: 0 / 0.6663 GB, free: 10.97 MB / 478.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.01384/0.1676, allocations: 4.023 MB / 0.6702 GB, free: 6.875 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.1676, allocations: 8.031 kB / 0.6702 GB, free: 6.867 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002485/0.1679, allocations: 181.3 kB / 0.6704 GB, free: 6.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004701/0.1726, allocations: 0.7948 MB / 0.6712 GB, free: 5.883 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/0.1754, allocations: 1.308 MB / 0.6724 GB, free: 4.527 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005709/0.176, allocations: 474.7 kB / 0.6729 GB, free: 3.988 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00036/0.1764, allocations: 132 kB / 0.673 GB, free: 3.859 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003508/0.1799, allocations: 1.621 MB / 0.6746 GB, free: 2.191 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.1799, allocations: 4 kB / 0.6746 GB, free: 2.188 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.1801, allocations: 48 kB / 0.6746 GB, free: 2.141 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.1801, allocations: 28 kB / 0.6747 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003228/0.1834, allocations: 1.496 MB / 0.6761 GB, free: 0.6094 MB / 478.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.01088/0.1943, allocations: 5.813 MB / 0.6818 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00906/0.2033, allocations: 3.179 MB / 0.6849 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002149/0.2055, allocations: 0.9942 MB / 0.6859 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006549/0.2062, allocations: 0.731 MB / 0.6866 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002454/0.2087, allocations: 1.201 MB / 0.6878 GB, free: 4.137 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.216e-06/0.2087, allocations: 4 kB / 0.6878 GB, free: 4.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.0418/0.2505, allocations: 9.981 MB / 0.6975 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.2506, allocations: 153.8 kB / 0.6977 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/0.2536, allocations: 1.646 MB / 0.6993 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004676/0.2541, allocations: 57.7 kB / 0.6993 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006325/0.2547, allocations: 0.7156 MB / 0.7 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000641/0.2554, allocations: 0.55 MB / 0.7006 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007197/0.2561, allocations: 396 kB / 0.7009 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2563, allocations: 305.1 kB / 0.7012 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/0.2587, allocations: 1.078 MB / 0.7023 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002525/0.2612, allocations: 1.315 MB / 0.7036 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004739/0.2659, allocations: 2.323 MB / 0.7058 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.266, allocations: 0 / 0.7058 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01035/0.2763, allocations: 4.019 MB / 0.7098 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/0.2764, allocations: 38.94 kB / 0.7098 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/0.2764, allocations: 4 kB / 0.7098 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009017/0.2855, allocations: 2.651 MB / 0.7124 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/0.2875, allocations: 387.4 kB / 0.7128 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006435/0.2939, allocations: 2.691 MB / 0.7154 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/0.2967, allocations: 310.5 kB / 0.7157 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/0.2969, allocations: 71.98 kB / 0.7158 GB, free: 7.086 MB / 0.5137 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.0007272/0.2976, allocations: 341.5 kB / 0.7161 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003697/0.298, allocations: 194.7 kB / 0.7163 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01686/0.3148, allocations: 5.175 MB / 0.7213 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.3149, allocations: 12 kB / 0.7213 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.3149, allocations: 8 kB / 0.7213 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.68e-05/0.315, allocations: 11.95 kB / 0.7214 GB, free: 1.316 MB / 0.5137 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.02082/0.3358, allocations: 7.653 MB / 0.7288 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.3359, allocations: 0 / 0.7288 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.337, allocations: 167.8 kB / 0.729 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007943/0.3449, allocations: 2.236 MB / 0.7312 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002499/0.3452, allocations: 39.86 kB / 0.7312 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02952/0.3747, allocations: 12.07 MB / 0.743 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.3748, allocations: 11.94 kB / 0.743 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/0.395, allocations: 6.372 MB / 0.7492 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000701/0.3958, allocations: 307.5 kB / 0.7495 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004412/0.3962, allocations: 31.98 kB / 0.7496 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001926/0.3982, allocations: 159.8 kB / 0.7497 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009652/0.3992, allocations: 297.3 kB / 0.75 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.3993, allocations: 39.98 kB / 0.75 GB, free: 3.453 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001966/0.4013, allocations: 1.109 MB / 0.7511 GB, free: 2.352 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4013, allocations: 0 / 0.7511 GB, free: 2.352 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002012/0.4033, allocations: 0.601 MB / 0.7517 GB, free: 1.75 MB / 0.545 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.02088/0.4242, allocations: 6.991 MB / 0.7585 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009808/0.434, allocations: 3.178 MB / 0.7616 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.4341, allocations: 3.938 kB / 0.7616 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006944/0.441, allocations: 2.191 MB / 0.7638 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.4428, allocations: 169.8 kB / 0.7639 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3027/0.7455, allocations: 21.15 MB / 0.7846 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000731/0.7463, allocations: 1.344 MB / 0.7859 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007025/0.747, allocations: 168.3 kB / 0.7861 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008081/0.7478, allocations: 0.7249 MB / 0.7868 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of SimCode: time 7.22e-07/0.7478, allocations: 0 / 0.7868 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.266/1.014, allocations: 49.48 MB / 0.8351 GB, free: 67.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/17.04, allocations: 9.625 kB / 0.8351 GB, free: 67.93 MB / 0.5606 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)