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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007807/0.0007807, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.862/0.862, allocations: 177.1 MB / 200.2 MB, free: 5.957 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 156.6 kB / 256.7 MB, free: 13.36 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.258/0.258, allocations: 80.25 MB / 393.4 MB, free: 2.449 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,tolerance=1e-05,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,tolerance=1e-05,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.556 GB, free: 11.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.205e-05, allocations: 5.375 kB / 0.556 GB, free: 11.81 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.003806/0.003828, allocations: 4.799 MB / 0.5607 GB, free: 6.984 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.00613, allocations: 1.661 MB / 0.5623 GB, free: 5.32 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.006365, allocations: 11.94 kB / 0.5623 GB, free: 5.309 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.006693, allocations: 178.4 kB / 0.5625 GB, free: 5.133 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000938/0.007631, allocations: 0.6856 MB / 0.5632 GB, free: 4.445 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00056/0.008191, allocations: 0.5121 MB / 0.5637 GB, free: 3.938 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007102/0.008901, allocations: 1.132 MB / 0.5648 GB, free: 2.801 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.009142, allocations: 179 kB / 0.565 GB, free: 2.613 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004911/0.009633, allocations: 0.6506 MB / 0.5656 GB, free: 1.961 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004258/0.01006, allocations: 0.4907 MB / 0.5661 GB, free: 1.469 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.67e-05/0.01015, allocations: 91.94 kB / 0.5662 GB, free: 1.379 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.01041, allocations: 227.8 kB / 0.5664 GB, free: 1.156 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.01056, allocations: 242.9 kB / 0.5666 GB, free: 0.918 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.01077, allocations: 346.8 kB / 0.5669 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1979/0.2087, allocations: 1.32 MB / 0.5682 GB, free: 17.82 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2087, allocations: 0 / 0.5682 GB, free: 17.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2087, allocations: 1.312 kB / 0.5682 GB, free: 17.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.189e-05/0.2087, allocations: 0 / 0.5682 GB, free: 17.82 MB / 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.004048/0.2127, allocations: 2.141 MB / 0.5703 GB, free: 17.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2128, allocations: 9.406 kB / 0.5703 GB, free: 17.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/0.2151, allocations: 0.6845 MB / 0.571 GB, free: 17.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007646/0.2158, allocations: 0.602 MB / 0.5716 GB, free: 16.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.2159, allocations: 182 kB / 0.5718 GB, free: 16.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.2161, allocations: 67.77 kB / 0.5718 GB, free: 16.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.2175, allocations: 0.884 MB / 0.5727 GB, free: 16.58 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.2175, allocations: 0 / 0.5727 GB, free: 16.58 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.179e-05/0.2176, allocations: 24.97 kB / 0.5727 GB, free: 16.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.2176, allocations: 14.97 kB / 0.5727 GB, free: 16.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.219, allocations: 0.9171 MB / 0.5736 GB, free: 16.57 MB / 442.7 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.002628/0.2216, allocations: 1.843 MB / 0.5754 GB, free: 16.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.2228, allocations: 0.7389 MB / 0.5761 GB, free: 15.81 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008212/0.2236, allocations: 0.5963 MB / 0.5767 GB, free: 15.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.045e-05/0.2237, allocations: 10.75 kB / 0.5767 GB, free: 15.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.2237, allocations: 42.88 kB / 0.5768 GB, free: 15.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=84): time 2.755e-06/0.2237, allocations: 0.7031 kB / 0.5768 GB, free: 15.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=84): time 0.01228/0.236, allocations: 5.499 MB / 0.5822 GB, free: 14.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.236, allocations: 60.69 kB / 0.5822 GB, free: 14.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006947/0.2367, allocations: 0.7477 MB / 0.5829 GB, free: 14.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/0.2368, allocations: 42.14 kB / 0.583 GB, free: 14.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.237, allocations: 412.3 kB / 0.5834 GB, free: 13.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.2371, allocations: 317.6 kB / 0.5837 GB, free: 13.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.2373, allocations: 175.7 kB / 0.5838 GB, free: 13.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.269e-05/0.2374, allocations: 347.7 kB / 0.5842 GB, free: 13.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008845/0.2383, allocations: 0.6114 MB / 0.5848 GB, free: 12.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008926/0.2392, allocations: 0.7225 MB / 0.5855 GB, free: 12.67 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008761/0.2479, allocations: 4.285 MB / 0.5897 GB, free: 11.08 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2479, allocations: 0.875 kB / 0.5897 GB, free: 11.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006029/0.254, allocations: 3.506 MB / 0.5931 GB, free: 9.398 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.254, allocations: 10.38 kB / 0.5931 GB, free: 9.395 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.254, allocations: 6.047 kB / 0.5931 GB, free: 9.391 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002673/0.2567, allocations: 1.424 MB / 0.5945 GB, free: 8.777 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.2572, allocations: 188.4 kB / 0.5947 GB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009742/0.2669, allocations: 7.824 MB / 0.6023 GB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/0.2675, allocations: 152.4 kB / 0.6025 GB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.2676, allocations: 31.98 kB / 0.6025 GB, free: 3.062 MB / 442.7 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 (97): * Single equations (assignments): 96 * 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.0003209/0.2679, allocations: 233 kB / 0.6027 GB, free: 2.844 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.173e-05/0.268, allocations: 107.3 kB / 0.6028 GB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005278/0.2733, allocations: 3.331 MB / 0.6061 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.2733, allocations: 11.75 kB / 0.6061 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2733, allocations: 7 kB / 0.6061 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.2733, allocations: 3.984 kB / 0.6061 GB, free: 15.4 MB / 458.7 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.006586/0.2799, allocations: 4.146 MB / 0.6101 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.2799, allocations: 0 / 0.6101 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.2802, allocations: 106.3 kB / 0.6102 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002642/0.2828, allocations: 1.465 MB / 0.6117 GB, free: 9.699 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/0.2829, allocations: 12 kB / 0.6117 GB, free: 9.688 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009122/0.292, allocations: 7.163 MB / 0.6187 GB, free: 2.434 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.292, allocations: 4 kB / 0.6187 GB, free: 2.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006719/0.2987, allocations: 4.186 MB / 0.6228 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.2989, allocations: 115.1 kB / 0.6229 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.83e-05/0.299, allocations: 16.88 kB / 0.6229 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/0.2994, allocations: 83.89 kB / 0.623 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003189/0.2997, allocations: 172.7 kB / 0.6231 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/0.2998, allocations: 27.98 kB / 0.6232 GB, free: 13.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004618/0.3002, allocations: 0.5029 MB / 0.6237 GB, free: 13.35 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3002, allocations: 0 / 0.6237 GB, free: 13.35 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009682/0.3012, allocations: 378.1 kB / 0.624 GB, free: 12.98 MB / 474.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 () * 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.0002736/0.3015, allocations: 127.9 kB / 0.6241 GB, free: 12.85 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003073/0.3045, allocations: 1.971 MB / 0.6261 GB, free: 10.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3045, allocations: 0 / 0.6261 GB, free: 10.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001938/0.3065, allocations: 1.277 MB / 0.6273 GB, free: 9.605 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.3069, allocations: 77.91 kB / 0.6274 GB, free: 9.527 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.309, allocations: 1.749 MB / 0.6291 GB, free: 7.77 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.3093, allocations: 444.2 kB / 0.6295 GB, free: 7.309 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.3095, allocations: 64.48 kB / 0.6296 GB, free: 7.246 MB / 474.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3095, allocations: 0 / 0.6296 GB, free: 7.246 MB / 474.7 MB Notification: Performance of Templates: time 0.01242/0.3219, allocations: 17.34 MB / 0.6465 GB, free: 5.918 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.makefile [Timeout 660] (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 & ./OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.440753537230194] Failed to read output from testmodel.py, exit status != 0: 0.32717858068645 0.33447424200000003 0.12430234400000001 Calling exit ...