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.009657/0.009658, allocations: 103.1 kB / 15.74 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.393/1.393, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.00165/0.00165, allocations: 184.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5405/0.5405, allocations: 91.9 MB / 431.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 83.83 kB / 0.5723 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1149, allocations: 71.28 MB / 0.6419 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.006722/0.1217, allocations: 5.353 MB / 0.6471 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003459/0.1252, allocations: 1.638 MB / 0.6487 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006489/0.1258, allocations: 11.94 kB / 0.6487 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006246/0.1265, allocations: 178.4 kB / 0.6489 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.1285, allocations: 0.6428 MB / 0.6495 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.1297, allocations: 0.4987 MB / 0.65 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.1315, allocations: 1.09 MB / 0.6511 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005422/0.132, allocations: 266.8 kB / 0.6513 GB, free: 10.35 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008629/0.1329, allocations: 469.9 kB / 0.6518 GB, free: 9.887 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009241/0.1338, allocations: 0.6145 MB / 0.6524 GB, free: 9.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002747/0.1341, allocations: 84 kB / 0.6524 GB, free: 9.188 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006092/0.1347, allocations: 219.9 kB / 0.6527 GB, free: 8.973 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003152/0.1351, allocations: 239 kB / 0.6529 GB, free: 8.738 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006549/0.1357, allocations: 0.5087 MB / 0.6534 GB, free: 8.227 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.1377, allocations: 1.283 MB / 0.6546 GB, free: 6.938 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1377, allocations: 0 / 0.6546 GB, free: 6.938 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1377, allocations: 0 / 0.6546 GB, free: 6.938 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.651e-05/0.1378, allocations: 0 / 0.6546 GB, free: 6.938 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.00733/0.1451, allocations: 2.2 MB / 0.6568 GB, free: 4.684 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1452, allocations: 12.03 kB / 0.6568 GB, free: 4.672 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.1453, allocations: 106.7 kB / 0.6569 GB, free: 4.559 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004007/0.1493, allocations: 0.6513 MB / 0.6575 GB, free: 3.906 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.1504, allocations: 0.6667 MB / 0.6582 GB, free: 3.199 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.1506, allocations: 180.1 kB / 0.6584 GB, free: 2.996 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.1508, allocations: 68 kB / 0.6584 GB, free: 2.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.1526, allocations: 0.8809 MB / 0.6593 GB, free: 2.043 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1527, allocations: 0 / 0.6593 GB, free: 2.043 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.114e-05/0.1528, allocations: 28 kB / 0.6593 GB, free: 2.016 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.1528, allocations: 19.94 kB / 0.6593 GB, free: 1.996 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.1548, allocations: 0.9303 MB / 0.6602 GB, free: 1.066 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.004595/0.1594, allocations: 2.464 MB / 0.6626 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.1613, allocations: 1.106 MB / 0.6637 GB, free: 13.31 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.1626, allocations: 0.6601 MB / 0.6644 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.566e-05/0.1627, allocations: 12.98 kB / 0.6644 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.1628, allocations: 43.56 kB / 0.6644 GB, free: 12.57 MB / 478.1 MB Notification: Performance of pre-optimization done (n=84): time 2.635e-06/0.1628, allocations: 0 / 0.6644 GB, free: 12.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=84): time 0.02203/0.1848, allocations: 5.6 MB / 0.6699 GB, free: 6.945 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.1849, allocations: 60.41 kB / 0.6699 GB, free: 6.871 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.186, allocations: 0.7553 MB / 0.6707 GB, free: 6.102 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001886/0.1862, allocations: 45.7 kB / 0.6707 GB, free: 6.051 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.1865, allocations: 401.2 kB / 0.6711 GB, free: 5.652 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00037/0.1869, allocations: 317.3 kB / 0.6714 GB, free: 5.34 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003618/0.1873, allocations: 186.8 kB / 0.6716 GB, free: 5.152 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1874, allocations: 349.9 kB / 0.6719 GB, free: 4.805 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.1888, allocations: 0.6194 MB / 0.6725 GB, free: 4.184 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.1903, allocations: 0.7271 MB / 0.6732 GB, free: 3.434 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01719/0.2075, allocations: 4.198 MB / 0.6773 GB, free: 15.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.2075, allocations: 0 / 0.6773 GB, free: 15.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01126/0.2188, allocations: 3.54 MB / 0.6808 GB, free: 11.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.2189, allocations: 8.938 kB / 0.6808 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.2189, allocations: 0 / 0.6808 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005172/0.2241, allocations: 1.431 MB / 0.6822 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.2251, allocations: 195.8 kB / 0.6824 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01861/0.2437, allocations: 8.133 MB / 0.6903 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.2451, allocations: 143.3 kB / 0.6905 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.2452, allocations: 35.98 kB / 0.6905 GB, free: 1.57 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.0004692/0.2457, allocations: 234.1 kB / 0.6907 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.2459, allocations: 107.3 kB / 0.6908 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/0.2571, allocations: 3.36 MB / 0.6941 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.2572, allocations: 12 kB / 0.6941 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2572, allocations: 0 / 0.6941 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.372e-05/0.2573, allocations: 15.8 kB / 0.6941 GB, free: 13.82 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.01309/0.2704, allocations: 4.699 MB / 0.6987 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.2704, allocations: 0 / 0.6987 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000677/0.2711, allocations: 103.8 kB / 0.6988 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005235/0.2763, allocations: 1.468 MB / 0.7002 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/0.2765, allocations: 19.98 kB / 0.7003 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01687/0.2934, allocations: 7.477 MB / 0.7076 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2934, allocations: 0 / 0.7076 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/0.3062, allocations: 4.214 MB / 0.7117 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003258/0.3066, allocations: 188.2 kB / 0.7119 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.3068, allocations: 16 kB / 0.7119 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008531/0.3076, allocations: 91.89 kB / 0.712 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005884/0.3082, allocations: 164.8 kB / 0.7121 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.571e-05/0.3083, allocations: 23.98 kB / 0.7121 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006667/0.309, allocations: 0.5068 MB / 0.7126 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.309, allocations: 0 / 0.7126 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001151/0.3101, allocations: 371.7 kB / 0.713 GB, free: 10.21 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.01311/0.3233, allocations: 4.786 MB / 0.7177 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005785/0.3291, allocations: 2.099 MB / 0.7197 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3291, allocations: 0 / 0.7197 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003863/0.333, allocations: 1.345 MB / 0.721 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008134/0.3338, allocations: 75.3 kB / 0.7211 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03218/0.366, allocations: 13 MB / 0.7338 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007069/0.3668, allocations: 1.021 MB / 0.7348 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004126/0.3672, allocations: 93.67 kB / 0.7349 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005031/0.3677, allocations: 367.3 kB / 0.7352 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of SimCode: time 7.31e-07/0.3677, allocations: 0 / 0.7352 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06539/0.4331, allocations: 29 MB / 0.7636 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/15.72, allocations: 13.58 kB / 0.7636 GB, free: 6.285 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)