Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.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.ES.IEEET2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",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.007734/0.007734, allocations: 94.98 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.431/1.431, 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.001633/0.001633, allocations: 188.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.0.1/package.mo): time 0.4686/0.4686, allocations: 78.54 MB / 418.4 MB, free: 3.172 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 92.06 kB / 0.5532 GB, free: 1.438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.277, allocations: 68.16 MB / 0.6197 GB, free: 9.305 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2): time 0.006738/0.2838, allocations: 8.61 MB / 0.6281 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00514/0.289, allocations: 2.7 MB / 0.6308 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.2901, allocations: 12 kB / 0.6308 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000887/0.291, allocations: 317.2 kB / 0.6311 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003164/0.2942, allocations: 1.208 MB / 0.6323 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.2961, allocations: 0.7596 MB / 0.633 GB, free: 12.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003234/0.2994, allocations: 2.392 MB / 0.6354 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007732/0.3001, allocations: 481.7 kB / 0.6358 GB, free: 9.605 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.3014, allocations: 0.9065 MB / 0.6367 GB, free: 8.695 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.3031, allocations: 1.155 MB / 0.6378 GB, free: 7.531 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000435/0.3035, allocations: 192 kB / 0.638 GB, free: 7.344 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009847/0.3045, allocations: 463.7 kB / 0.6385 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005013/0.305, allocations: 486 kB / 0.6389 GB, free: 6.414 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.3061, allocations: 0.9517 MB / 0.6398 GB, free: 5.457 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003661/0.3098, allocations: 2.479 MB / 0.6423 GB, free: 2.973 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3099, allocations: 0 / 0.6423 GB, free: 2.973 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3099, allocations: 0 / 0.6423 GB, free: 2.973 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.178e-05/0.3099, allocations: 0 / 0.6423 GB, free: 2.973 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.01564/0.3256, allocations: 3.988 MB / 0.6462 GB, free: 14.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3256, allocations: 12.03 kB / 0.6462 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000251/0.3259, allocations: 164.4 kB / 0.6463 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005075/0.331, allocations: 0.7637 MB / 0.6471 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.3334, allocations: 1.145 MB / 0.6482 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005605/0.3339, allocations: 458.4 kB / 0.6486 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002786/0.3342, allocations: 120 kB / 0.6487 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/0.3376, allocations: 1.472 MB / 0.6502 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.3377, allocations: 3.938 kB / 0.6502 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.3378, allocations: 43.98 kB / 0.6502 GB, free: 10.58 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.3379, allocations: 28 kB / 0.6503 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003512/0.3414, allocations: 1.355 MB / 0.6516 GB, free: 9.195 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.01103/0.3524, allocations: 5.214 MB / 0.6567 GB, free: 3.754 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00951/0.362, allocations: 2.943 MB / 0.6595 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/0.3643, allocations: 0.9316 MB / 0.6605 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000723/0.365, allocations: 0.7375 MB / 0.6612 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002523/0.3675, allocations: 1.075 MB / 0.6622 GB, free: 13.73 MB / 478.1 MB Notification: Performance of pre-optimization done (n=131): time 2.885e-06/0.3676, allocations: 0 / 0.6622 GB, free: 13.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=131): time 0.04522/0.4128, allocations: 9.864 MB / 0.6719 GB, free: 3.805 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/0.4129, allocations: 124.1 kB / 0.672 GB, free: 3.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/0.4154, allocations: 1.434 MB / 0.6734 GB, free: 2.215 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003368/0.4157, allocations: 49.7 kB / 0.6734 GB, free: 2.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006113/0.4164, allocations: 0.6441 MB / 0.6741 GB, free: 1.512 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006424/0.417, allocations: 499.7 kB / 0.6745 GB, free: 1.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000762/0.4178, allocations: 375.4 kB / 0.6749 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4179, allocations: 301.1 kB / 0.6752 GB, free: 356 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002578/0.4205, allocations: 1.007 MB / 0.6762 GB, free: 15.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002907/0.4234, allocations: 1.227 MB / 0.6774 GB, free: 14.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005344/0.4288, allocations: 2.149 MB / 0.6795 GB, free: 11.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.088e-06/0.4288, allocations: 0 / 0.6795 GB, free: 11.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.02022/0.4491, allocations: 5.524 MB / 0.6849 GB, free: 6.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.4491, allocations: 8 kB / 0.6849 GB, free: 6.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/0.4492, allocations: 7.938 kB / 0.6849 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01074/0.4599, allocations: 2.667 MB / 0.6875 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.4617, allocations: 335.5 kB / 0.6878 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007266/0.469, allocations: 2.7 MB / 0.6904 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002518/0.4715, allocations: 254.7 kB / 0.6907 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.4718, allocations: 71.97 kB / 0.6907 GB, free: 240 kB / 494.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: 3 ($whenCondition2,$whenCondition1,iEEET2.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * 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.0007235/0.4725, allocations: 309.5 kB / 0.691 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003629/0.4729, allocations: 178.8 kB / 0.6912 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01881/0.4917, allocations: 4.942 MB / 0.696 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/0.4918, allocations: 12 kB / 0.696 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4918, allocations: 0 / 0.696 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-05/0.4918, allocations: 7.984 kB / 0.6961 GB, free: 10.76 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.02259/0.5144, allocations: 7.088 MB / 0.703 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.5145, allocations: 0 / 0.703 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.5155, allocations: 143.8 kB / 0.7031 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008996/0.5245, allocations: 2.209 MB / 0.7053 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002913/0.5248, allocations: 32 kB / 0.7053 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03268/0.5575, allocations: 11.8 MB / 0.7168 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.5575, allocations: 3.938 kB / 0.7168 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02223/0.5798, allocations: 6.102 MB / 0.7228 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006216/0.5804, allocations: 291.5 kB / 0.7231 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003401/0.5808, allocations: 28 kB / 0.7231 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/0.5825, allocations: 123.9 kB / 0.7232 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009183/0.5834, allocations: 265.4 kB / 0.7235 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/0.5836, allocations: 39.98 kB / 0.7235 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001569/0.5851, allocations: 0.9483 MB / 0.7244 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5852, allocations: 0 / 0.7244 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001724/0.5869, allocations: 0.562 MB / 0.725 GB, free: 12.65 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEET2.simpleLag.state,iEEET2.derivativeLag.x,iEEET2.simpleLagLim.state,iEEET2.rotatingExciter.sISO.y,iEEET2.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * 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 {(1,3), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02279/0.6097, allocations: 6.709 MB / 0.7315 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01008/0.6198, allocations: 2.958 MB / 0.7344 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.6198, allocations: 0 / 0.7344 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00739/0.6272, allocations: 2.082 MB / 0.7364 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.6285, allocations: 166.1 kB / 0.7366 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04915/0.6777, allocations: 19.37 MB / 0.7555 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000971/0.6787, allocations: 1.243 MB / 0.7567 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007381/0.6795, allocations: 158.5 kB / 0.7569 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.6805, allocations: 0.6321 MB / 0.7575 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.6805, allocations: 0 / 0.7575 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3164/0.9969, allocations: 45.63 MB / 0.8021 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/15.97, allocations: 11.08 kB / 0.8021 GB, free: 115.9 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)