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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001345, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007936/0.0007936, allocations: 86.42 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4661/0.4661, allocations: 78.03 MB / 414.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.524e-05, allocations: 4 kB / 491.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3467, allocations: 69.33 MB / 0.548 GB, free: 20.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.4737, allocations: 96.78 MB / 0.6426 GB, free: 3.637 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.474, allocations: 79.95 kB / 0.6426 GB, free: 3.559 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05678/0.5308, allocations: 21.28 MB / 0.6634 GB, free: 14.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.5309, allocations: 0 / 0.6634 GB, free: 14.13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.33e-05/0.5309, allocations: 16 kB / 0.6634 GB, free: 14.12 MB / 490.7 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.003694/0.5346, allocations: 1.476 MB / 0.6649 GB, free: 12.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5347, allocations: 11.97 kB / 0.6649 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.5348, allocations: 106.5 kB / 0.665 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002559/0.5374, allocations: 474 kB / 0.6654 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009606/0.5384, allocations: 0.5814 MB / 0.666 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/0.5386, allocations: 180.1 kB / 0.6662 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.5387, allocations: 60 kB / 0.6662 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.54, allocations: 0.7366 MB / 0.667 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.5401, allocations: 0 / 0.667 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-05/0.5401, allocations: 24 kB / 0.667 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.5402, allocations: 19.98 kB / 0.667 GB, free: 10.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.5414, allocations: 0.7471 MB / 0.6677 GB, free: 9.582 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004154/0.5456, allocations: 2.479 MB / 0.6701 GB, free: 7.004 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.5469, allocations: 0.9566 MB / 0.6711 GB, free: 5.965 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000759/0.5476, allocations: 0.5152 MB / 0.6716 GB, free: 5.441 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.5478, allocations: 12.78 kB / 0.6716 GB, free: 5.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.5478, allocations: 43.28 kB / 0.6716 GB, free: 5.379 MB / 490.7 MB Notification: Performance of pre-optimization done (n=84): time 2.815e-06/0.5478, allocations: 0 / 0.6716 GB, free: 5.379 MB / 490.7 MB Notification: Performance of matching and sorting (n=84): time 0.01034/0.5582, allocations: 3.407 MB / 0.675 GB, free: 1.957 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.5582, allocations: 60.19 kB / 0.675 GB, free: 1.887 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.5593, allocations: 0.6336 MB / 0.6756 GB, free: 1.246 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000192/0.5595, allocations: 45.64 kB / 0.6757 GB, free: 1.195 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.5598, allocations: 408.8 kB / 0.6761 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/0.5601, allocations: 295.6 kB / 0.6764 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.5602, allocations: 12 kB / 0.6764 GB, free: 496 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.5603, allocations: 337.9 kB / 0.6767 GB, free: 152 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2982/0.8585, allocations: 381.2 kB / 0.6771 GB, free: 107.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008603/0.8594, allocations: 477.3 kB / 0.6775 GB, free: 107.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007733/0.8602, allocations: 426.6 kB / 0.6779 GB, free: 107.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.8602, allocations: 1.094 kB / 0.6779 GB, free: 107.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01208/0.8723, allocations: 3.523 MB / 0.6814 GB, free: 107.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.8724, allocations: 5.75 kB / 0.6814 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.8724, allocations: 2.375 kB / 0.6814 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005711/0.8781, allocations: 1.466 MB / 0.6828 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007431/0.8789, allocations: 120.5 kB / 0.6829 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/0.8913, allocations: 6.868 MB / 0.6896 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.8925, allocations: 159.4 kB / 0.6898 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.192e-05/0.8926, allocations: 29.66 kB / 0.6898 GB, free: 105.5 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real exponentialRecovery.xq:VARIABLE(start = 0.0 protected = true ) type: Real exponentialRecovery.xp:VARIABLE(start = 0.0 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002047/0.8928, allocations: 144.8 kB / 0.6899 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.893, allocations: 101.2 kB / 0.69 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009525/0.9025, allocations: 3.521 MB / 0.6935 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.9025, allocations: 6.625 kB / 0.6935 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.9025, allocations: 6.453 kB / 0.6935 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.9026, allocations: 5.578 kB / 0.6935 GB, free: 104.5 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01057/0.9131, allocations: 4.885 MB / 0.6983 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.9132, allocations: 0 / 0.6983 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000567/0.9137, allocations: 112.1 kB / 0.6984 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004235/0.918, allocations: 1.404 MB / 0.6997 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.035e-05/0.9181, allocations: 19.48 kB / 0.6998 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/0.9282, allocations: 5.97 MB / 0.7056 GB, free: 98.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.9282, allocations: 0 / 0.7056 GB, free: 98.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/0.9386, allocations: 4.244 MB / 0.7097 GB, free: 94.72 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000326/0.9389, allocations: 183.3 kB / 0.7099 GB, free: 94.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.939, allocations: 15.88 kB / 0.7099 GB, free: 94.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008572/0.9399, allocations: 121.9 kB / 0.71 GB, free: 94.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000528/0.9405, allocations: 168.6 kB / 0.7102 GB, free: 94.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.9405, allocations: 19.23 kB / 0.7102 GB, free: 94.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005459/0.9411, allocations: 0.496 MB / 0.7107 GB, free: 93.87 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.9411, allocations: 0 / 0.7107 GB, free: 93.87 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001088/0.9422, allocations: 366.4 kB / 0.711 GB, free: 93.53 MB / 490.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01065/0.9528, allocations: 4.821 MB / 0.7158 GB, free: 89.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003964/0.9568, allocations: 1.74 MB / 0.7175 GB, free: 87.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.9569, allocations: 4 kB / 0.7175 GB, free: 87.83 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003073/0.9599, allocations: 1.265 MB / 0.7187 GB, free: 86.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006996/0.9607, allocations: 67.95 kB / 0.7188 GB, free: 86.63 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.9633, allocations: 1.466 MB / 0.7202 GB, free: 85.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.9637, allocations: 1.048 MB / 0.7212 GB, free: 84.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002739/0.9639, allocations: 79.31 kB / 0.7213 GB, free: 84.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003638/0.9643, allocations: 347.8 kB / 0.7216 GB, free: 84.03 MB / 490.7 MB Notification: Performance of SimCode: time 2.785e-06/0.9643, allocations: 4 kB / 0.7216 GB, free: 84.03 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03708/1.001, allocations: 25.64 MB / 0.7467 GB, free: 59.29 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001362/1.002, allocations: 171.4 kB / 0.7468 GB, free: 59.06 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/3.516, allocations: 0 / 0.7468 GB, free: 59.06 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)