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.001589/0.001589, allocations: 108 kB / 15.61 MB, free: 152 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.356/1.356, allocations: 222.9 MB / 239.3 MB, free: 4.594 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.001226/0.001226, allocations: 184.5 kB / 289.5 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5427/0.5427, allocations: 91.9 MB / 431.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 83.86 kB / 0.502 GB, free: 7.656 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2832, allocations: 71.25 MB / 0.5716 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.004545/0.2877, allocations: 5.36 MB / 0.5768 GB, free: 33.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.2902, allocations: 1.644 MB / 0.5784 GB, free: 32.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003312/0.2905, allocations: 5.688 kB / 0.5784 GB, free: 32.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.2909, allocations: 178.9 kB / 0.5786 GB, free: 32.58 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.2922, allocations: 0.6459 MB / 0.5792 GB, free: 32.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008493/0.293, allocations: 0.4951 MB / 0.5797 GB, free: 31.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007514/0.2938, allocations: 1.086 MB / 0.5808 GB, free: 31.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003196/0.2941, allocations: 268.1 kB / 0.581 GB, free: 31.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/0.2945, allocations: 463.6 kB / 0.5815 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004964/0.295, allocations: 0.6118 MB / 0.5821 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.2952, allocations: 86.84 kB / 0.5821 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.2955, allocations: 223.5 kB / 0.5824 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.2957, allocations: 243 kB / 0.5826 GB, free: 30.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002977/0.296, allocations: 0.507 MB / 0.5831 GB, free: 30.19 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008178/0.2968, allocations: 1.251 MB / 0.5843 GB, free: 29.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2968, allocations: 0 / 0.5843 GB, free: 29.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2968, allocations: 0 / 0.5843 GB, free: 29.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.2969, allocations: 0 / 0.5843 GB, free: 29.61 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.00641/0.3033, allocations: 2.166 MB / 0.5864 GB, free: 28.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3033, allocations: 9.562 kB / 0.5864 GB, free: 28.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.3035, allocations: 112.5 kB / 0.5865 GB, free: 28.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004065/0.3075, allocations: 0.6411 MB / 0.5872 GB, free: 28.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000761/0.3083, allocations: 0.6585 MB / 0.5878 GB, free: 27.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.3085, allocations: 184.8 kB / 0.588 GB, free: 27.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.3086, allocations: 65.97 kB / 0.588 GB, free: 27.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.3103, allocations: 0.8786 MB / 0.5889 GB, free: 27.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3103, allocations: 0 / 0.5889 GB, free: 27.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.693e-05/0.3104, allocations: 25.97 kB / 0.5889 GB, free: 27.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.3104, allocations: 24.72 kB / 0.5889 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.3124, allocations: 0.9283 MB / 0.5899 GB, free: 27.09 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.003987/0.3164, allocations: 2.486 MB / 0.5923 GB, free: 25.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.3181, allocations: 1.107 MB / 0.5934 GB, free: 25.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.3194, allocations: 0.66 MB / 0.594 GB, free: 24.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.3195, allocations: 16.98 kB / 0.594 GB, free: 24.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.3195, allocations: 39.34 kB / 0.5941 GB, free: 24.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.765e-06/0.3195, allocations: 4 kB / 0.5941 GB, free: 24.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.02395/0.3435, allocations: 5.602 MB / 0.5995 GB, free: 23.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.3436, allocations: 61.3 kB / 0.5996 GB, free: 23.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.3446, allocations: 0.7579 MB / 0.6003 GB, free: 23.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000228/0.3449, allocations: 41.92 kB / 0.6004 GB, free: 23.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.3452, allocations: 394.1 kB / 0.6008 GB, free: 22.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003355/0.3455, allocations: 303.5 kB / 0.601 GB, free: 22.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000407/0.3459, allocations: 184.6 kB / 0.6012 GB, free: 22.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.346, allocations: 345.2 kB / 0.6015 GB, free: 22.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.3476, allocations: 0.6173 MB / 0.6021 GB, free: 22.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.3492, allocations: 0.7325 MB / 0.6029 GB, free: 21.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01821/0.3674, allocations: 4.205 MB / 0.607 GB, free: 20.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/0.3675, allocations: 1.094 kB / 0.607 GB, free: 20.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01232/0.3798, allocations: 3.533 MB / 0.6104 GB, free: 19.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.3798, allocations: 6.125 kB / 0.6104 GB, free: 19.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3799, allocations: 2.25 kB / 0.6104 GB, free: 19.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005336/0.3852, allocations: 1.437 MB / 0.6118 GB, free: 19.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.3862, allocations: 191.5 kB / 0.612 GB, free: 19.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/0.4035, allocations: 8.137 MB / 0.62 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.4048, allocations: 147.3 kB / 0.6201 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.405, allocations: 39.98 kB / 0.6201 GB, free: 12.42 MB / 430.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.0004232/0.4054, allocations: 230 kB / 0.6204 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.4056, allocations: 106.7 kB / 0.6205 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/0.4165, allocations: 3.352 MB / 0.6237 GB, free: 8.711 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.4166, allocations: 8 kB / 0.6237 GB, free: 8.703 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4166, allocations: 0 / 0.6237 GB, free: 8.703 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/0.4166, allocations: 7.922 kB / 0.6238 GB, free: 8.695 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 postOpt removeSimpleEquations (simulation): time 0.01279/0.4294, allocations: 4.713 MB / 0.6284 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.4295, allocations: 4 kB / 0.6284 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000638/0.4301, allocations: 99.88 kB / 0.6285 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005316/0.4354, allocations: 1.468 MB / 0.6299 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.4356, allocations: 23.98 kB / 0.6299 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0171/0.4527, allocations: 7.464 MB / 0.6372 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4527, allocations: 7.938 kB / 0.6372 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/0.4665, allocations: 4.201 MB / 0.6413 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.4669, allocations: 191.7 kB / 0.6415 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/0.4671, allocations: 8 kB / 0.6415 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.4682, allocations: 91.89 kB / 0.6416 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005735/0.4687, allocations: 164.8 kB / 0.6417 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.681e-05/0.4688, allocations: 31.92 kB / 0.6418 GB, free: 5.934 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000715/0.4696, allocations: 0.5068 MB / 0.6423 GB, free: 5.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4696, allocations: 8 kB / 0.6423 GB, free: 5.422 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001232/0.4708, allocations: 363.6 kB / 0.6426 GB, free: 5.066 MB / 446.1 MB 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.01402/0.4848, allocations: 4.789 MB / 0.6473 GB, free: 248 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006107/0.491, allocations: 2.135 MB / 0.6494 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.491, allocations: 4.062 kB / 0.6494 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004083/0.4951, allocations: 1.33 MB / 0.6507 GB, free: 12.74 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/0.4959, allocations: 85.11 kB / 0.6508 GB, free: 12.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03277/0.5286, allocations: 13.37 MB / 0.6638 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.5292, allocations: 1.021 MB / 0.6648 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000376/0.5296, allocations: 97.67 kB / 0.6649 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004699/0.5301, allocations: 371.3 kB / 0.6653 GB, free: 13.48 MB / 478.1 MB Notification: Performance of SimCode: time 6.42e-07/0.5301, allocations: 0 / 0.6653 GB, free: 13.48 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05828/0.5884, allocations: 28.64 MB / 0.6932 GB, free: 1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.92, allocations: 9.953 kB / 0.6932 GB, free: 0.9922 MB / 494.1 MB (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)