Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.ES.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",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.005233/0.005238, allocations: 97.2 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.437/1.437, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001475/0.001475, allocations: 184.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5364/0.5364, allocations: 91.91 MB / 431.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 78.94 kB / 0.5723 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1073, allocations: 71.29 MB / 0.6419 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.01026/0.1176, allocations: 8.756 MB / 0.6504 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005632/0.1232, allocations: 2.844 MB / 0.6532 GB, free: 8.426 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007884/0.124, allocations: 20 kB / 0.6532 GB, free: 8.406 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009158/0.125, allocations: 345.1 kB / 0.6536 GB, free: 8.066 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.1275, allocations: 1.024 MB / 0.6546 GB, free: 7.039 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002116/0.1296, allocations: 0.953 MB / 0.6555 GB, free: 6.094 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002987/0.1326, allocations: 2.408 MB / 0.6578 GB, free: 3.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008484/0.1335, allocations: 490.1 kB / 0.6583 GB, free: 3.172 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.1348, allocations: 0.9571 MB / 0.6592 GB, free: 2.211 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.1363, allocations: 1.202 MB / 0.6604 GB, free: 1.004 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003306/0.1367, allocations: 200 kB / 0.6606 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008809/0.1376, allocations: 487.6 kB / 0.6611 GB, free: 340 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000484/0.1381, allocations: 498.1 kB / 0.6616 GB, free: 15.84 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.1391, allocations: 0.9828 MB / 0.6625 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00311/0.1422, allocations: 2.576 MB / 0.665 GB, free: 12.27 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1423, allocations: 0 / 0.665 GB, free: 12.27 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1423, allocations: 0 / 0.665 GB, free: 12.27 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.116e-05/0.1423, allocations: 4 kB / 0.665 GB, free: 12.27 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.01353/0.1559, allocations: 3.82 MB / 0.6688 GB, free: 8.383 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.1559, allocations: 12.03 kB / 0.6688 GB, free: 8.371 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002411/0.1562, allocations: 164.5 kB / 0.6689 GB, free: 8.199 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004675/0.1608, allocations: 0.7715 MB / 0.6697 GB, free: 7.426 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/0.1634, allocations: 1.24 MB / 0.6709 GB, free: 6.137 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000549/0.1639, allocations: 458.4 kB / 0.6713 GB, free: 5.613 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002908/0.1642, allocations: 124 kB / 0.6715 GB, free: 5.492 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003314/0.1675, allocations: 1.519 MB / 0.6729 GB, free: 3.922 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.1676, allocations: 4 kB / 0.6729 GB, free: 3.918 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/0.1677, allocations: 40 kB / 0.673 GB, free: 3.879 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.1678, allocations: 24 kB / 0.673 GB, free: 3.855 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003389/0.1712, allocations: 1.425 MB / 0.6744 GB, free: 2.422 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.01044/0.1816, allocations: 5.403 MB / 0.6797 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009542/0.1912, allocations: 3.066 MB / 0.6827 GB, free: 9.578 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002365/0.1936, allocations: 0.9707 MB / 0.6836 GB, free: 8.602 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007373/0.1943, allocations: 0.7297 MB / 0.6843 GB, free: 7.703 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002537/0.1969, allocations: 1.122 MB / 0.6854 GB, free: 6.559 MB / 494.1 MB Notification: Performance of pre-optimization done (n=133): time 3.287e-06/0.1969, allocations: 0 / 0.6854 GB, free: 6.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=133): time 0.04284/0.2397, allocations: 9.761 MB / 0.695 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/0.2399, allocations: 124.2 kB / 0.6951 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/0.2425, allocations: 1.54 MB / 0.6966 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002863/0.2428, allocations: 57.7 kB / 0.6966 GB, free: 11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006016/0.2434, allocations: 0.6524 MB / 0.6973 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006113/0.244, allocations: 0.5074 MB / 0.6978 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007074/0.2447, allocations: 367.6 kB / 0.6981 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2449, allocations: 305.1 kB / 0.6984 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002456/0.2473, allocations: 1.05 MB / 0.6994 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002664/0.25, allocations: 1.271 MB / 0.7007 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004881/0.2549, allocations: 2.231 MB / 0.7028 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.2549, allocations: 0 / 0.7028 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01014/0.2651, allocations: 3.844 MB / 0.7066 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.2651, allocations: 15.88 kB / 0.7066 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.2651, allocations: 4 kB / 0.7066 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/0.2752, allocations: 2.679 MB / 0.7092 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.2772, allocations: 355.5 kB / 0.7096 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006643/0.2838, allocations: 2.699 MB / 0.7122 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/0.2864, allocations: 274.6 kB / 0.7125 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.2866, allocations: 67.98 kB / 0.7125 GB, free: 10.52 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: 3 ($whenCondition2,$whenCondition1,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 202 * 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.0007122/0.2873, allocations: 331.8 kB / 0.7129 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003492/0.2877, allocations: 178.8 kB / 0.713 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01758/0.3053, allocations: 4.95 MB / 0.7179 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.3053, allocations: 16 kB / 0.7179 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.3053, allocations: 3.984 kB / 0.7179 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.388e-05/0.3054, allocations: 7.984 kB / 0.7179 GB, free: 5.008 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.02098/0.3264, allocations: 7.12 MB / 0.7248 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/0.3264, allocations: 3.938 kB / 0.7248 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.3275, allocations: 163.8 kB / 0.725 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007744/0.3353, allocations: 2.146 MB / 0.7271 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002738/0.3356, allocations: 27.98 kB / 0.7271 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02673/0.3623, allocations: 10.07 MB / 0.737 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.3623, allocations: 4 kB / 0.737 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02037/0.3827, allocations: 6.137 MB / 0.743 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006332/0.3834, allocations: 291.6 kB / 0.7432 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000265/0.3837, allocations: 28 kB / 0.7433 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/0.3854, allocations: 147.8 kB / 0.7434 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008806/0.3863, allocations: 273.4 kB / 0.7437 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.3864, allocations: 35.98 kB / 0.7437 GB, free: 10.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001709/0.3881, allocations: 1.036 MB / 0.7447 GB, free: 9.207 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3881, allocations: 0 / 0.7447 GB, free: 9.207 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001629/0.3898, allocations: 0.5737 MB / 0.7453 GB, free: 8.633 MB / 0.545 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,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.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 (90): * Single equations (assignments): 89 * 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.02048/0.4103, allocations: 6.755 MB / 0.7519 GB, free: 1.836 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009653/0.4199, allocations: 3.045 MB / 0.7548 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.42, allocations: 0 / 0.7548 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006726/0.4267, allocations: 1.997 MB / 0.7568 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.4281, allocations: 153.7 kB / 0.7569 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2977/0.7258, allocations: 21.98 MB / 0.7784 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006386/0.7264, allocations: 1.275 MB / 0.7796 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007005/0.7272, allocations: 154.6 kB / 0.7798 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008138/0.728, allocations: 0.6648 MB / 0.7804 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.728, allocations: 0.5312 kB / 0.7804 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08804/0.816, allocations: 46.72 MB / 0.8261 GB, free: 78.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.68/16.5, allocations: 13.66 kB / 0.8261 GB, free: 78.48 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A_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_ES_ESDC1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)