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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008249/0.000825, allocations: 88.8 kB / 266.6 MB, free: 9.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07823/0.07823, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2965/0.2965, allocations: 78.01 MB / 455.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.068e-05/4.071e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1353, allocations: 69.25 MB / 0.5889 GB, free: 2.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4216/0.557, allocations: 98.27 MB / 0.6849 GB, free: 1.621 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.5573, allocations: 77.81 kB / 0.685 GB, free: 1.578 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05509/0.6124, allocations: 20.66 MB / 0.7052 GB, free: 120 kB / 442.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.6125, allocations: 0 / 0.7052 GB, free: 120 kB / 442.7 MB Notification: Performance of Transformations before backend: time 7.931e-05/0.6125, allocations: 17.31 kB / 0.7052 GB, free: 104 kB / 442.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.004292/0.6168, allocations: 1.471 MB / 0.7066 GB, free: 14.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.6169, allocations: 15.98 kB / 0.7066 GB, free: 14.66 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00026/0.6172, allocations: 113.2 kB / 0.7067 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/0.62, allocations: 474.5 kB / 0.7072 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.6212, allocations: 0.5746 MB / 0.7077 GB, free: 13.65 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.6214, allocations: 176.2 kB / 0.7079 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.6216, allocations: 69.41 kB / 0.708 GB, free: 13.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.623, allocations: 0.7289 MB / 0.7087 GB, free: 12.95 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.623, allocations: 3.938 kB / 0.7087 GB, free: 12.95 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.397e-05/0.6231, allocations: 26.69 kB / 0.7087 GB, free: 12.94 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.6231, allocations: 19.98 kB / 0.7087 GB, free: 12.92 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.6245, allocations: 0.7454 MB / 0.7095 GB, free: 12.45 MB / 458.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.004471/0.629, allocations: 2.467 MB / 0.7119 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.6303, allocations: 0.9613 MB / 0.7128 GB, free: 9.73 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007255/0.631, allocations: 0.5174 MB / 0.7133 GB, free: 9.441 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.6311, allocations: 16.7 kB / 0.7133 GB, free: 9.426 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.6311, allocations: 42.97 kB / 0.7134 GB, free: 9.383 MB / 458.7 MB Notification: Performance of pre-optimization done (n=84): time 2.555e-06/0.6312, allocations: 3.938 kB / 0.7134 GB, free: 9.379 MB / 458.7 MB Notification: Performance of matching and sorting (n=84): time 0.01044/0.6416, allocations: 3.401 MB / 0.7167 GB, free: 6.434 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.6417, allocations: 64.12 kB / 0.7168 GB, free: 6.359 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.6428, allocations: 0.6314 MB / 0.7174 GB, free: 5.871 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001739/0.643, allocations: 39.83 kB / 0.7174 GB, free: 5.836 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.6433, allocations: 407.1 kB / 0.7178 GB, free: 5.609 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003981/0.6437, allocations: 297.7 kB / 0.7181 GB, free: 5.352 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.6438, allocations: 11.25 kB / 0.7181 GB, free: 5.352 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6439, allocations: 340.1 kB / 0.7184 GB, free: 5.027 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006737/0.6446, allocations: 383 kB / 0.7188 GB, free: 4.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000739/0.6453, allocations: 482 kB / 0.7192 GB, free: 4.508 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007455/0.6461, allocations: 427.2 kB / 0.7197 GB, free: 4.258 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6461, allocations: 0 / 0.7197 GB, free: 4.258 MB / 458.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01071/0.6568, allocations: 3.522 MB / 0.7231 GB, free: 1.234 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.6569, allocations: 11.98 kB / 0.7231 GB, free: 1.223 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.6569, allocations: 0 / 0.7231 GB, free: 1.223 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005265/0.6622, allocations: 1.456 MB / 0.7245 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000692/0.6629, allocations: 127 kB / 0.7246 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/0.6773, allocations: 6.866 MB / 0.7314 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.6787, allocations: 169.5 kB / 0.7315 GB, free: 10.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.6789, allocations: 22.75 kB / 0.7315 GB, free: 10.93 MB / 474.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.0003024/0.6792, allocations: 146.4 kB / 0.7317 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/0.6795, allocations: 98.95 kB / 0.7318 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/0.6902, allocations: 3.526 MB / 0.7352 GB, free: 7.727 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.6902, allocations: 8 kB / 0.7352 GB, free: 7.719 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.6902, allocations: 0 / 0.7352 GB, free: 7.719 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.6903, allocations: 7.984 kB / 0.7352 GB, free: 7.711 MB / 474.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.0125/0.7028, allocations: 4.886 MB / 0.74 GB, free: 3.602 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.7028, allocations: 0 / 0.74 GB, free: 3.602 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005995/0.7034, allocations: 112.6 kB / 0.7401 GB, free: 3.496 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004859/0.7083, allocations: 1.4 MB / 0.7415 GB, free: 2.207 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.685e-05/0.7084, allocations: 23.92 kB / 0.7415 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/0.7208, allocations: 5.972 MB / 0.7473 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7208, allocations: 0 / 0.7473 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/0.7326, allocations: 4.23 MB / 0.7515 GB, free: 7.824 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004169/0.733, allocations: 187.7 kB / 0.7516 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.7332, allocations: 15.95 kB / 0.7517 GB, free: 7.605 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009009/0.7341, allocations: 115.9 kB / 0.7518 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005159/0.7346, allocations: 176.4 kB / 0.7519 GB, free: 7.316 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.641e-05/0.7347, allocations: 20 kB / 0.752 GB, free: 7.297 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006973/0.7354, allocations: 0.4992 MB / 0.7524 GB, free: 6.801 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7354, allocations: 0 / 0.7524 GB, free: 6.801 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001146/0.7366, allocations: 371.5 kB / 0.7528 GB, free: 6.438 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.01196/0.7485, allocations: 4.813 MB / 0.7575 GB, free: 1.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004683/0.7533, allocations: 1.733 MB / 0.7592 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.7533, allocations: 4.062 kB / 0.7592 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003476/0.7568, allocations: 1.272 MB / 0.7604 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007009/0.7575, allocations: 79.11 kB / 0.7605 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.7605, allocations: 1.478 MB / 0.762 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.7612, allocations: 1.04 MB / 0.763 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003004/0.7615, allocations: 80.91 kB / 0.763 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004533/0.7619, allocations: 347.3 kB / 0.7634 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.7619, allocations: 0 / 0.7634 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04704/0.809, allocations: 25.65 MB / 0.7884 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.8092, allocations: 181.5 kB / 0.7886 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.697/3.506, allocations: 0 / 0.7886 GB, free: 1.684 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)