Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.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.LoadTestThLoad,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad",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.005237/0.005237, allocations: 171.1 kB / 15.11 MB, free: 5.969 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.479/1.479, allocations: 223.2 MB / 239 MB, free: 1.766 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.0008751/0.0008749, allocations: 95.14 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.49/0.49, allocations: 78.59 MB / 419.9 MB, free: 44.22 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003625, allocations: 12 kB / 499.9 MB, free: 2.832 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4282, allocations: 69.34 MB / 0.5559 GB, free: 38.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.5528, allocations: 99.5 MB / 0.653 GB, free: 6.988 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.5531, allocations: 80.8 kB / 0.6531 GB, free: 6.91 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06744/0.6205, allocations: 25.31 MB / 0.6778 GB, free: 13.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6206, allocations: 0 / 0.6778 GB, free: 13.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.932e-05/0.6207, allocations: 20 kB / 0.6778 GB, free: 13.47 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.005052/0.6257, allocations: 1.838 MB / 0.6796 GB, free: 11.58 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.6258, allocations: 8.031 kB / 0.6796 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003448/0.6262, allocations: 122.5 kB / 0.6798 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/0.629, allocations: 493.8 kB / 0.6802 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.6306, allocations: 0.7003 MB / 0.6809 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.6308, allocations: 214.5 kB / 0.6811 GB, free: 9.961 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.631, allocations: 72 kB / 0.6812 GB, free: 9.891 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.6333, allocations: 1.166 MB / 0.6823 GB, free: 8.707 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.6334, allocations: 0 / 0.6823 GB, free: 8.707 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.503e-05/0.6335, allocations: 31.94 kB / 0.6823 GB, free: 8.676 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.6335, allocations: 20 kB / 0.6824 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.6359, allocations: 1.12 MB / 0.6835 GB, free: 7.531 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005434/0.6413, allocations: 3.008 MB / 0.6864 GB, free: 4.414 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/0.6438, allocations: 1.347 MB / 0.6877 GB, free: 2.992 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.644, allocations: 16.97 kB / 0.6877 GB, free: 2.977 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/0.644, allocations: 43.56 kB / 0.6878 GB, free: 2.926 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 8.125e-06/0.6441, allocations: 0 / 0.6878 GB, free: 2.926 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.02554/0.6696, allocations: 7.494 MB / 0.6951 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.6697, allocations: 86.11 kB / 0.6952 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.671, allocations: 0.7558 MB / 0.6959 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001736/0.6712, allocations: 41.7 kB / 0.696 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/0.6715, allocations: 472.9 kB / 0.6964 GB, free: 10 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003922/0.6719, allocations: 311.4 kB / 0.6967 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.206e-05/0.672, allocations: 23.94 kB / 0.6967 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.6721, allocations: 337.9 kB / 0.697 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.6735, allocations: 0.6461 MB / 0.6977 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.675, allocations: 0.7462 MB / 0.6984 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.6765, allocations: 0.6862 MB / 0.6991 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6766, allocations: 0 / 0.6991 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.01259/0.6892, allocations: 4.325 MB / 0.7033 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004399/0.6896, allocations: 0.8764 MB / 0.7042 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.6897, allocations: 4 kB / 0.7042 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006263/0.696, allocations: 1.862 MB / 0.706 GB, free: 72 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007723/0.6968, allocations: 131.9 kB / 0.7061 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004578/0.7014, allocations: 2.264 MB / 0.7083 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.7028, allocations: 187.2 kB / 0.7085 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.7029, allocations: 31.98 kB / 0.7085 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.7029, allocations: 4.172 kB / 0.7085 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01201/0.715, allocations: 4.106 MB / 0.7125 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.715, allocations: 4 kB / 0.7125 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005814/0.7208, allocations: 1.823 MB / 0.7143 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/0.7216, allocations: 139.8 kB / 0.7145 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02103/0.7427, allocations: 9.188 MB / 0.7234 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.7441, allocations: 175.3 kB / 0.7236 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.7443, allocations: 24 kB / 0.7236 GB, free: 13.83 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (thLoad.Limiter.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0006439/0.7449, allocations: 319.6 kB / 0.7239 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.7452, allocations: 118.6 kB / 0.724 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.7578, allocations: 4.264 MB / 0.7282 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.7579, allocations: 12 kB / 0.7282 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.7579, allocations: 7.938 kB / 0.7282 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.7579, allocations: 11.91 kB / 0.7282 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/0.773, allocations: 5.714 MB / 0.7338 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.7731, allocations: 0 / 0.7338 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007657/0.7738, allocations: 119.9 kB / 0.7339 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005719/0.7796, allocations: 1.788 MB / 0.7357 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/0.7798, allocations: 23.98 kB / 0.7357 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01802/0.7978, allocations: 8.218 MB / 0.7437 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.7978, allocations: 7.984 kB / 0.7437 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/0.8123, allocations: 5.24 MB / 0.7488 GB, free: 3.688 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005052/0.8128, allocations: 199.5 kB / 0.749 GB, free: 3.473 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004028/0.8132, allocations: 16 kB / 0.749 GB, free: 3.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.8145, allocations: 139.9 kB / 0.7492 GB, free: 3.32 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006663/0.8152, allocations: 180.7 kB / 0.7494 GB, free: 3.145 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/0.8154, allocations: 27.98 kB / 0.7494 GB, free: 3.117 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009854/0.8164, allocations: 0.5917 MB / 0.75 GB, free: 2.516 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8164, allocations: 0 / 0.75 GB, free: 2.516 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002145/0.8185, allocations: 0.5615 MB / 0.7505 GB, free: 1.953 MB / 0.5417 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,thLoad.firstOrder.state,thLoad.Limiter.y) * 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 (51): * Single equations (assignments): 50 * 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 {21 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.01495/0.8335, allocations: 5.839 MB / 0.7562 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01052/0.8441, allocations: 3.673 MB / 0.7598 GB, free: 8.391 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.8441, allocations: 0 / 0.7598 GB, free: 8.391 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004441/0.8486, allocations: 1.654 MB / 0.7614 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.8497, allocations: 89.12 kB / 0.7615 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2811/1.131, allocations: 11.86 MB / 0.7731 GB, free: 149.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006432/1.131, allocations: 1.098 MB / 0.7741 GB, free: 148.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000522/1.132, allocations: 111.5 kB / 0.7743 GB, free: 148.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004749/1.132, allocations: 405 kB / 0.7746 GB, free: 148.8 MB / 0.5573 GB Notification: Performance of SimCode: time 8.92e-07/1.132, allocations: 3.5 kB / 0.7746 GB, free: 148.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05586/1.188, allocations: 31.54 MB / 0.8054 GB, free: 147.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001309/1.189, allocations: 200.9 kB / 0.8056 GB, free: 147.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.983/4.171, allocations: 2.875 kB / 0.8056 GB, free: 147.2 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad.fmu > OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe 2>&1)