Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.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.Loads.PSAT.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",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.008222/0.008222, allocations: 96.38 kB / 15.73 MB, free: 5.996 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.376/1.376, allocations: 222.9 MB / 239.4 MB, free: 4.566 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.001427/0.001428, allocations: 192.4 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5026/0.5026, allocations: 91.9 MB / 431.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 76.34 kB / 0.5723 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1301, allocations: 71.29 MB / 0.6419 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.005656/0.1358, allocations: 5.35 MB / 0.6471 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003129/0.1389, allocations: 1.638 MB / 0.6487 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000606/0.1396, allocations: 8 kB / 0.6487 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005594/0.1402, allocations: 182.4 kB / 0.6489 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.1419, allocations: 0.6866 MB / 0.6495 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.1429, allocations: 496.2 kB / 0.65 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.1441, allocations: 1.098 MB / 0.6511 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003981/0.1446, allocations: 270.8 kB / 0.6513 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005766/0.1451, allocations: 470 kB / 0.6518 GB, free: 9.859 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006529/0.1458, allocations: 0.6145 MB / 0.6524 GB, free: 9.242 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.146, allocations: 84 kB / 0.6525 GB, free: 9.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004335/0.1464, allocations: 219.9 kB / 0.6527 GB, free: 8.945 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.1466, allocations: 235 kB / 0.6529 GB, free: 8.715 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004033/0.147, allocations: 0.5048 MB / 0.6534 GB, free: 8.207 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.1484, allocations: 1.283 MB / 0.6547 GB, free: 6.918 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1484, allocations: 4 kB / 0.6547 GB, free: 6.914 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1484, allocations: 0 / 0.6547 GB, free: 6.914 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.368e-05/0.1485, allocations: 3.984 kB / 0.6547 GB, free: 6.91 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.006763/0.1552, allocations: 2.192 MB / 0.6568 GB, free: 4.664 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1553, allocations: 15.95 kB / 0.6568 GB, free: 4.648 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.1554, allocations: 110.7 kB / 0.6569 GB, free: 4.531 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004168/0.1596, allocations: 0.6552 MB / 0.6576 GB, free: 3.875 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.1607, allocations: 0.6589 MB / 0.6582 GB, free: 3.176 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.1609, allocations: 188 kB / 0.6584 GB, free: 2.965 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.1611, allocations: 64 kB / 0.6585 GB, free: 2.902 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.163, allocations: 0.8847 MB / 0.6593 GB, free: 2.012 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.163, allocations: 0 / 0.6593 GB, free: 2.012 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/0.1631, allocations: 28 kB / 0.6593 GB, free: 1.984 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.1631, allocations: 15.94 kB / 0.6594 GB, free: 1.969 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.1651, allocations: 0.9225 MB / 0.6603 GB, free: 1.047 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.004164/0.1692, allocations: 2.467 MB / 0.6627 GB, free: 14.47 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.171, allocations: 1.112 MB / 0.6638 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.1723, allocations: 0.6576 MB / 0.6644 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.702e-05/0.1724, allocations: 16.98 kB / 0.6644 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1724, allocations: 35.56 kB / 0.6644 GB, free: 12.55 MB / 478.1 MB Notification: Performance of pre-optimization done (n=84): time 2.474e-06/0.1724, allocations: 4 kB / 0.6644 GB, free: 12.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=84): time 0.02204/0.1945, allocations: 5.608 MB / 0.6699 GB, free: 6.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.1946, allocations: 60.41 kB / 0.67 GB, free: 6.836 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009477/0.1955, allocations: 0.7553 MB / 0.6707 GB, free: 6.066 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.1957, allocations: 37.7 kB / 0.6708 GB, free: 6.023 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.196, allocations: 409.2 kB / 0.6711 GB, free: 5.617 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/0.1963, allocations: 313.3 kB / 0.6714 GB, free: 5.309 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003321/0.1966, allocations: 186.9 kB / 0.6716 GB, free: 5.121 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1968, allocations: 341.9 kB / 0.6719 GB, free: 4.781 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.1981, allocations: 0.6194 MB / 0.6726 GB, free: 4.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.1995, allocations: 0.731 MB / 0.6733 GB, free: 3.406 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01686/0.2164, allocations: 4.186 MB / 0.6774 GB, free: 15.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.2164, allocations: 4 kB / 0.6774 GB, free: 15.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01147/0.2279, allocations: 3.544 MB / 0.6808 GB, free: 11.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.228, allocations: 8.938 kB / 0.6808 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.228, allocations: 0 / 0.6808 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005133/0.2331, allocations: 1.431 MB / 0.6822 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.2342, allocations: 199.7 kB / 0.6824 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01826/0.2525, allocations: 8.138 MB / 0.6904 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.2538, allocations: 147.3 kB / 0.6905 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.254, allocations: 35.98 kB / 0.6905 GB, free: 1.539 MB / 494.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real exponentialRecovery.xp:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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 {(18,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005168/0.2545, allocations: 230.1 kB / 0.6908 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/0.2548, allocations: 107.3 kB / 0.6909 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/0.2661, allocations: 3.36 MB / 0.6941 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.2661, allocations: 8 kB / 0.6942 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2661, allocations: 8 kB / 0.6942 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.2662, allocations: 7.922 kB / 0.6942 GB, free: 13.79 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.01333/0.2795, allocations: 4.706 MB / 0.6988 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.2795, allocations: 0 / 0.6988 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006699/0.2802, allocations: 99.88 kB / 0.6989 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00545/0.2857, allocations: 1.468 MB / 0.7003 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/0.2859, allocations: 19.98 kB / 0.7003 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01706/0.303, allocations: 7.477 MB / 0.7076 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.303, allocations: 0 / 0.7076 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/0.3162, allocations: 4.21 MB / 0.7117 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.3165, allocations: 192.2 kB / 0.7119 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.3168, allocations: 16 kB / 0.7119 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009786/0.3178, allocations: 87.89 kB / 0.712 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005599/0.3183, allocations: 168.8 kB / 0.7122 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.3185, allocations: 23.98 kB / 0.7122 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007348/0.3192, allocations: 0.5107 MB / 0.7127 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3192, allocations: 0 / 0.7127 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001418/0.3206, allocations: 371.7 kB / 0.713 GB, free: 10.18 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,exponentialRecovery.xp,exponentialRecovery.xq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(20,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01344/0.3341, allocations: 4.785 MB / 0.7177 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005861/0.34, allocations: 2.096 MB / 0.7198 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.34, allocations: 0 / 0.7198 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004053/0.3441, allocations: 1.349 MB / 0.7211 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008283/0.3449, allocations: 75.3 kB / 0.7212 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03363/0.3786, allocations: 12.99 MB / 0.7338 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/0.3792, allocations: 1.025 MB / 0.7348 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000439/0.3797, allocations: 97.61 kB / 0.7349 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/0.3802, allocations: 363.3 kB / 0.7353 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/0.3802, allocations: 4 kB / 0.7353 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06035/0.4406, allocations: 29 MB / 0.7636 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.16, allocations: 7.922 kB / 0.7636 GB, free: 6.258 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.03 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)