Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_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.007385/0.007384, allocations: 103.1 kB / 15.74 MB, free: 6.449 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.416/1.416, 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.001411/0.001411, allocations: 196.1 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4618/0.4618, allocations: 78.54 MB / 418.4 MB, free: 3.164 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 83.8 kB / 0.5532 GB, free: 1.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3006, allocations: 68.16 MB / 0.6197 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.004644/0.3053, allocations: 5.337 MB / 0.6249 GB, free: 4.848 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.3079, allocations: 1.634 MB / 0.6265 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004837/0.3084, allocations: 8 kB / 0.6265 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004305/0.3089, allocations: 182.4 kB / 0.6267 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.3103, allocations: 0.6451 MB / 0.6273 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000859/0.3112, allocations: 0.4967 MB / 0.6278 GB, free: 1.887 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008178/0.312, allocations: 1.086 MB / 0.6289 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.3123, allocations: 270.5 kB / 0.6292 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.3127, allocations: 469.9 kB / 0.6296 GB, free: 60 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007527/0.3135, allocations: 0.6146 MB / 0.6302 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.3137, allocations: 88 kB / 0.6303 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/0.3141, allocations: 215.8 kB / 0.6305 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.3144, allocations: 246.9 kB / 0.6307 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004754/0.3149, allocations: 0.5048 MB / 0.6312 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.3164, allocations: 1.273 MB / 0.6325 GB, free: 13.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3164, allocations: 0 / 0.6325 GB, free: 13.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3164, allocations: 0 / 0.6325 GB, free: 13.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.3164, allocations: 0 / 0.6325 GB, free: 13.12 MB / 446.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.007095/0.3235, allocations: 2.205 MB / 0.6346 GB, free: 10.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3236, allocations: 12.03 kB / 0.6346 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.3238, allocations: 110.6 kB / 0.6347 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004381/0.3281, allocations: 0.659 MB / 0.6354 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.3292, allocations: 0.655 MB / 0.636 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.3295, allocations: 180.1 kB / 0.6362 GB, free: 9.172 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.3296, allocations: 64 kB / 0.6362 GB, free: 9.109 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.3316, allocations: 0.8809 MB / 0.6371 GB, free: 8.219 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.3316, allocations: 0 / 0.6371 GB, free: 8.219 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.362e-05/0.3317, allocations: 28 kB / 0.6371 GB, free: 8.191 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.3317, allocations: 23.92 kB / 0.6372 GB, free: 8.168 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.3339, allocations: 0.9264 MB / 0.6381 GB, free: 7.242 MB / 446.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.004674/0.3386, allocations: 2.471 MB / 0.6405 GB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.3406, allocations: 1.104 MB / 0.6416 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.3421, allocations: 0.6601 MB / 0.6422 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.3422, allocations: 9 kB / 0.6422 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.3423, allocations: 47.56 kB / 0.6423 GB, free: 2.754 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 2.775e-06/0.3423, allocations: 0 / 0.6423 GB, free: 2.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.02391/0.3662, allocations: 5.611 MB / 0.6477 GB, free: 13.11 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.3663, allocations: 60.41 kB / 0.6478 GB, free: 13.04 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.3674, allocations: 0.7553 MB / 0.6485 GB, free: 12.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002124/0.3676, allocations: 41.7 kB / 0.6486 GB, free: 12.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/0.368, allocations: 401.2 kB / 0.6489 GB, free: 11.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003942/0.3684, allocations: 321.2 kB / 0.6493 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003832/0.3688, allocations: 182.9 kB / 0.6494 GB, free: 11.33 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3689, allocations: 345.9 kB / 0.6498 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.3704, allocations: 0.6194 MB / 0.6504 GB, free: 10.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.372, allocations: 0.731 MB / 0.6511 GB, free: 9.609 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01822/0.3903, allocations: 4.19 MB / 0.6552 GB, free: 5.391 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.3903, allocations: 0 / 0.6552 GB, free: 5.391 MB / 462.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01244/0.4028, allocations: 3.533 MB / 0.6586 GB, free: 1.844 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.4028, allocations: 12.03 kB / 0.6586 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.4028, allocations: 0 / 0.6586 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005569/0.4084, allocations: 1.438 MB / 0.66 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.4095, allocations: 199.7 kB / 0.6602 GB, free: 200 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02023/0.4298, allocations: 8.131 MB / 0.6682 GB, free: 7.926 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.4312, allocations: 147.3 kB / 0.6683 GB, free: 7.781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.4314, allocations: 35.98 kB / 0.6683 GB, free: 7.746 MB / 478.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.0005018/0.4319, allocations: 226.1 kB / 0.6686 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.4321, allocations: 107.3 kB / 0.6687 GB, free: 7.406 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/0.4441, allocations: 3.36 MB / 0.6719 GB, free: 4.031 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/0.4442, allocations: 8 kB / 0.6719 GB, free: 4.023 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4442, allocations: 0 / 0.6719 GB, free: 4.023 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.519e-05/0.4443, allocations: 7.922 kB / 0.672 GB, free: 4.016 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 postOpt removeSimpleEquations (simulation): time 0.01436/0.4586, allocations: 4.707 MB / 0.6766 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.4587, allocations: 0 / 0.6766 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006813/0.4594, allocations: 99.88 kB / 0.6766 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005924/0.4653, allocations: 1.464 MB / 0.6781 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002136/0.4656, allocations: 27.92 kB / 0.6781 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01828/0.4839, allocations: 7.477 MB / 0.6854 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4839, allocations: 0 / 0.6854 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/0.498, allocations: 4.206 MB / 0.6895 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.4984, allocations: 188.2 kB / 0.6897 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.4985, allocations: 19.94 kB / 0.6897 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009006/0.4994, allocations: 91.88 kB / 0.6898 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005719/0.5, allocations: 168.8 kB / 0.69 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.623e-05/0.5001, allocations: 23.98 kB / 0.69 GB, free: 1.242 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006782/0.5008, allocations: 0.5068 MB / 0.6905 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5008, allocations: 0 / 0.6905 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00117/0.502, allocations: 379.7 kB / 0.6908 GB, free: 376 kB / 494.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.01457/0.5166, allocations: 4.782 MB / 0.6955 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006097/0.5227, allocations: 2.099 MB / 0.6976 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5227, allocations: 0 / 0.6976 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004192/0.5269, allocations: 1.341 MB / 0.6989 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008425/0.5278, allocations: 77.33 kB / 0.6989 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03451/0.5623, allocations: 13 MB / 0.7116 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008689/0.5632, allocations: 1.025 MB / 0.7126 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004943/0.5637, allocations: 93.69 kB / 0.7127 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006668/0.5644, allocations: 363.3 kB / 0.7131 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of SimCode: time 8.72e-07/0.5644, allocations: 0 / 0.7131 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06891/0.6334, allocations: 29.01 MB / 0.7414 GB, free: 12.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/15.87, allocations: 10.19 kB / 0.7414 GB, free: 12.45 MB / 0.545 GB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)