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.0009748/0.0009749, 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.197/1.197, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008307/0.0008308, allocations: 95.19 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4264/0.4264, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.89e-05/2.892e-05, allocations: 4 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3171, allocations: 69.5 MB / 0.5492 GB, free: 19.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.4434, allocations: 100 MB / 0.6469 GB, free: 15.61 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.4437, allocations: 75.97 kB / 0.6469 GB, free: 15.53 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06641/0.5102, allocations: 25.46 MB / 0.6718 GB, free: 5.918 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5102, allocations: 0 / 0.6718 GB, free: 5.918 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.008e-05/0.5103, allocations: 23.94 kB / 0.6718 GB, free: 5.895 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.003943/0.5142, allocations: 1.633 MB / 0.6734 GB, free: 4.211 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.5142, allocations: 11.97 kB / 0.6734 GB, free: 4.199 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.5144, allocations: 122.5 kB / 0.6736 GB, free: 4.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002518/0.5169, allocations: 489.9 kB / 0.674 GB, free: 3.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.518, allocations: 0.6886 MB / 0.6747 GB, free: 2.848 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002279/0.5183, allocations: 226.4 kB / 0.6749 GB, free: 2.594 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.5184, allocations: 72 kB / 0.675 GB, free: 2.523 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.5199, allocations: 0.9128 MB / 0.6759 GB, free: 1.594 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.5199, allocations: 0 / 0.6759 GB, free: 1.594 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.553e-05/0.52, allocations: 28 kB / 0.6759 GB, free: 1.566 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.52, allocations: 20 kB / 0.6759 GB, free: 1.547 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.5214, allocations: 0.8084 MB / 0.6767 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2877/0.8091, allocations: 2.995 MB / 0.6796 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.8104, allocations: 1.045 MB / 0.6806 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008106/0.8112, allocations: 0.5311 MB / 0.6812 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.8113, allocations: 14.52 kB / 0.6812 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.8113, allocations: 43.25 kB / 0.6812 GB, free: 104.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.975e-06/0.8113, allocations: 1.125 kB / 0.6812 GB, free: 104.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01118/0.8225, allocations: 3.513 MB / 0.6847 GB, free: 104.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.8226, allocations: 93.14 kB / 0.6847 GB, free: 104 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.8237, allocations: 0.7437 MB / 0.6855 GB, free: 103.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.8238, allocations: 40.86 kB / 0.6855 GB, free: 103.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.824, allocations: 469.9 kB / 0.686 GB, free: 103.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00022/0.8243, allocations: 317 kB / 0.6863 GB, free: 103.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.8243, allocations: 14.66 kB / 0.6863 GB, free: 103.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.66e-05/0.8244, allocations: 342 kB / 0.6866 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005774/0.825, allocations: 409.3 kB / 0.687 GB, free: 103.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/0.8256, allocations: 0.5142 MB / 0.6875 GB, free: 103.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.8263, allocations: 447.7 kB / 0.6879 GB, free: 103.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8263, allocations: 0 / 0.6879 GB, free: 103.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.009571/0.8358, allocations: 3.67 MB / 0.6915 GB, free: 102.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001856/0.8361, allocations: 0.881 MB / 0.6924 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.8361, allocations: 3.719 kB / 0.6924 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004552/0.8406, allocations: 1.532 MB / 0.6939 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/0.8413, allocations: 137.2 kB / 0.694 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/0.8441, allocations: 1.773 MB / 0.6957 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.8454, allocations: 180 kB / 0.6959 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/0.8455, allocations: 32.94 kB / 0.6959 GB, free: 100.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.8455, allocations: 3.188 kB / 0.6959 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009496/0.855, allocations: 3.5 MB / 0.6993 GB, free: 99.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.855, allocations: 3.562 kB / 0.6994 GB, free: 99.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004434/0.8595, allocations: 1.523 MB / 0.7008 GB, free: 99.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006269/0.8601, allocations: 132.1 kB / 0.701 GB, free: 99.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/0.8721, allocations: 6.971 MB / 0.7078 GB, free: 94.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.8734, allocations: 179.6 kB / 0.7079 GB, free: 94.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.286e-05/0.8735, allocations: 34.81 kB / 0.708 GB, free: 94.63 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.0002456/0.8737, allocations: 143.5 kB / 0.7081 GB, free: 94.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.8739, allocations: 114.6 kB / 0.7082 GB, free: 94.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009309/0.8832, allocations: 3.634 MB / 0.7118 GB, free: 91.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.8833, allocations: 15.56 kB / 0.7118 GB, free: 91.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.8833, allocations: 4 kB / 0.7118 GB, free: 91.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.8833, allocations: 3.234 kB / 0.7118 GB, free: 91.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.894, allocations: 5.06 MB / 0.7167 GB, free: 87.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.894, allocations: 0 / 0.7167 GB, free: 87.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005676/0.8946, allocations: 129.4 kB / 0.7169 GB, free: 87.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004108/0.8987, allocations: 1.453 MB / 0.7183 GB, free: 86.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.455e-05/0.8988, allocations: 19.56 kB / 0.7183 GB, free: 86.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/0.909, allocations: 6.167 MB / 0.7243 GB, free: 80.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.909, allocations: 0 / 0.7243 GB, free: 80.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/0.9193, allocations: 4.356 MB / 0.7286 GB, free: 76.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/0.9196, allocations: 199.5 kB / 0.7288 GB, free: 76.33 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.9197, allocations: 20 kB / 0.7288 GB, free: 76.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009354/0.9206, allocations: 143.2 kB / 0.7289 GB, free: 76.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004808/0.9211, allocations: 188.5 kB / 0.7291 GB, free: 75.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/0.9212, allocations: 24 kB / 0.7291 GB, free: 75.97 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006539/0.9219, allocations: 0.5807 MB / 0.7297 GB, free: 75.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9219, allocations: 0 / 0.7297 GB, free: 75.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001246/0.9231, allocations: 0.5656 MB / 0.7302 GB, free: 74.81 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.01017/0.9333, allocations: 4.948 MB / 0.7351 GB, free: 69.85 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006924/0.9402, allocations: 2.974 MB / 0.738 GB, free: 66.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9402, allocations: 0 / 0.738 GB, free: 66.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003146/0.9434, allocations: 1.386 MB / 0.7393 GB, free: 65.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005359/0.9439, allocations: 84.3 kB / 0.7394 GB, free: 65.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.9472, allocations: 1.751 MB / 0.7411 GB, free: 63.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.9476, allocations: 1.103 MB / 0.7422 GB, free: 62.47 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006116/0.9483, allocations: 172.2 kB / 0.7424 GB, free: 62.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/0.9487, allocations: 403.3 kB / 0.7427 GB, free: 61.91 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.9487, allocations: 0 / 0.7427 GB, free: 61.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0476/0.9963, allocations: 33.18 MB / 0.7752 GB, free: 29.16 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/0.9965, allocations: 171.6 kB / 0.7753 GB, free: 28.94 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.012/4.008, allocations: 4 kB / 0.7753 GB, free: 28.93 MB / 490.7 MB (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)