Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",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.006288/0.006288, allocations: 170.8 kB / 15.11 MB, free: 6.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0009524/0.0009524, allocations: 98.84 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06974/0.06974, allocations: 12.2 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.416/0.416, allocations: 78.53 MB / 459.6 MB, free: 3.992 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004772, allocations: 18.84 kB / 0.528 GB, free: 35.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1131, allocations: 69.25 MB / 0.5956 GB, free: 4.262 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1156/0.2287, allocations: 99.83 MB / 0.6931 GB, free: 300 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.229, allocations: 79.95 kB / 0.6932 GB, free: 220 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2662/0.4952, allocations: 24.74 MB / 0.7174 GB, free: 93 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4952, allocations: 0 / 0.7174 GB, free: 93 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.408e-05/0.4953, allocations: 19.66 kB / 0.7174 GB, free: 93 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004723/0.5, allocations: 1.973 MB / 0.7193 GB, free: 91.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.5001, allocations: 15.83 kB / 0.7193 GB, free: 91.7 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002574/0.5003, allocations: 133.4 kB / 0.7195 GB, free: 91.58 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/0.5034, allocations: 0.5682 MB / 0.72 GB, free: 91.33 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.5046, allocations: 0.7207 MB / 0.7207 GB, free: 90.73 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.5049, allocations: 270.2 kB / 0.721 GB, free: 90.49 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.505, allocations: 84.98 kB / 0.7211 GB, free: 90.46 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.507, allocations: 1.146 MB / 0.7222 GB, free: 89.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.507, allocations: 0 / 0.7222 GB, free: 89.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-05/0.5071, allocations: 28 kB / 0.7222 GB, free: 89.29 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.5071, allocations: 23.95 kB / 0.7222 GB, free: 89.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.5093, allocations: 1.241 MB / 0.7234 GB, free: 88.03 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005195/0.5145, allocations: 3.538 MB / 0.7269 GB, free: 84.34 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.5163, allocations: 1.49 MB / 0.7283 GB, free: 82.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-05/0.5164, allocations: 20.97 kB / 0.7284 GB, free: 82.71 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.5164, allocations: 43.56 kB / 0.7284 GB, free: 82.66 MB / 474.7 MB Notification: Performance of pre-optimization done (n=96): time 3.226e-06/0.5164, allocations: 0 / 0.7284 GB, free: 82.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.02518/0.5416, allocations: 8.263 MB / 0.7365 GB, free: 74.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.5417, allocations: 60.41 kB / 0.7365 GB, free: 74.29 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009246/0.5426, allocations: 0.7458 MB / 0.7373 GB, free: 73.53 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.5428, allocations: 41.7 kB / 0.7373 GB, free: 73.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.543, allocations: 0.4931 MB / 0.7378 GB, free: 72.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/0.5433, allocations: 327.2 kB / 0.7381 GB, free: 72.66 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.5434, allocations: 16 kB / 0.7381 GB, free: 72.64 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.317e-05/0.5434, allocations: 337.9 kB / 0.7384 GB, free: 72.31 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.5447, allocations: 0.7086 MB / 0.7391 GB, free: 71.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.546, allocations: 0.8194 MB / 0.7399 GB, free: 70.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.5474, allocations: 0.7497 MB / 0.7407 GB, free: 70 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5474, allocations: 3.938 kB / 0.7407 GB, free: 70 MB / 474.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01244/0.5599, allocations: 4.945 MB / 0.7455 GB, free: 65.04 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.56, allocations: 11.98 kB / 0.7455 GB, free: 65.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.56, allocations: 0 / 0.7455 GB, free: 65.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005935/0.5659, allocations: 2.171 MB / 0.7476 GB, free: 62.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008277/0.5668, allocations: 159.8 kB / 0.7478 GB, free: 62.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0182/0.585, allocations: 9.791 MB / 0.7573 GB, free: 52.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.5864, allocations: 203.1 kB / 0.7575 GB, free: 52.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.5865, allocations: 35.98 kB / 0.7576 GB, free: 52.53 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (73): * Single equations (assignments): 72 * 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 prepare postOptimizeDAE: time 0.0005421/0.5871, allocations: 234.7 kB / 0.7578 GB, free: 52.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.5873, allocations: 118.5 kB / 0.7579 GB, free: 52.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.5994, allocations: 4.963 MB / 0.7627 GB, free: 47.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.5994, allocations: 8 kB / 0.7628 GB, free: 47.19 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.5994, allocations: 4 kB / 0.7628 GB, free: 47.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.5994, allocations: 3.984 kB / 0.7628 GB, free: 47.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.6128, allocations: 6.558 MB / 0.7692 GB, free: 40.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.6128, allocations: 3.938 kB / 0.7692 GB, free: 40.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006648/0.6135, allocations: 139.9 kB / 0.7693 GB, free: 40.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00535/0.6188, allocations: 2.063 MB / 0.7713 GB, free: 38.28 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/0.619, allocations: 19.98 kB / 0.7713 GB, free: 38.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01626/0.6353, allocations: 8.654 MB / 0.7798 GB, free: 29.46 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.6353, allocations: 3.938 kB / 0.7798 GB, free: 29.46 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/0.6494, allocations: 5.993 MB / 0.7856 GB, free: 23.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/0.6498, allocations: 203.3 kB / 0.7858 GB, free: 23.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/0.65, allocations: 20 kB / 0.7859 GB, free: 23.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.6511, allocations: 159.9 kB / 0.786 GB, free: 23.05 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006332/0.6518, allocations: 216.6 kB / 0.7862 GB, free: 22.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.79e-05/0.6519, allocations: 24 kB / 0.7862 GB, free: 22.82 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006946/0.6526, allocations: 0.5809 MB / 0.7868 GB, free: 22.23 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6526, allocations: 0 / 0.7868 GB, free: 22.23 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001229/0.6538, allocations: 423.5 kB / 0.7872 GB, free: 21.81 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.01408/0.6679, allocations: 6.581 MB / 0.7936 GB, free: 15.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005858/0.6738, allocations: 2.587 MB / 0.7962 GB, free: 12.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6738, allocations: 4.062 kB / 0.7962 GB, free: 12.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004244/0.6781, allocations: 1.79 MB / 0.7979 GB, free: 10.79 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.6787, allocations: 76.41 kB / 0.798 GB, free: 10.71 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02101/0.6998, allocations: 12.49 MB / 0.8102 GB, free: 13.87 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006736/0.7005, allocations: 1.107 MB / 0.8113 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003669/0.7009, allocations: 69.44 kB / 0.8113 GB, free: 12.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000554/0.7014, allocations: 427.3 kB / 0.8117 GB, free: 12.25 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.7014, allocations: 0 / 0.8117 GB, free: 12.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04814/0.7496, allocations: 28.75 MB / 0.8398 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/0.7498, allocations: 216.1 kB / 0.84 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.72/3.47, allocations: 7.625 kB / 0.84 GB, free: 15.41 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)