Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.ESDC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_dev_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.004828/0.004828, allocations: 101 kB / 15.73 MB, free: 6.059 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.415/1.415, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001446/0.001446, allocations: 192.4 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5234/0.5234, allocations: 91.91 MB / 431.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 80.09 kB / 0.5723 GB, free: 34.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1147, allocations: 71.28 MB / 0.6419 GB, free: 4.203 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.01082/0.1255, allocations: 8.821 MB / 0.6505 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006106/0.1317, allocations: 2.86 MB / 0.6533 GB, free: 8.469 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.133, allocations: 12 kB / 0.6533 GB, free: 8.457 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.1343, allocations: 341.1 kB / 0.6536 GB, free: 8.121 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00346/0.1378, allocations: 1.033 MB / 0.6546 GB, free: 7.082 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.1406, allocations: 0.9647 MB / 0.6556 GB, free: 6.125 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003893/0.1445, allocations: 2.436 MB / 0.658 GB, free: 3.684 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.1457, allocations: 0.5021 MB / 0.6585 GB, free: 3.152 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.1474, allocations: 0.9611 MB / 0.6594 GB, free: 2.188 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/0.1494, allocations: 1.198 MB / 0.6606 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007296/0.1502, allocations: 211.9 kB / 0.6608 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.1515, allocations: 483.7 kB / 0.6612 GB, free: 312 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007713/0.1523, allocations: 0.4942 MB / 0.6617 GB, free: 15.81 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.1539, allocations: 0.9945 MB / 0.6627 GB, free: 14.81 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00408/0.158, allocations: 2.599 MB / 0.6652 GB, free: 12.2 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1581, allocations: 4 kB / 0.6652 GB, free: 12.2 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1581, allocations: 0 / 0.6652 GB, free: 12.2 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.969e-05/0.1582, allocations: 0 / 0.6652 GB, free: 12.2 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.01445/0.1726, allocations: 3.83 MB / 0.669 GB, free: 8.301 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.1727, allocations: 8.031 kB / 0.669 GB, free: 8.293 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003902/0.1731, allocations: 164.7 kB / 0.6691 GB, free: 8.121 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004821/0.1779, allocations: 0.7832 MB / 0.6699 GB, free: 7.336 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/0.1806, allocations: 1.236 MB / 0.6711 GB, free: 6.051 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005641/0.1812, allocations: 462.4 kB / 0.6715 GB, free: 5.523 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003387/0.1815, allocations: 124 kB / 0.6717 GB, free: 5.402 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003542/0.1851, allocations: 1.547 MB / 0.6732 GB, free: 3.805 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.1851, allocations: 0 / 0.6732 GB, free: 3.805 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/0.1853, allocations: 44 kB / 0.6732 GB, free: 3.762 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.1853, allocations: 24 kB / 0.6732 GB, free: 3.738 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003634/0.1889, allocations: 1.445 MB / 0.6746 GB, free: 2.285 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.01066/0.1996, allocations: 5.447 MB / 0.68 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009176/0.2088, allocations: 3.066 MB / 0.683 GB, free: 9.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002215/0.2111, allocations: 0.9707 MB / 0.6839 GB, free: 8.422 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006767/0.2118, allocations: 0.7336 MB / 0.6846 GB, free: 7.523 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002574/0.2143, allocations: 1.133 MB / 0.6857 GB, free: 6.367 MB / 494.1 MB Notification: Performance of pre-optimization done (n=134): time 3.366e-06/0.2144, allocations: 4 kB / 0.6857 GB, free: 6.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=134): time 0.04275/0.2571, allocations: 10.04 MB / 0.6955 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/0.2572, allocations: 116.1 kB / 0.6956 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/0.2599, allocations: 1.544 MB / 0.6972 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000266/0.2602, allocations: 57.64 kB / 0.6972 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005914/0.2608, allocations: 0.6602 MB / 0.6979 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006199/0.2614, allocations: 0.5114 MB / 0.6984 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007228/0.2622, allocations: 375.5 kB / 0.6987 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2623, allocations: 301.1 kB / 0.699 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002421/0.2647, allocations: 1.058 MB / 0.7 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002629/0.2674, allocations: 1.274 MB / 0.7013 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004906/0.2723, allocations: 2.231 MB / 0.7035 GB, free: 4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.2723, allocations: 4 kB / 0.7035 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01092/0.2832, allocations: 4.008 MB / 0.7074 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.2833, allocations: 9.094 kB / 0.7074 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.2833, allocations: 4 kB / 0.7074 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009961/0.2933, allocations: 2.675 MB / 0.71 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.2952, allocations: 363.5 kB / 0.7103 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006668/0.3018, allocations: 2.695 MB / 0.713 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/0.3044, allocations: 274.6 kB / 0.7132 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/0.3047, allocations: 71.98 kB / 0.7133 GB, free: 9.859 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: 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.0007162/0.3054, allocations: 329.4 kB / 0.7136 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000379/0.3058, allocations: 178.8 kB / 0.7138 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01679/0.3226, allocations: 4.93 MB / 0.7186 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/0.3227, allocations: 19.94 kB / 0.7186 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.3227, allocations: 0 / 0.7186 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.231e-05/0.3227, allocations: 3.984 kB / 0.7186 GB, free: 4.375 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.02026/0.343, allocations: 7.151 MB / 0.7256 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/0.3431, allocations: 8 kB / 0.7256 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.3442, allocations: 163.8 kB / 0.7258 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007892/0.3521, allocations: 2.142 MB / 0.7279 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002652/0.3524, allocations: 31.98 kB / 0.7279 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02629/0.3787, allocations: 10.06 MB / 0.7377 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3787, allocations: 4 kB / 0.7377 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0203/0.399, allocations: 6.18 MB / 0.7438 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007187/0.3998, allocations: 295.5 kB / 0.744 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003353/0.4001, allocations: 27.98 kB / 0.7441 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/0.4019, allocations: 139.8 kB / 0.7442 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009401/0.4028, allocations: 269.4 kB / 0.7445 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/0.403, allocations: 43.98 kB / 0.7445 GB, free: 9.535 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002001/0.405, allocations: 1.032 MB / 0.7455 GB, free: 8.508 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.31e-07/0.405, allocations: 3.938 kB / 0.7455 GB, free: 8.504 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001872/0.4069, allocations: 0.5698 MB / 0.7461 GB, free: 7.934 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,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.02028/0.4272, allocations: 6.801 MB / 0.7527 GB, free: 1.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01007/0.4373, allocations: 3.048 MB / 0.7557 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/0.4374, allocations: 4 kB / 0.7557 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006701/0.4441, allocations: 2.001 MB / 0.7576 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.4454, allocations: 163.2 kB / 0.7578 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3019/0.7474, allocations: 20.28 MB / 0.7776 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000867/0.7483, allocations: 1.28 MB / 0.7789 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006904/0.749, allocations: 160.6 kB / 0.779 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008789/0.7499, allocations: 0.6726 MB / 0.7797 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/0.7499, allocations: 0 / 0.7797 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07722/0.8271, allocations: 46.85 MB / 0.8254 GB, free: 78.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/16.46, allocations: 10.19 kB / 0.8254 GB, free: 78.64 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)