Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",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.001158/0.001158, allocations: 108 kB / 15.6 MB, free: 132 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.43/1.43, allocations: 222.9 MB / 239.3 MB, free: 4.617 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.001493/0.001493, allocations: 191.8 kB / 289.6 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4948/0.4948, allocations: 78.54 MB / 418.3 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 83.86 kB / 497.6 MB, free: 6.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1386, allocations: 68.19 MB / 0.5525 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.2471/0.3857, allocations: 8.792 MB / 0.5611 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00599/0.3918, allocations: 2.856 MB / 0.5639 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.3932, allocations: 18.62 kB / 0.5639 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.3943, allocations: 338 kB / 0.5642 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002923/0.3973, allocations: 1.236 MB / 0.5654 GB, free: 33.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.3992, allocations: 0.8586 MB / 0.5662 GB, free: 33.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002545/0.4017, allocations: 2.578 MB / 0.5688 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006591/0.4024, allocations: 0.5041 MB / 0.5693 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.4036, allocations: 0.9724 MB / 0.5702 GB, free: 32.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.4048, allocations: 1.221 MB / 0.5714 GB, free: 32.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002739/0.405, allocations: 204.8 kB / 0.5716 GB, free: 32.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008067/0.4059, allocations: 479 kB / 0.5721 GB, free: 32.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003642/0.4062, allocations: 0.5015 MB / 0.5725 GB, free: 32.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006771/0.4069, allocations: 0.9995 MB / 0.5735 GB, free: 31.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.4091, allocations: 2.572 MB / 0.576 GB, free: 31.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4091, allocations: 4.656 kB / 0.576 GB, free: 31.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4091, allocations: 0 / 0.576 GB, free: 31.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.69e-05/0.4091, allocations: 0.8438 kB / 0.576 GB, free: 31.12 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.01416/0.4233, allocations: 4.057 MB / 0.58 GB, free: 29.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.4234, allocations: 8.531 kB / 0.58 GB, free: 29.53 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001928/0.4236, allocations: 171.6 kB / 0.5802 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004452/0.428, allocations: 0.761 MB / 0.5809 GB, free: 29.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.4299, allocations: 1.22 MB / 0.5821 GB, free: 28.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003804/0.4303, allocations: 467.5 kB / 0.5825 GB, free: 28.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.4305, allocations: 125.8 kB / 0.5827 GB, free: 27.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/0.4336, allocations: 1.544 MB / 0.5842 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.4336, allocations: 4.875 kB / 0.5842 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.4338, allocations: 45.75 kB / 0.5842 GB, free: 27.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.4338, allocations: 25.22 kB / 0.5842 GB, free: 27.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003147/0.4369, allocations: 1.438 MB / 0.5857 GB, free: 26.83 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.009224/0.4462, allocations: 5.472 MB / 0.591 GB, free: 23.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008896/0.4551, allocations: 3.055 MB / 0.594 GB, free: 22.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.4572, allocations: 0.9773 MB / 0.5949 GB, free: 22.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004581/0.4577, allocations: 0.7355 MB / 0.5957 GB, free: 21.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00237/0.4601, allocations: 1.13 MB / 0.5968 GB, free: 20.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 3.256e-06/0.4601, allocations: 0 / 0.5968 GB, free: 20.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.04224/0.5024, allocations: 10.04 MB / 0.6066 GB, free: 18.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.5024, allocations: 117.8 kB / 0.6067 GB, free: 18.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/0.5049, allocations: 1.536 MB / 0.6082 GB, free: 17.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003849/0.5053, allocations: 56.27 kB / 0.6082 GB, free: 17.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000399/0.5057, allocations: 0.6531 MB / 0.6089 GB, free: 17.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004602/0.5062, allocations: 491.3 kB / 0.6093 GB, free: 16.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007036/0.5069, allocations: 382.3 kB / 0.6097 GB, free: 16.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.218e-05/0.507, allocations: 301.1 kB / 0.61 GB, free: 16.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/0.5093, allocations: 1.051 MB / 0.611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002549/0.5119, allocations: 1.277 MB / 0.6123 GB, free: 15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004603/0.5165, allocations: 2.234 MB / 0.6144 GB, free: 13.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.5165, allocations: 2.156 kB / 0.6144 GB, free: 13.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01028/0.5268, allocations: 4 MB / 0.6183 GB, free: 11.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.5269, allocations: 4 kB / 0.6184 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.5269, allocations: 10.33 kB / 0.6184 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008783/0.5357, allocations: 2.692 MB / 0.621 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.5375, allocations: 363.5 kB / 0.6213 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005734/0.5433, allocations: 2.698 MB / 0.624 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/0.5464, allocations: 266.2 kB / 0.6242 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/0.5467, allocations: 71.97 kB / 0.6243 GB, free: 4.902 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: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 203 * 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.0008754/0.5476, allocations: 322.3 kB / 0.6246 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003729/0.548, allocations: 177.8 kB / 0.6248 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01523/0.5632, allocations: 4.913 MB / 0.6296 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.011e-05/0.5633, allocations: 19.94 kB / 0.6296 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.5633, allocations: 0 / 0.6296 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-05/0.5633, allocations: 7.969 kB / 0.6296 GB, free: 15.45 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.02061/0.584, allocations: 7.156 MB / 0.6366 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/0.584, allocations: 0 / 0.6366 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.5852, allocations: 163.8 kB / 0.6367 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007667/0.5929, allocations: 2.147 MB / 0.6388 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003592/0.5933, allocations: 35.98 kB / 0.6389 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02708/0.6204, allocations: 10.07 MB / 0.6487 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.6204, allocations: 0.7812 kB / 0.6487 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02001/0.6404, allocations: 6.166 MB / 0.6547 GB, free: 5.391 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008874/0.6414, allocations: 290.5 kB / 0.655 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006927/0.6421, allocations: 28.75 kB / 0.655 GB, free: 5.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/0.6442, allocations: 145.4 kB / 0.6552 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/0.6453, allocations: 273.4 kB / 0.6554 GB, free: 4.645 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002207/0.6455, allocations: 35.98 kB / 0.6555 GB, free: 4.609 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002225/0.6477, allocations: 1.032 MB / 0.6565 GB, free: 3.582 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6478, allocations: 0 / 0.6565 GB, free: 3.582 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002416/0.6502, allocations: 0.5699 MB / 0.657 GB, free: 3.012 MB / 462.1 MB 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,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02033/0.6705, allocations: 6.794 MB / 0.6637 GB, free: 12.17 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01105/0.6816, allocations: 3.084 MB / 0.6667 GB, free: 9.094 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.6817, allocations: 0 / 0.6667 GB, free: 9.094 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007065/0.6887, allocations: 2.018 MB / 0.6686 GB, free: 7.059 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/0.6911, allocations: 152.7 kB / 0.6688 GB, free: 6.914 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05448/0.7456, allocations: 21.75 MB / 0.69 GB, free: 92 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/0.7469, allocations: 1.282 MB / 0.6913 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009949/0.7479, allocations: 159.5 kB / 0.6914 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/0.749, allocations: 0.675 MB / 0.6921 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of SimCode: time 9.71e-07/0.7491, allocations: 0 / 0.6921 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08986/0.8389, allocations: 46.26 MB / 0.7373 GB, free: 15.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.25, allocations: 0.6562 kB / 0.7373 GB, free: 15.95 MB / 0.545 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A_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_ESDC2A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)