Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.LoadTestPQ,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",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.001715/0.001715, 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.43/1.43, 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.0008575/0.0008575, allocations: 92.08 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.4896/0.4896, allocations: 78.08 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.674e-05/3.691e-05, allocations: 0 / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3941, allocations: 69.34 MB / 0.5481 GB, free: 20.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.5207, allocations: 96.72 MB / 0.6425 GB, free: 3.797 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.5211, allocations: 75.95 kB / 0.6426 GB, free: 3.723 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05987/0.581, allocations: 21.05 MB / 0.6632 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.581, allocations: 0 / 0.6632 GB, free: 14.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.333e-05/0.5811, allocations: 16 kB / 0.6632 GB, free: 14.51 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.004523/0.5857, allocations: 1.465 MB / 0.6646 GB, free: 13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.5857, allocations: 15.97 kB / 0.6646 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003008/0.586, allocations: 110.5 kB / 0.6647 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002924/0.589, allocations: 466.2 kB / 0.6652 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.5903, allocations: 0.6061 MB / 0.6658 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.5905, allocations: 180.1 kB / 0.6659 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.5908, allocations: 59.91 kB / 0.666 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.5922, allocations: 0.7016 MB / 0.6667 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.5922, allocations: 0 / 0.6667 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.766e-05/0.5923, allocations: 24 kB / 0.6667 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.5923, allocations: 20 kB / 0.6667 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.5937, allocations: 0.7041 MB / 0.6674 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004777/0.5985, allocations: 2.424 MB / 0.6698 GB, free: 7.516 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.5996, allocations: 0.8889 MB / 0.6707 GB, free: 6.539 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007848/0.6004, allocations: 0.4918 MB / 0.6711 GB, free: 6.043 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.6006, allocations: 12.77 kB / 0.6711 GB, free: 6.031 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.6006, allocations: 39.34 kB / 0.6712 GB, free: 5.984 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.785e-06/0.6006, allocations: 0 / 0.6712 GB, free: 5.984 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.01042/0.611, allocations: 3.294 MB / 0.6744 GB, free: 2.676 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.6111, allocations: 64.12 kB / 0.6745 GB, free: 2.602 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.6123, allocations: 0.6297 MB / 0.6751 GB, free: 1.965 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001826/0.6125, allocations: 41.7 kB / 0.6751 GB, free: 1.918 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.6128, allocations: 412.7 kB / 0.6755 GB, free: 1.508 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003853/0.6132, allocations: 272 kB / 0.6758 GB, free: 1.238 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.6133, allocations: 16 kB / 0.6758 GB, free: 1.223 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6134, allocations: 329.9 kB / 0.6761 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007127/0.6141, allocations: 369.5 kB / 0.6765 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007673/0.6149, allocations: 455.4 kB / 0.6769 GB, free: 64 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3509/0.9658, allocations: 401.2 kB / 0.6773 GB, free: 107.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.9659, allocations: 1.062 kB / 0.6773 GB, free: 107.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.01189/0.9778, allocations: 3.403 MB / 0.6806 GB, free: 107.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.9779, allocations: 5.984 kB / 0.6806 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.9779, allocations: 2.062 kB / 0.6806 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005208/0.9831, allocations: 1.403 MB / 0.682 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/0.9839, allocations: 122.7 kB / 0.6821 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/0.9958, allocations: 6.158 MB / 0.6881 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.997, allocations: 161.7 kB / 0.6883 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/0.9971, allocations: 27.09 kB / 0.6883 GB, free: 106.4 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: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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 {19 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002002/0.9973, allocations: 139.9 kB / 0.6884 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.9974, allocations: 97.34 kB / 0.6885 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009247/1.007, allocations: 3.402 MB / 0.6918 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/1.007, allocations: 9.188 kB / 0.6918 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.007, allocations: 0 / 0.6918 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/1.007, allocations: 3.797 kB / 0.6918 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/1.018, allocations: 4.726 MB / 0.6965 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.018, allocations: 3.375 kB / 0.6965 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006172/1.018, allocations: 107.7 kB / 0.6966 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003976/1.022, allocations: 1.346 MB / 0.6979 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/1.023, allocations: 15.47 kB / 0.6979 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009913/1.033, allocations: 5.331 MB / 0.7031 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.033, allocations: 0 / 0.7031 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/1.043, allocations: 4.08 MB / 0.7071 GB, free: 97.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/1.043, allocations: 183.3 kB / 0.7073 GB, free: 97.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002461/1.044, allocations: 12 kB / 0.7073 GB, free: 97.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/1.045, allocations: 119.6 kB / 0.7074 GB, free: 97.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005372/1.045, allocations: 169.6 kB / 0.7075 GB, free: 96.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.923e-05/1.045, allocations: 16 kB / 0.7076 GB, free: 96.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006984/1.046, allocations: 0.4966 MB / 0.708 GB, free: 96.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.7e-07/1.046, allocations: 0 / 0.708 GB, free: 96.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001239/1.047, allocations: 347.4 kB / 0.7084 GB, free: 96.15 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01068/1.058, allocations: 4.662 MB / 0.7129 GB, free: 92.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004258/1.062, allocations: 1.673 MB / 0.7146 GB, free: 90.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/1.062, allocations: 3.938 kB / 0.7146 GB, free: 90.65 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003237/1.065, allocations: 1.212 MB / 0.7158 GB, free: 89.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008051/1.066, allocations: 70.78 kB / 0.7158 GB, free: 89.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/1.07, allocations: 1.396 MB / 0.7172 GB, free: 88.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/1.07, allocations: 1.03 MB / 0.7182 GB, free: 87.33 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003485/1.071, allocations: 79.33 kB / 0.7183 GB, free: 87.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/1.071, allocations: 330.1 kB / 0.7186 GB, free: 86.99 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/1.071, allocations: 0 / 0.7186 GB, free: 86.99 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04281/1.114, allocations: 23.75 MB / 0.7418 GB, free: 64.44 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/1.114, allocations: 174.4 kB / 0.7419 GB, free: 64.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/3.649, allocations: 0 / 0.7419 GB, free: 64.21 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)