Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1128/0.1128, allocations: 12.61 MB / 28.11 MB, free: 240 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 107.5 kB / 31.7 MB, free: 3.492 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.1 MB / 240.3 MB, free: 12.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 188.5 kB / 290.5 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4283/0.4283, allocations: 78.5 MB / 419.2 MB, free: 11.34 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 143.8 kB / 499.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2543, allocations: 68.11 MB / 0.5547 GB, free: 32.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.005385/0.2597, allocations: 5.368 MB / 0.5599 GB, free: 28.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003047/0.2628, allocations: 1.599 MB / 0.5615 GB, free: 27.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004651/0.2634, allocations: 9.062 kB / 0.5615 GB, free: 27.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004412/0.2638, allocations: 194.7 kB / 0.5617 GB, free: 27.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.2652, allocations: 0.6254 MB / 0.5623 GB, free: 26.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.2663, allocations: 0.5066 MB / 0.5628 GB, free: 26.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.2675, allocations: 1.086 MB / 0.5638 GB, free: 25.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003931/0.2679, allocations: 268.4 kB / 0.5641 GB, free: 25.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006166/0.2686, allocations: 481.2 kB / 0.5646 GB, free: 25.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006031/0.2692, allocations: 0.6072 MB / 0.5652 GB, free: 24.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.2693, allocations: 84.16 kB / 0.5652 GB, free: 24.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005143/0.2699, allocations: 223.3 kB / 0.5654 GB, free: 24.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.27, allocations: 247.6 kB / 0.5657 GB, free: 24.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003595/0.2704, allocations: 0.5027 MB / 0.5662 GB, free: 24.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.2715, allocations: 1.248 MB / 0.5674 GB, free: 23.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2715, allocations: 0 / 0.5674 GB, free: 23.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2715, allocations: 5.312 kB / 0.5674 GB, free: 23.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.2716, allocations: 4 kB / 0.5674 GB, free: 23.39 MB / 398.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.007065/0.2786, allocations: 2.166 MB / 0.5695 GB, free: 22.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.2787, allocations: 13.14 kB / 0.5695 GB, free: 22.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.2788, allocations: 111.3 kB / 0.5696 GB, free: 21.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004264/0.2831, allocations: 0.6438 MB / 0.5703 GB, free: 21.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.2843, allocations: 0.6554 MB / 0.5709 GB, free: 21.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.2844, allocations: 171.3 kB / 0.5711 GB, free: 20.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.2846, allocations: 66.5 kB / 0.5711 GB, free: 20.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.2864, allocations: 0.8873 MB / 0.572 GB, free: 20.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.2864, allocations: 0 / 0.572 GB, free: 20.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.647e-05/0.2865, allocations: 25.47 kB / 0.572 GB, free: 20.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.2865, allocations: 18.84 kB / 0.572 GB, free: 20.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.2885, allocations: 0.9283 MB / 0.5729 GB, free: 19.96 MB / 398.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.003962/0.2925, allocations: 2.483 MB / 0.5754 GB, free: 18.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.294, allocations: 1.116 MB / 0.5765 GB, free: 16.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.2952, allocations: 0.6484 MB / 0.5771 GB, free: 16.19 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.865e-05/0.2953, allocations: 20.92 kB / 0.5771 GB, free: 16.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.2953, allocations: 39.56 kB / 0.5772 GB, free: 16.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=84): time 2.985e-06/0.2953, allocations: 3.984 kB / 0.5772 GB, free: 16.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=84): time 0.02139/0.3167, allocations: 5.603 MB / 0.5826 GB, free: 10.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.3168, allocations: 60.41 kB / 0.5827 GB, free: 10.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008829/0.3177, allocations: 0.7552 MB / 0.5834 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001872/0.3179, allocations: 41.7 kB / 0.5835 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.3181, allocations: 396.8 kB / 0.5838 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.3183, allocations: 307.6 kB / 0.5841 GB, free: 8.902 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003058/0.3186, allocations: 190.8 kB / 0.5843 GB, free: 8.711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.3187, allocations: 341.9 kB / 0.5846 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.3199, allocations: 0.6194 MB / 0.5852 GB, free: 7.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.3212, allocations: 0.7349 MB / 0.586 GB, free: 6.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01597/0.3372, allocations: 4.202 MB / 0.5901 GB, free: 2.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3372, allocations: 0 / 0.5901 GB, free: 2.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01079/0.348, allocations: 3.536 MB / 0.5935 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.3481, allocations: 4 kB / 0.5935 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.3481, allocations: 4 kB / 0.5935 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005418/0.3535, allocations: 1.434 MB / 0.5949 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.3546, allocations: 199.7 kB / 0.5951 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/0.3736, allocations: 8.122 MB / 0.6031 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.3751, allocations: 143.3 kB / 0.6032 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.3753, allocations: 43.98 kB / 0.6032 GB, free: 5.125 MB / 414.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.0005075/0.3758, allocations: 230 kB / 0.6035 GB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/0.3761, allocations: 98.72 kB / 0.6035 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.3875, allocations: 3.356 MB / 0.6068 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.3876, allocations: 8 kB / 0.6068 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.3876, allocations: 0 / 0.6068 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/0.3876, allocations: 11.92 kB / 0.6068 GB, free: 1.402 MB / 414.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.01352/0.4012, allocations: 4.713 MB / 0.6114 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.4012, allocations: 0 / 0.6114 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006201/0.4018, allocations: 107.8 kB / 0.6115 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005595/0.4074, allocations: 1.464 MB / 0.613 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/0.4076, allocations: 20 kB / 0.613 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01759/0.4252, allocations: 7.481 MB / 0.6203 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4252, allocations: 0 / 0.6203 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/0.4387, allocations: 4.201 MB / 0.6244 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004258/0.4392, allocations: 191.7 kB / 0.6246 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003232/0.4395, allocations: 12 kB / 0.6246 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.4406, allocations: 83.91 kB / 0.6247 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005905/0.4412, allocations: 172.8 kB / 0.6248 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.67e-05/0.4413, allocations: 20 kB / 0.6249 GB, free: 14.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006975/0.442, allocations: 0.5107 MB / 0.6254 GB, free: 14.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.442, allocations: 3.938 kB / 0.6254 GB, free: 14.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001352/0.4434, allocations: 371.5 kB / 0.6257 GB, free: 13.77 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.0138/0.4572, allocations: 4.777 MB / 0.6304 GB, free: 8.957 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006205/0.4634, allocations: 2.144 MB / 0.6325 GB, free: 6.805 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4634, allocations: 0 / 0.6325 GB, free: 6.805 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004343/0.4678, allocations: 1.349 MB / 0.6338 GB, free: 5.441 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.4689, allocations: 75.31 kB / 0.6339 GB, free: 5.367 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03405/0.503, allocations: 13.36 MB / 0.6469 GB, free: 7.703 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.5037, allocations: 1.029 MB / 0.6479 GB, free: 6.645 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000472/0.5042, allocations: 93.67 kB / 0.648 GB, free: 6.551 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005831/0.5048, allocations: 363.3 kB / 0.6484 GB, free: 6.195 MB / 462.1 MB Notification: Performance of SimCode: time 1.483e-06/0.5048, allocations: 0 / 0.6484 GB, free: 6.195 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05637/0.5612, allocations: 28.64 MB / 0.6763 GB, free: 9.629 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.13, allocations: 8.141 kB / 0.6763 GB, free: 9.621 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)