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.001662/0.001662, allocations: 173.9 kB / 7.648 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.395/1.395, allocations: 221.5 MB / 229.6 MB, free: 3.191 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.0008164/0.0008164, allocations: 81.58 kB / 280.4 MB, free: 1.172 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4483/0.4483, allocations: 78.11 MB / 409.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.02e-05, allocations: 4 kB / 485 MB, free: 4.098 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3566, allocations: 69.36 MB / 0.5414 GB, free: 21.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.4905, allocations: 98.76 MB / 0.6379 GB, free: 5.918 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.4907, allocations: 75.95 kB / 0.6379 GB, free: 5.844 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06832/0.5591, allocations: 24.93 MB / 0.6623 GB, free: 12.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5591, allocations: 0 / 0.6623 GB, free: 12.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.651e-05/0.5592, allocations: 23.94 kB / 0.6623 GB, free: 12.73 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.004435/0.5637, allocations: 1.623 MB / 0.6639 GB, free: 11.06 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/0.5637, allocations: 12.03 kB / 0.6639 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/0.5666, allocations: 489.9 kB / 0.6644 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.568, allocations: 0.6847 MB / 0.665 GB, free: 9.828 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002371/0.5682, allocations: 198.4 kB / 0.6652 GB, free: 9.605 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.5683, allocations: 44 kB / 0.6653 GB, free: 9.562 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001462/0.5698, allocations: 0.7655 MB / 0.666 GB, free: 8.797 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.5713, allocations: 0.815 MB / 0.6668 GB, free: 7.965 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.5713, allocations: 0 / 0.6668 GB, free: 7.965 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/0.5714, allocations: 0 / 0.6668 GB, free: 7.965 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.5714, allocations: 20 kB / 0.6668 GB, free: 7.945 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005358/0.5768, allocations: 2.868 MB / 0.6696 GB, free: 4.977 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.5781, allocations: 1.005 MB / 0.6706 GB, free: 3.887 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007475/0.5789, allocations: 0.5081 MB / 0.6711 GB, free: 3.375 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.579, allocations: 20.77 kB / 0.6711 GB, free: 3.355 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.5791, allocations: 39.34 kB / 0.6712 GB, free: 3.309 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.046e-06/0.5791, allocations: 0 / 0.6712 GB, free: 3.309 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.3456/0.9247, allocations: 3.443 MB / 0.6745 GB, free: 106 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.9247, allocations: 87.25 kB / 0.6746 GB, free: 105.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.926, allocations: 0.6637 MB / 0.6753 GB, free: 105.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002093/0.9262, allocations: 25.7 kB / 0.6753 GB, free: 105.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.9265, allocations: 483.7 kB / 0.6757 GB, free: 105.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/0.9268, allocations: 298.7 kB / 0.676 GB, free: 105.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.9269, allocations: 0 / 0.676 GB, free: 105.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.927, allocations: 340.8 kB / 0.6764 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006984/0.9277, allocations: 393.9 kB / 0.6767 GB, free: 105.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007505/0.9285, allocations: 0.4953 MB / 0.6772 GB, free: 105.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000729/0.9292, allocations: 427.6 kB / 0.6776 GB, free: 105.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.9292, allocations: 2.812 kB / 0.6776 GB, free: 105.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.01224/0.9415, allocations: 3.586 MB / 0.6811 GB, free: 105 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002479/0.9418, allocations: 0.8855 MB / 0.682 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.9418, allocations: 2.188 kB / 0.682 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005243/0.947, allocations: 1.469 MB / 0.6834 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007582/0.9478, allocations: 134.2 kB / 0.6836 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/0.9512, allocations: 1.878 MB / 0.6854 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.9526, allocations: 164.2 kB / 0.6855 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.9527, allocations: 29.66 kB / 0.6856 GB, free: 103.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.9528, allocations: 7.906 kB / 0.6856 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01045/0.9632, allocations: 3.402 MB / 0.6889 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.9633, allocations: 4.062 kB / 0.6889 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004567/0.9679, allocations: 1.458 MB / 0.6903 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007644/0.9687, allocations: 134 kB / 0.6905 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/0.9803, allocations: 6.776 MB / 0.6971 GB, free: 99.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.9817, allocations: 157.6 kB / 0.6972 GB, free: 99.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-05/0.9818, allocations: 27.98 kB / 0.6972 GB, free: 99.94 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: thLoad.Limiter1.y:VARIABLE() "Connector of Real output signal" 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 () * 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.0003167/0.9821, allocations: 119.3 kB / 0.6974 GB, free: 99.83 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009521/0.9917, allocations: 3.448 MB / 0.7007 GB, free: 99.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000391/0.9921, allocations: 110.3 kB / 0.7008 GB, free: 99.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00957/1.002, allocations: 3.539 MB / 0.7043 GB, free: 98.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/1.002, allocations: 15.16 kB / 0.7043 GB, free: 98.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.002, allocations: 0 / 0.7043 GB, free: 98.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-05/1.002, allocations: 7.219 kB / 0.7043 GB, free: 98.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/1.013, allocations: 4.894 MB / 0.7091 GB, free: 96.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/1.013, allocations: 7.234 kB / 0.7091 GB, free: 96.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00083/1.014, allocations: 123.4 kB / 0.7092 GB, free: 96.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004583/1.019, allocations: 1.446 MB / 0.7106 GB, free: 95.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002643/1.019, allocations: 4 kB / 0.7106 GB, free: 95.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01056/1.03, allocations: 6.033 MB / 0.7165 GB, free: 89.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.03, allocations: 0 / 0.7165 GB, free: 89.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/1.041, allocations: 4.272 MB / 0.7207 GB, free: 86.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/1.041, allocations: 198.2 kB / 0.7209 GB, free: 85.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/1.041, allocations: 4.516 kB / 0.7209 GB, free: 85.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.042, allocations: 120.3 kB / 0.721 GB, free: 85.87 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005553/1.043, allocations: 196.3 kB / 0.7212 GB, free: 85.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/1.043, allocations: 16 kB / 0.7212 GB, free: 85.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006299/1.044, allocations: 0.5175 MB / 0.7217 GB, free: 85.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.044, allocations: 4 kB / 0.7217 GB, free: 85.26 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001819/1.045, allocations: 0.5093 MB / 0.7222 GB, free: 84.75 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,thLoad.firstOrder.state,thLoad.Limiter.y) * Number of discrete variables: 0 () * Number of discrete 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.01104/1.056, allocations: 4.864 MB / 0.727 GB, free: 80.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00747/1.064, allocations: 2.882 MB / 0.7298 GB, free: 77.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.064, allocations: 4 kB / 0.7298 GB, free: 77.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003387/1.067, allocations: 1.33 MB / 0.7311 GB, free: 76.03 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007891/1.068, allocations: 75.47 kB / 0.7312 GB, free: 75.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/1.073, allocations: 1.669 MB / 0.7328 GB, free: 74.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/1.073, allocations: 1.095 MB / 0.7339 GB, free: 73.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007133/1.074, allocations: 178.3 kB / 0.734 GB, free: 72.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004067/1.074, allocations: 399.3 kB / 0.7344 GB, free: 72.58 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/1.074, allocations: 4 kB / 0.7344 GB, free: 72.58 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0548/1.129, allocations: 30.72 MB / 0.7644 GB, free: 42.15 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/1.129, allocations: 132.4 kB / 0.7645 GB, free: 41.96 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.13/4.259, allocations: 0 / 0.7645 GB, free: 41.96 MB / 490.7 MB (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)