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.002026/0.002026, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.396/1.396, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008184/0.0008184, allocations: 88.05 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4967/0.4967, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/4.004e-05, allocations: 4 kB / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3758, allocations: 69.34 MB / 0.5481 GB, free: 20.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.5057, allocations: 99.42 MB / 0.6452 GB, free: 1.105 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.506, allocations: 79.95 kB / 0.6453 GB, free: 1.027 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06961/0.5756, allocations: 25.23 MB / 0.6699 GB, free: 7.637 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5757, allocations: 0 / 0.6699 GB, free: 7.637 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001303/0.5758, allocations: 24 kB / 0.6699 GB, free: 7.613 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.005481/0.5813, allocations: 1.625 MB / 0.6715 GB, free: 5.938 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.5814, allocations: 15.97 kB / 0.6715 GB, free: 5.922 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004248/0.5818, allocations: 126.5 kB / 0.6716 GB, free: 5.789 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003226/0.585, allocations: 489.9 kB / 0.6721 GB, free: 5.309 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.5869, allocations: 0.6847 MB / 0.6728 GB, free: 4.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002903/0.5872, allocations: 222.5 kB / 0.673 GB, free: 4.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002907/0.5875, allocations: 72 kB / 0.6731 GB, free: 4.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.5895, allocations: 0.9166 MB / 0.674 GB, free: 3.316 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.5896, allocations: 0 / 0.674 GB, free: 3.316 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.5897, allocations: 32 kB / 0.674 GB, free: 3.285 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.5897, allocations: 16 kB / 0.674 GB, free: 3.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.5914, allocations: 0.8123 MB / 0.6748 GB, free: 2.453 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3674/0.9588, allocations: 2.993 MB / 0.6777 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/0.9614, allocations: 1.039 MB / 0.6787 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.9629, allocations: 0.5319 MB / 0.6792 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.9631, allocations: 17.08 kB / 0.6793 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.9631, allocations: 41.34 kB / 0.6793 GB, free: 104.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 4.539e-06/0.9631, allocations: 2.344 kB / 0.6793 GB, free: 104.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01911/0.9822, allocations: 3.51 MB / 0.6827 GB, free: 104.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.9824, allocations: 89.86 kB / 0.6828 GB, free: 104.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002546/0.985, allocations: 0.7488 MB / 0.6836 GB, free: 104.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000311/0.9853, allocations: 40.84 kB / 0.6836 GB, free: 104.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005516/0.9859, allocations: 479.5 kB / 0.684 GB, free: 104.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005036/0.9864, allocations: 311.3 kB / 0.6843 GB, free: 104.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.981e-05/0.9865, allocations: 16.19 kB / 0.6844 GB, free: 104.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.9866, allocations: 337.1 kB / 0.6847 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.9882, allocations: 410.7 kB / 0.6851 GB, free: 103.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.9895, allocations: 0.5147 MB / 0.6856 GB, free: 103.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.9909, allocations: 449.8 kB / 0.686 GB, free: 103.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.9909, allocations: 4.062 kB / 0.686 GB, free: 103.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.01631/1.007, allocations: 3.665 MB / 0.6896 GB, free: 103.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002532/1.008, allocations: 0.888 MB / 0.6905 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/1.008, allocations: 3.969 kB / 0.6905 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007854/1.015, allocations: 1.528 MB / 0.6919 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.017, allocations: 134.8 kB / 0.6921 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004901/1.022, allocations: 1.774 MB / 0.6938 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/1.024, allocations: 184.5 kB / 0.694 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/1.024, allocations: 35.14 kB / 0.694 GB, free: 101.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.024, allocations: 3.562 kB / 0.694 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01573/1.04, allocations: 3.494 MB / 0.6974 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/1.04, allocations: 3.125 kB / 0.6974 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007515/1.047, allocations: 1.523 MB / 0.6989 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/1.048, allocations: 141.9 kB / 0.6991 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0209/1.069, allocations: 6.953 MB / 0.7059 GB, free: 96.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/1.071, allocations: 174.9 kB / 0.706 GB, free: 96.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/1.072, allocations: 31.83 kB / 0.706 GB, free: 96.81 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 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.000387/1.072, allocations: 162.3 kB / 0.7062 GB, free: 96.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003243/1.072, allocations: 110.6 kB / 0.7063 GB, free: 96.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/1.088, allocations: 3.632 MB / 0.7099 GB, free: 93.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/1.088, allocations: 8 kB / 0.7099 GB, free: 93.72 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.088, allocations: 0 / 0.7099 GB, free: 93.72 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.431e-05/1.088, allocations: 3.656 kB / 0.7099 GB, free: 93.72 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/1.106, allocations: 5.07 MB / 0.7148 GB, free: 89.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/1.107, allocations: 0 / 0.7148 GB, free: 89.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/1.108, allocations: 125.9 kB / 0.7149 GB, free: 89.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00666/1.114, allocations: 1.458 MB / 0.7164 GB, free: 88.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002243/1.115, allocations: 19.89 kB / 0.7164 GB, free: 88.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01726/1.132, allocations: 6.168 MB / 0.7224 GB, free: 82.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.132, allocations: 0 / 0.7224 GB, free: 82.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/1.149, allocations: 4.356 MB / 0.7267 GB, free: 79.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004917/1.15, allocations: 199.5 kB / 0.7268 GB, free: 78.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/1.15, allocations: 19.94 kB / 0.7269 GB, free: 78.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/1.151, allocations: 143.8 kB / 0.727 GB, free: 78.69 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007527/1.152, allocations: 188.4 kB / 0.7272 GB, free: 78.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.442e-05/1.152, allocations: 20 kB / 0.7272 GB, free: 78.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009216/1.153, allocations: 0.5846 MB / 0.7278 GB, free: 77.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.153, allocations: 0 / 0.7278 GB, free: 77.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001922/1.155, allocations: 0.5676 MB / 0.7283 GB, free: 77.32 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.01658/1.172, allocations: 4.95 MB / 0.7332 GB, free: 72.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0113/1.183, allocations: 2.978 MB / 0.7361 GB, free: 69.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.183, allocations: 7.938 kB / 0.7361 GB, free: 69.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005356/1.188, allocations: 1.375 MB / 0.7374 GB, free: 67.97 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/1.189, allocations: 89.16 kB / 0.7375 GB, free: 67.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/1.195, allocations: 1.744 MB / 0.7392 GB, free: 66.13 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/1.196, allocations: 1.103 MB / 0.7403 GB, free: 65 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001116/1.197, allocations: 175.3 kB / 0.7405 GB, free: 64.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000604/1.198, allocations: 399.3 kB / 0.7408 GB, free: 64.44 MB / 490.7 MB Notification: Performance of SimCode: time 1.292e-06/1.198, allocations: 4 kB / 0.7408 GB, free: 64.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07446/1.272, allocations: 33.18 MB / 0.7732 GB, free: 31.71 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/1.272, allocations: 186.4 kB / 0.7734 GB, free: 31.47 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.067/4.339, allocations: 0 / 0.7734 GB, free: 31.47 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)