Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_dev_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.001539/0.001539, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 221.5 MB / 229.6 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008192/0.0008192, allocations: 91.67 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5092/0.5092, allocations: 78.94 MB / 410.2 MB, free: 5.957 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.27e-05/2.267e-05, allocations: 0 / 486 MB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.172, allocations: 69.51 MB / 0.5425 GB, free: 5.797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4705/0.6426, allocations: 96.69 MB / 0.637 GB, free: 1.25 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.6429, allocations: 79.95 kB / 0.637 GB, free: 1.172 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05913/0.7021, allocations: 21.23 MB / 0.6578 GB, free: 12.04 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7021, allocations: 0 / 0.6578 GB, free: 12.04 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.919e-05/0.7022, allocations: 18.62 kB / 0.6578 GB, free: 12.02 MB / 474.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.004527/0.7067, allocations: 1.473 MB / 0.6592 GB, free: 10.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.7068, allocations: 12.03 kB / 0.6592 GB, free: 10.49 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/0.7098, allocations: 466.1 kB / 0.6597 GB, free: 10.03 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.7112, allocations: 0.5814 MB / 0.6602 GB, free: 9.41 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/0.7114, allocations: 166.3 kB / 0.6604 GB, free: 9.227 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.7117, allocations: 36 kB / 0.6604 GB, free: 9.191 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001582/0.7133, allocations: 0.7133 MB / 0.6611 GB, free: 8.477 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.7147, allocations: 0.6443 MB / 0.6618 GB, free: 7.828 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.7148, allocations: 3.938 kB / 0.6618 GB, free: 7.824 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.7148, allocations: 0 / 0.6618 GB, free: 7.824 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.7148, allocations: 16 kB / 0.6618 GB, free: 7.809 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 preOpt removeSimpleEquations (simulation): time 0.004762/0.7196, allocations: 2.363 MB / 0.6641 GB, free: 5.355 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.7209, allocations: 0.9438 MB / 0.665 GB, free: 4.328 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008599/0.7218, allocations: 492.8 kB / 0.6655 GB, free: 3.844 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.7219, allocations: 16.77 kB / 0.6655 GB, free: 3.828 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/0.722, allocations: 47.33 kB / 0.6655 GB, free: 3.773 MB / 474.7 MB Notification: Performance of pre-optimization done (n=84): time 5.47e-06/0.722, allocations: 3.938 kB / 0.6655 GB, free: 3.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=84): time 0.01103/0.733, allocations: 3.34 MB / 0.6688 GB, free: 424 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.7331, allocations: 68.12 kB / 0.6689 GB, free: 344 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.7342, allocations: 0.5672 MB / 0.6694 GB, free: 15.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.7343, allocations: 29.7 kB / 0.6694 GB, free: 15.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/0.7347, allocations: 408.6 kB / 0.6698 GB, free: 15.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003678/0.735, allocations: 288.5 kB / 0.6701 GB, free: 15.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.7351, allocations: 0 / 0.6701 GB, free: 15.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.7353, allocations: 341.9 kB / 0.6704 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006566/0.7359, allocations: 373.5 kB / 0.6708 GB, free: 14.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007375/0.7367, allocations: 453.8 kB / 0.6712 GB, free: 13.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007339/0.7374, allocations: 410 kB / 0.6716 GB, free: 13.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.7375, allocations: 4 kB / 0.6716 GB, free: 13.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01079/0.7483, allocations: 3.45 MB / 0.675 GB, free: 10 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.7483, allocations: 4 kB / 0.675 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.7483, allocations: 4.75 kB / 0.675 GB, free: 9.992 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005179/0.7535, allocations: 1.425 MB / 0.6764 GB, free: 8.562 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/0.7543, allocations: 119.9 kB / 0.6765 GB, free: 8.445 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/0.7688, allocations: 6.687 MB / 0.683 GB, free: 1.633 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.7702, allocations: 135.3 kB / 0.6832 GB, free: 1.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/0.7704, allocations: 27.98 kB / 0.6832 GB, free: 1.473 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.0003906/0.7708, allocations: 124.6 kB / 0.6833 GB, free: 1.348 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01051/0.7814, allocations: 3.354 MB / 0.6866 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004393/0.7818, allocations: 98.78 kB / 0.6867 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/0.7928, allocations: 3.43 MB / 0.69 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.7929, allocations: 8 kB / 0.69 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.7929, allocations: 0 / 0.69 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.7929, allocations: 7.922 kB / 0.69 GB, free: 10.42 MB / 0.4948 GB 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.01304/0.806, allocations: 4.739 MB / 0.6947 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.806, allocations: 3.984 kB / 0.6947 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006633/0.8067, allocations: 107.9 kB / 0.6948 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004906/0.8116, allocations: 1.387 MB / 0.6961 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/0.8118, allocations: 7.984 kB / 0.6961 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.8247, allocations: 5.848 MB / 0.7019 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.8248, allocations: 3.938 kB / 0.7019 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/0.8369, allocations: 4.155 MB / 0.7059 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004308/0.8374, allocations: 179.8 kB / 0.7061 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002741/0.8377, allocations: 3.984 kB / 0.7061 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.8388, allocations: 107.9 kB / 0.7062 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005243/0.8393, allocations: 164.5 kB / 0.7064 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.638e-05/0.8394, allocations: 23.98 kB / 0.7064 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007832/0.8402, allocations: 451.2 kB / 0.7068 GB, free: 9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8402, allocations: 1.781 kB / 0.7068 GB, free: 9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001451/0.8417, allocations: 331.5 kB / 0.7071 GB, free: 8.676 MB / 0.5105 GB 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.01237/0.854, allocations: 4.736 MB / 0.7117 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004608/0.8587, allocations: 1.676 MB / 0.7134 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.8587, allocations: 0 / 0.7134 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003605/0.8623, allocations: 1.228 MB / 0.7146 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007833/0.8631, allocations: 47.31 kB / 0.7146 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/0.8669, allocations: 1.418 MB / 0.716 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007181/0.8676, allocations: 1.052 MB / 0.717 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003739/0.868, allocations: 72.89 kB / 0.7171 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005107/0.8685, allocations: 347.3 kB / 0.7174 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/0.8685, allocations: 0 / 0.7174 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05792/0.9264, allocations: 23.94 MB / 0.7408 GB, free: 6.309 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.9267, allocations: 127.8 kB / 0.7409 GB, free: 6.121 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/3.765, allocations: 3.656 kB / 0.7409 GB, free: 6.121 MB / 0.5417 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)