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.005484/0.005484, allocations: 96.39 kB / 15.73 MB, free: 6.484 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.349/1.349, allocations: 222.9 MB / 239.4 MB, free: 4.395 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.001437/0.001437, allocations: 192.5 kB / 289.7 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4546/0.4546, allocations: 78.53 MB / 418.4 MB, free: 3.152 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 84.09 kB / 0.5531 GB, free: 1.426 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3089, allocations: 68.17 MB / 0.6197 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.005844/0.3147, allocations: 5.34 MB / 0.6249 GB, free: 4.797 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003264/0.318, allocations: 1.634 MB / 0.6265 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.3193, allocations: 8 kB / 0.6265 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007015/0.3201, allocations: 182.4 kB / 0.6267 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.3221, allocations: 0.68 MB / 0.6274 GB, free: 2.293 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.3232, allocations: 0.4984 MB / 0.6279 GB, free: 1.801 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.3245, allocations: 1.086 MB / 0.6289 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004444/0.325, allocations: 270.5 kB / 0.6292 GB, free: 444 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006909/0.3257, allocations: 470 kB / 0.6296 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008594/0.3266, allocations: 0.6144 MB / 0.6302 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002543/0.3268, allocations: 84 kB / 0.6303 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005625/0.3274, allocations: 219.9 kB / 0.6305 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002839/0.3277, allocations: 247 kB / 0.6308 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005835/0.3283, allocations: 0.5048 MB / 0.6313 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.3299, allocations: 1.273 MB / 0.6325 GB, free: 13.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.33, allocations: 0 / 0.6325 GB, free: 13.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.33, allocations: 0 / 0.6325 GB, free: 13.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.534e-05/0.33, allocations: 0 / 0.6325 GB, free: 13.04 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.007155/0.3372, allocations: 2.2 MB / 0.6346 GB, free: 10.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3372, allocations: 12.03 kB / 0.6347 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000169/0.3374, allocations: 110.7 kB / 0.6348 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004213/0.3416, allocations: 0.659 MB / 0.6354 GB, free: 9.992 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009925/0.3426, allocations: 0.6628 MB / 0.6361 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.3428, allocations: 176.1 kB / 0.6362 GB, free: 9.086 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.343, allocations: 64 kB / 0.6363 GB, free: 9.023 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.3448, allocations: 0.8809 MB / 0.6371 GB, free: 8.133 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.3448, allocations: 4 kB / 0.6371 GB, free: 8.129 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.024e-05/0.3449, allocations: 24 kB / 0.6372 GB, free: 8.105 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.3449, allocations: 19.94 kB / 0.6372 GB, free: 8.086 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.3469, allocations: 0.9381 MB / 0.6381 GB, free: 7.148 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.004249/0.3511, allocations: 2.463 MB / 0.6405 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.3531, allocations: 1.11 MB / 0.6416 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.3544, allocations: 0.664 MB / 0.6422 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.43e-05/0.3545, allocations: 12.98 kB / 0.6423 GB, free: 2.711 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.3545, allocations: 39.56 kB / 0.6423 GB, free: 2.664 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 2.575e-06/0.3546, allocations: 0 / 0.6423 GB, free: 2.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.02247/0.377, allocations: 5.611 MB / 0.6478 GB, free: 13.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.3771, allocations: 60.41 kB / 0.6478 GB, free: 12.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.3782, allocations: 0.7553 MB / 0.6486 GB, free: 12.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000188/0.3784, allocations: 45.7 kB / 0.6486 GB, free: 12.13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/0.3787, allocations: 397.2 kB / 0.649 GB, free: 11.74 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003871/0.3791, allocations: 317.3 kB / 0.6493 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003945/0.3795, allocations: 182.9 kB / 0.6495 GB, free: 11.24 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.3797, allocations: 349.9 kB / 0.6498 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.3811, allocations: 0.6155 MB / 0.6504 GB, free: 10.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.3825, allocations: 0.7349 MB / 0.6511 GB, free: 9.52 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0174/0.3999, allocations: 4.19 MB / 0.6552 GB, free: 5.301 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.4, allocations: 0 / 0.6552 GB, free: 5.301 MB / 462.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01168/0.4117, allocations: 3.537 MB / 0.6587 GB, free: 1.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.4118, allocations: 8 kB / 0.6587 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.4118, allocations: 4 kB / 0.6587 GB, free: 1.738 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0054/0.4172, allocations: 1.434 MB / 0.6601 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.4183, allocations: 191.8 kB / 0.6603 GB, free: 116 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01891/0.4372, allocations: 8.144 MB / 0.6682 GB, free: 7.828 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.4387, allocations: 139.3 kB / 0.6683 GB, free: 7.691 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.4389, allocations: 35.98 kB / 0.6684 GB, free: 7.656 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.0005431/0.4394, allocations: 230.1 kB / 0.6686 GB, free: 7.418 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/0.4398, allocations: 107.3 kB / 0.6687 GB, free: 7.312 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/0.4513, allocations: 3.356 MB / 0.672 GB, free: 3.941 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/0.4514, allocations: 12 kB / 0.672 GB, free: 3.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4514, allocations: 0 / 0.672 GB, free: 3.93 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.728e-05/0.4514, allocations: 11.86 kB / 0.672 GB, free: 3.918 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.01369/0.4651, allocations: 4.691 MB / 0.6766 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.4652, allocations: 3.938 kB / 0.6766 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/0.4658, allocations: 107.9 kB / 0.6767 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005391/0.4712, allocations: 1.468 MB / 0.6781 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/0.4714, allocations: 20 kB / 0.6781 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01702/0.4884, allocations: 7.469 MB / 0.6854 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4885, allocations: 0 / 0.6854 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01319/0.5017, allocations: 4.221 MB / 0.6896 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003056/0.502, allocations: 188.2 kB / 0.6897 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/0.5023, allocations: 16 kB / 0.6898 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000998/0.5033, allocations: 83.91 kB / 0.6898 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005445/0.5038, allocations: 176.7 kB / 0.69 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.867e-05/0.5039, allocations: 20 kB / 0.69 GB, free: 1.156 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006412/0.5046, allocations: 0.5107 MB / 0.6905 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5046, allocations: 0 / 0.6905 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001436/0.506, allocations: 371.7 kB / 0.6909 GB, free: 292 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.01342/0.5195, allocations: 4.786 MB / 0.6955 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00592/0.5254, allocations: 2.111 MB / 0.6976 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5255, allocations: 0 / 0.6976 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003958/0.5294, allocations: 1.341 MB / 0.6989 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008336/0.5303, allocations: 75.3 kB / 0.699 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03133/0.5616, allocations: 12.99 MB / 0.7117 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/0.5622, allocations: 1.029 MB / 0.7127 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003726/0.5626, allocations: 89.69 kB / 0.7128 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004976/0.5631, allocations: 363.3 kB / 0.7131 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of SimCode: time 7.91e-07/0.5631, allocations: 0 / 0.7131 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05623/0.6194, allocations: 29 MB / 0.7414 GB, free: 12.38 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.23, allocations: 11.86 kB / 0.7414 GB, free: 12.36 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)