Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,fileNamePrefix="OpenIPSL_dev_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.008701/0.008701, allocations: 172 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.475/1.475, allocations: 223.2 MB / 239 MB, free: 68 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008941/0.0008942, allocations: 98.16 kB / 290.2 MB, free: 4.523 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5265/0.5265, allocations: 79.44 MB / 420.7 MB, free: 36.28 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003906, allocations: 12 kB / 0.4891 GB, free: 6.254 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1926, allocations: 69.5 MB / 0.557 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4858/0.6785, allocations: 100.1 MB / 0.6547 GB, free: 1.109 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.6788, allocations: 81.58 kB / 0.6548 GB, free: 1.031 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0703/0.7492, allocations: 25.53 MB / 0.6797 GB, free: 7.602 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.7492, allocations: 0 / 0.6797 GB, free: 7.602 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001399/0.7494, allocations: 20 kB / 0.6798 GB, free: 7.582 MB / 474.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.006352/0.7557, allocations: 1.846 MB / 0.6816 GB, free: 5.684 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.256e-05/0.7558, allocations: 8.031 kB / 0.6816 GB, free: 5.676 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00052/0.7563, allocations: 122.5 kB / 0.6817 GB, free: 5.547 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003133/0.7595, allocations: 493.9 kB / 0.6822 GB, free: 5.062 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/0.7612, allocations: 0.6963 MB / 0.6828 GB, free: 4.312 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.7615, allocations: 218.5 kB / 0.6831 GB, free: 4.066 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.7616, allocations: 72 kB / 0.6831 GB, free: 3.996 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/0.764, allocations: 1.166 MB / 0.6843 GB, free: 2.812 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.764, allocations: 3.938 kB / 0.6843 GB, free: 2.809 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.613e-05/0.7641, allocations: 32 kB / 0.6843 GB, free: 2.777 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.7642, allocations: 16 kB / 0.6843 GB, free: 2.762 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/0.7665, allocations: 1.12 MB / 0.6854 GB, free: 1.637 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005742/0.7722, allocations: 3 MB / 0.6883 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/0.7746, allocations: 1.345 MB / 0.6896 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.7747, allocations: 20.97 kB / 0.6897 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.7748, allocations: 39.56 kB / 0.6897 GB, free: 13.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.507e-06/0.7748, allocations: 3.938 kB / 0.6897 GB, free: 13.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.02611/0.8009, allocations: 7.491 MB / 0.697 GB, free: 5.508 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.801, allocations: 90.11 kB / 0.6971 GB, free: 5.402 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.8022, allocations: 0.7558 MB / 0.6978 GB, free: 4.629 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.8024, allocations: 41.7 kB / 0.6979 GB, free: 4.582 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.8028, allocations: 472.9 kB / 0.6983 GB, free: 4.113 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003704/0.8031, allocations: 311.4 kB / 0.6986 GB, free: 3.805 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.8032, allocations: 16 kB / 0.6987 GB, free: 3.789 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.8034, allocations: 343.9 kB / 0.699 GB, free: 3.449 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.8047, allocations: 0.6383 MB / 0.6996 GB, free: 2.812 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.8061, allocations: 0.7539 MB / 0.7003 GB, free: 2.023 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.8076, allocations: 0.6823 MB / 0.701 GB, free: 1.344 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.8076, allocations: 4 kB / 0.701 GB, free: 1.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.01211/0.8197, allocations: 4.321 MB / 0.7052 GB, free: 13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003573/0.8201, allocations: 0.8726 MB / 0.7061 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.8201, allocations: 4 kB / 0.7061 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005804/0.8259, allocations: 1.862 MB / 0.7079 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007485/0.8267, allocations: 135.8 kB / 0.708 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004461/0.8312, allocations: 2.268 MB / 0.7102 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.8326, allocations: 187.2 kB / 0.7104 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.451e-05/0.8327, allocations: 24 kB / 0.7104 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.8327, allocations: 5.109 kB / 0.7105 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01187/0.8446, allocations: 4.114 MB / 0.7145 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/0.8447, allocations: 4 kB / 0.7145 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006011/0.8507, allocations: 1.815 MB / 0.7162 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008801/0.8517, allocations: 143.8 kB / 0.7164 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02011/0.8718, allocations: 9.192 MB / 0.7254 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.8733, allocations: 171.3 kB / 0.7255 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.971e-05/0.8734, allocations: 28 kB / 0.7256 GB, free: 7.953 MB / 0.5105 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.0006416/0.874, allocations: 320.5 kB / 0.7259 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.8742, allocations: 110.6 kB / 0.726 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/0.8861, allocations: 4.276 MB / 0.7301 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.8862, allocations: 12 kB / 0.7301 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.8862, allocations: 7.891 kB / 0.7302 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.336e-05/0.8862, allocations: 11.97 kB / 0.7302 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/0.9003, allocations: 5.698 MB / 0.7357 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.9004, allocations: 2.438 kB / 0.7357 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007712/0.9012, allocations: 124.7 kB / 0.7359 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005511/0.9067, allocations: 1.796 MB / 0.7376 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/0.9069, allocations: 19.98 kB / 0.7376 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01746/0.9244, allocations: 8.214 MB / 0.7456 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.9244, allocations: 7.984 kB / 0.7457 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01418/0.9386, allocations: 5.244 MB / 0.7508 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005949/0.9393, allocations: 195.5 kB / 0.751 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/0.9395, allocations: 16 kB / 0.751 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.9406, allocations: 139.9 kB / 0.7511 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006343/0.9413, allocations: 188.7 kB / 0.7513 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.461e-05/0.9413, allocations: 19.98 kB / 0.7513 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008885/0.9422, allocations: 0.5956 MB / 0.7519 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9422, allocations: 0 / 0.7519 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00167/0.9439, allocations: 0.5654 MB / 0.7524 GB, free: 12.08 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.01445/0.9584, allocations: 5.839 MB / 0.7581 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01037/0.9688, allocations: 3.668 MB / 0.7617 GB, free: 2.531 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.9688, allocations: 3.938 kB / 0.7617 GB, free: 2.527 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004523/0.9734, allocations: 1.65 MB / 0.7633 GB, free: 0.875 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.9744, allocations: 92.22 kB / 0.7634 GB, free: 0.7812 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02369/0.9981, allocations: 11.87 MB / 0.775 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008113/0.999, allocations: 1.101 MB / 0.7761 GB, free: 3.453 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006121/0.9996, allocations: 105.5 kB / 0.7762 GB, free: 3.348 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005576/1, allocations: 407.3 kB / 0.7766 GB, free: 2.949 MB / 0.5573 GB Notification: Performance of SimCode: time 1.683e-06/1, allocations: 0 / 0.7766 GB, free: 2.949 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3509/1.351, allocations: 31.55 MB / 0.8074 GB, free: 155.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/1.351, allocations: 203.6 kB / 0.8076 GB, free: 154.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/4.464, allocations: 0 / 0.8076 GB, free: 154.9 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe 2>&1)