Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",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.006349/0.006349, allocations: 168.5 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.467/1.467, allocations: 223.2 MB / 239 MB, free: 1.793 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.00101, allocations: 95.28 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5251/0.5251, allocations: 78.52 MB / 419.8 MB, free: 44.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003966, allocations: 8 kB / 499.8 MB, free: 2.656 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4587, allocations: 69.34 MB / 0.5558 GB, free: 38.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.5931, allocations: 98.83 MB / 0.6523 GB, free: 7.527 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.5935, allocations: 87.89 kB / 0.6524 GB, free: 7.441 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07028/0.6638, allocations: 25.95 MB / 0.6777 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6638, allocations: 0 / 0.6777 GB, free: 13.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.589e-05/0.6639, allocations: 20 kB / 0.6778 GB, free: 13.32 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.00547/0.6694, allocations: 2.002 MB / 0.6797 GB, free: 11.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.6694, allocations: 12.03 kB / 0.6797 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003579/0.6698, allocations: 126.8 kB / 0.6798 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003438/0.6733, allocations: 0.5681 MB / 0.6804 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.675, allocations: 0.7441 MB / 0.6811 GB, free: 9.754 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002927/0.6753, allocations: 264.1 kB / 0.6814 GB, free: 9.457 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.6755, allocations: 83.98 kB / 0.6815 GB, free: 9.375 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/0.6779, allocations: 1.155 MB / 0.6826 GB, free: 8.211 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.678, allocations: 0 / 0.6826 GB, free: 8.211 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-05/0.6781, allocations: 32 kB / 0.6826 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.6781, allocations: 20 kB / 0.6826 GB, free: 8.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00283/0.6809, allocations: 1.238 MB / 0.6838 GB, free: 6.926 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00781/0.6888, allocations: 3.565 MB / 0.6873 GB, free: 3.207 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/0.6912, allocations: 1.51 MB / 0.6888 GB, free: 1.582 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.6913, allocations: 20.98 kB / 0.6888 GB, free: 1.562 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.6914, allocations: 47.53 kB / 0.6889 GB, free: 1.508 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 5.039e-06/0.6914, allocations: 0 / 0.6889 GB, free: 1.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.02919/0.7206, allocations: 8.505 MB / 0.6972 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.7207, allocations: 64.34 kB / 0.6972 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.722, allocations: 0.7425 MB / 0.698 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002605/0.7223, allocations: 45.7 kB / 0.698 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.7227, allocations: 0.501 MB / 0.6985 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004054/0.7231, allocations: 339 kB / 0.6988 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/0.7232, allocations: 16 kB / 0.6988 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.7233, allocations: 345.9 kB / 0.6992 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.7249, allocations: 0.7164 MB / 0.6999 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.7266, allocations: 0.8273 MB / 0.7007 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.7282, allocations: 0.7575 MB / 0.7014 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.7282, allocations: 0 / 0.7014 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0147/0.7429, allocations: 4.957 MB / 0.7062 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.743, allocations: 12 kB / 0.7063 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.7431, allocations: 4 kB / 0.7063 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00677/0.7498, allocations: 2.103 MB / 0.7083 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009277/0.7508, allocations: 163.8 kB / 0.7085 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02297/0.7738, allocations: 9.986 MB / 0.7182 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.7754, allocations: 203.2 kB / 0.7184 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.7755, allocations: 31.98 kB / 0.7185 GB, free: 2.938 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005793/0.7761, allocations: 237.5 kB / 0.7187 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.7764, allocations: 122.5 kB / 0.7188 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/0.791, allocations: 4.975 MB / 0.7237 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/0.7911, allocations: 12 kB / 0.7237 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7911, allocations: 0 / 0.7237 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.083e-05/0.7912, allocations: 3.984 kB / 0.7237 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01703/0.8082, allocations: 6.569 MB / 0.7301 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.8083, allocations: 0 / 0.7301 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009583/0.8092, allocations: 147.8 kB / 0.7302 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006432/0.8157, allocations: 2.057 MB / 0.7322 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002353/0.8159, allocations: 23.98 kB / 0.7323 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01941/0.8354, allocations: 8.627 MB / 0.7407 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.8354, allocations: 4 kB / 0.7407 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01655/0.852, allocations: 5.997 MB / 0.7465 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005274/0.8525, allocations: 211.3 kB / 0.7467 GB, free: 5.613 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.8527, allocations: 20 kB / 0.7468 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.8538, allocations: 155.9 kB / 0.7469 GB, free: 5.441 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007343/0.8546, allocations: 212.6 kB / 0.7471 GB, free: 5.234 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.408e-05/0.8547, allocations: 27.98 kB / 0.7471 GB, free: 5.207 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008075/0.8555, allocations: 0.5852 MB / 0.7477 GB, free: 4.613 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8555, allocations: 0 / 0.7477 GB, free: 4.613 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00127/0.8568, allocations: 439.5 kB / 0.7481 GB, free: 4.184 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01686/0.8736, allocations: 6.588 MB / 0.7546 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007207/0.8809, allocations: 2.594 MB / 0.7571 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.8809, allocations: 0 / 0.7571 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005254/0.8862, allocations: 1.806 MB / 0.7589 GB, free: 9.137 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009381/0.8872, allocations: 81.08 kB / 0.7589 GB, free: 9.059 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2882/1.175, allocations: 12.77 MB / 0.7714 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007248/1.176, allocations: 1.123 MB / 0.7725 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004625/1.177, allocations: 72.47 kB / 0.7726 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005703/1.177, allocations: 421.3 kB / 0.773 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.302e-06/1.177, allocations: 1.531 kB / 0.773 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05988/1.237, allocations: 29.17 MB / 0.8015 GB, free: 146.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/1.237, allocations: 207.5 kB / 0.8017 GB, free: 146.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.019/4.256, allocations: 0 / 0.8017 GB, free: 146.3 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)