Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,fileNamePrefix="OpenIPSL_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.001016/0.001017, 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.219/1.219, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008627/0.0008626, allocations: 101.2 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4698/0.4698, allocations: 78.03 MB / 414.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.711e-05/2.727e-05, allocations: 4 kB / 491.9 MB, free: 13.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3349, allocations: 69.34 MB / 0.548 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.4644, allocations: 99.42 MB / 0.6451 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.4646, allocations: 79.95 kB / 0.6452 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06926/0.5339, allocations: 25.24 MB / 0.6699 GB, free: 7.504 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.534, allocations: 0 / 0.6699 GB, free: 7.504 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.372e-05/0.534, allocations: 16 kB / 0.6699 GB, free: 7.488 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.004163/0.5382, allocations: 1.629 MB / 0.6715 GB, free: 5.809 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.5382, allocations: 11.97 kB / 0.6715 GB, free: 5.797 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000179/0.5384, allocations: 122.5 kB / 0.6716 GB, free: 5.668 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002648/0.5411, allocations: 493.9 kB / 0.6721 GB, free: 5.184 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.5423, allocations: 0.6886 MB / 0.6727 GB, free: 4.441 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.5426, allocations: 218.5 kB / 0.673 GB, free: 4.195 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.5427, allocations: 75.98 kB / 0.673 GB, free: 4.121 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.5443, allocations: 0.9128 MB / 0.6739 GB, free: 3.191 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.5443, allocations: 3.938 kB / 0.6739 GB, free: 3.188 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.839e-05/0.5444, allocations: 28 kB / 0.6739 GB, free: 3.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.5445, allocations: 20 kB / 0.674 GB, free: 3.141 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.5459, allocations: 0.8045 MB / 0.6748 GB, free: 2.332 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3274/0.8733, allocations: 3 MB / 0.6777 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.875, allocations: 1.038 MB / 0.6787 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009053/0.8759, allocations: 0.5313 MB / 0.6792 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.876, allocations: 20.28 kB / 0.6792 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.8761, allocations: 42.25 kB / 0.6793 GB, free: 104.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.016e-06/0.8761, allocations: 0 / 0.6793 GB, free: 104.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01186/0.888, allocations: 3.516 MB / 0.6827 GB, free: 104.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.888, allocations: 90.11 kB / 0.6828 GB, free: 104.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.8894, allocations: 0.7393 MB / 0.6835 GB, free: 104.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002646/0.8897, allocations: 41.06 kB / 0.6836 GB, free: 104.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.89, allocations: 476.3 kB / 0.684 GB, free: 104.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/0.8904, allocations: 310.2 kB / 0.6843 GB, free: 104.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/0.8905, allocations: 21.53 kB / 0.6843 GB, free: 104.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.8906, allocations: 335.8 kB / 0.6846 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.8916, allocations: 410.8 kB / 0.685 GB, free: 103.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008849/0.8925, allocations: 0.5111 MB / 0.6855 GB, free: 103.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007639/0.8933, allocations: 455.3 kB / 0.686 GB, free: 103.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.381e-06/0.8933, allocations: 0 / 0.686 GB, free: 103.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.009981/0.9033, allocations: 3.671 MB / 0.6896 GB, free: 103.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002139/0.9035, allocations: 0.8777 MB / 0.6904 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.9035, allocations: 3.938 kB / 0.6904 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004627/0.9082, allocations: 1.532 MB / 0.6919 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006819/0.9089, allocations: 135.6 kB / 0.692 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.912, allocations: 1.775 MB / 0.6938 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.9136, allocations: 188.4 kB / 0.694 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.189e-05/0.9137, allocations: 27.03 kB / 0.694 GB, free: 101.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.9137, allocations: 3.281 kB / 0.694 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009659/0.9234, allocations: 3.5 MB / 0.6974 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.9235, allocations: 7.5 kB / 0.6974 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004717/0.9282, allocations: 1.521 MB / 0.6989 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007319/0.929, allocations: 141.2 kB / 0.699 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/0.9421, allocations: 6.958 MB / 0.7058 GB, free: 96.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.9435, allocations: 182.2 kB / 0.706 GB, free: 96.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.9437, allocations: 35.89 kB / 0.706 GB, free: 96.64 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.0003347/0.9441, allocations: 137.9 kB / 0.7062 GB, free: 96.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/0.9444, allocations: 116.2 kB / 0.7063 GB, free: 96.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009849/0.9543, allocations: 3.622 MB / 0.7098 GB, free: 93.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.9544, allocations: 23.12 kB / 0.7098 GB, free: 93.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.9544, allocations: 0 / 0.7098 GB, free: 93.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.2e-05/0.9544, allocations: 3.938 kB / 0.7098 GB, free: 93.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/0.9667, allocations: 5.07 MB / 0.7148 GB, free: 89.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/0.9667, allocations: 3.688 kB / 0.7148 GB, free: 89.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007626/0.9675, allocations: 127.2 kB / 0.7149 GB, free: 89.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004498/0.972, allocations: 1.46 MB / 0.7163 GB, free: 88.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002422/0.9723, allocations: 22.19 kB / 0.7164 GB, free: 88.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/0.9836, allocations: 6.156 MB / 0.7224 GB, free: 82.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9837, allocations: 0 / 0.7224 GB, free: 82.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01119/0.9949, allocations: 4.356 MB / 0.7266 GB, free: 78.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/0.9955, allocations: 207.5 kB / 0.7268 GB, free: 78.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004832/0.996, allocations: 16 kB / 0.7268 GB, free: 78.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/0.9974, allocations: 139.8 kB / 0.727 GB, free: 78.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008254/0.9983, allocations: 195.6 kB / 0.7272 GB, free: 78.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/0.9984, allocations: 24 kB / 0.7272 GB, free: 78.31 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001019/0.9995, allocations: 0.5768 MB / 0.7277 GB, free: 77.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.9995, allocations: 0 / 0.7277 GB, free: 77.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002055/1.002, allocations: 0.5684 MB / 0.7283 GB, free: 77.16 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.01131/1.013, allocations: 4.948 MB / 0.7331 GB, free: 72.19 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008079/1.021, allocations: 2.974 MB / 0.736 GB, free: 69.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.021, allocations: 4.062 kB / 0.736 GB, free: 69.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003561/1.025, allocations: 1.379 MB / 0.7374 GB, free: 67.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/1.026, allocations: 87.42 kB / 0.7375 GB, free: 67.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004618/1.03, allocations: 1.745 MB / 0.7392 GB, free: 65.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/1.031, allocations: 1.099 MB / 0.7402 GB, free: 64.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008056/1.032, allocations: 181.7 kB / 0.7404 GB, free: 64.65 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/1.032, allocations: 399.3 kB / 0.7408 GB, free: 64.26 MB / 490.7 MB Notification: Performance of SimCode: time 6.82e-07/1.032, allocations: 0 / 0.7408 GB, free: 64.26 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05298/1.085, allocations: 33.18 MB / 0.7732 GB, free: 31.56 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/1.085, allocations: 169.7 kB / 0.7734 GB, free: 31.33 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/3.924, allocations: 0 / 0.7734 GB, free: 31.33 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe 2>&1)