Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001183, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009333/0.0009334, allocations: 88.83 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09202/0.09202, allocations: 12.19 MB / 321.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3046/0.3046, allocations: 78.07 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.51e-05/1.52e-05, allocations: 4 kB / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1291, allocations: 69.24 MB / 0.5819 GB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4603/0.5894, allocations: 97.54 MB / 0.6771 GB, free: 9.637 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/0.5898, allocations: 77.08 kB / 0.6772 GB, free: 9.625 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05367/0.6435, allocations: 20.18 MB / 0.6969 GB, free: 10.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6436, allocations: 0 / 0.6969 GB, free: 10.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.43e-05/0.6437, allocations: 21.31 kB / 0.6969 GB, free: 10.39 MB / 442.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.004873/0.6485, allocations: 1.474 MB / 0.6984 GB, free: 8.969 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.431e-05/0.6486, allocations: 12.03 kB / 0.6984 GB, free: 8.957 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003097/0.6517, allocations: 468.8 kB / 0.6988 GB, free: 8.539 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.6532, allocations: 0.607 MB / 0.6994 GB, free: 8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.6535, allocations: 156.1 kB / 0.6996 GB, free: 7.824 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.6536, allocations: 32 kB / 0.6996 GB, free: 7.793 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001357/0.6549, allocations: 0.6795 MB / 0.7002 GB, free: 7.375 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.6561, allocations: 0.6241 MB / 0.7009 GB, free: 6.945 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.6562, allocations: 3.938 kB / 0.7009 GB, free: 6.941 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.098e-05/0.6562, allocations: 0 / 0.7009 GB, free: 6.941 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.6563, allocations: 16 kB / 0.7009 GB, free: 6.926 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005173/0.6614, allocations: 2.306 MB / 0.7031 GB, free: 5.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.6626, allocations: 0.8691 MB / 0.704 GB, free: 4.383 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000703/0.6633, allocations: 479.4 kB / 0.7044 GB, free: 4.125 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.6635, allocations: 20.75 kB / 0.7045 GB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.6635, allocations: 42.28 kB / 0.7045 GB, free: 4.059 MB / 442.7 MB Notification: Performance of pre-optimization done (n=76): time 4.97e-06/0.6635, allocations: 0 / 0.7045 GB, free: 4.059 MB / 442.7 MB Notification: Performance of matching and sorting (n=76): time 0.0105/0.674, allocations: 3.232 MB / 0.7077 GB, free: 1.242 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.052e-05/0.6742, allocations: 64.17 kB / 0.7077 GB, free: 1.164 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.6755, allocations: 0.579 MB / 0.7083 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002769/0.6758, allocations: 29.7 kB / 0.7083 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.6763, allocations: 400.5 kB / 0.7087 GB, free: 476 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004009/0.6767, allocations: 267.9 kB / 0.7089 GB, free: 236 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.6767, allocations: 0 / 0.7089 GB, free: 236 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002396/0.677, allocations: 327.6 kB / 0.7093 GB, free: 15.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006643/0.6777, allocations: 358.7 kB / 0.7096 GB, free: 15.73 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007396/0.6784, allocations: 439.9 kB / 0.71 GB, free: 15.44 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007049/0.6791, allocations: 392.9 kB / 0.7104 GB, free: 15.22 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.6791, allocations: 0 / 0.7104 GB, free: 15.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.01058/0.6897, allocations: 3.338 MB / 0.7137 GB, free: 12.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.6898, allocations: 8 kB / 0.7137 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.6898, allocations: 0 / 0.7137 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004697/0.6945, allocations: 1.367 MB / 0.715 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007968/0.6954, allocations: 123.5 kB / 0.7151 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.7076, allocations: 5.991 MB / 0.721 GB, free: 6.836 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.709, allocations: 139.3 kB / 0.7211 GB, free: 6.699 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.633e-05/0.7091, allocations: 23.67 kB / 0.7211 GB, free: 6.68 MB / 458.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.0003041/0.7094, allocations: 120.8 kB / 0.7212 GB, free: 6.555 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01008/0.7195, allocations: 3.249 MB / 0.7244 GB, free: 3.723 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005726/0.7202, allocations: 94.78 kB / 0.7245 GB, free: 3.629 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/0.7303, allocations: 3.329 MB / 0.7277 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.7304, allocations: 8 kB / 0.7278 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.7304, allocations: 0 / 0.7278 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.823e-05/0.7305, allocations: 3.984 kB / 0.7278 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/0.7437, allocations: 4.586 MB / 0.7322 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/0.7438, allocations: 0 / 0.7322 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007799/0.7445, allocations: 106.9 kB / 0.7323 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004495/0.7491, allocations: 1.329 MB / 0.7336 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002333/0.7493, allocations: 11.94 kB / 0.7336 GB, free: 11.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/0.7609, allocations: 5.196 MB / 0.7387 GB, free: 6.508 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.7609, allocations: 4 kB / 0.7387 GB, free: 6.504 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/0.773, allocations: 4.011 MB / 0.7426 GB, free: 2.469 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005813/0.7736, allocations: 179.8 kB / 0.7428 GB, free: 2.273 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.7739, allocations: 7.984 kB / 0.7428 GB, free: 2.266 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009671/0.7749, allocations: 103.9 kB / 0.7429 GB, free: 2.164 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006012/0.7755, allocations: 164.4 kB / 0.7431 GB, free: 2.004 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/0.7756, allocations: 27.94 kB / 0.7431 GB, free: 1.977 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007868/0.7764, allocations: 459.2 kB / 0.7435 GB, free: 1.535 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7764, allocations: 0 / 0.7435 GB, free: 1.535 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001482/0.7779, allocations: 307.6 kB / 0.7438 GB, free: 1.234 MB / 474.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.01222/0.7901, allocations: 4.587 MB / 0.7483 GB, free: 12.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004816/0.795, allocations: 1.616 MB / 0.7499 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.086e-06/0.795, allocations: 0 / 0.7499 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003718/0.7988, allocations: 1.179 MB / 0.751 GB, free: 9.793 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009444/0.7998, allocations: 51.3 kB / 0.7511 GB, free: 9.742 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.8036, allocations: 1.324 MB / 0.7524 GB, free: 8.375 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/0.8044, allocations: 1.028 MB / 0.7534 GB, free: 7.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003734/0.8048, allocations: 80.78 kB / 0.7535 GB, free: 7.242 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005079/0.8053, allocations: 331.3 kB / 0.7538 GB, free: 6.918 MB / 490.7 MB Notification: Performance of SimCode: time 1.332e-06/0.8053, allocations: 0 / 0.7538 GB, free: 6.918 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0628/0.8681, allocations: 22.13 MB / 0.7754 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003065/0.8686, allocations: 120.3 kB / 0.7755 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/3.79, allocations: 0 / 0.7755 GB, free: 0.625 MB / 0.4948 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)