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.001173/0.001174, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.338/1.338, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.000807/0.0008071, allocations: 91.47 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06771/0.06771, allocations: 12.2 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2979/0.2979, allocations: 78.03 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.723e-05/3.733e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1245, allocations: 69.24 MB / 0.5889 GB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4065/0.531, allocations: 99.74 MB / 0.6863 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.5313, allocations: 77.08 kB / 0.6864 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06813/0.5994, allocations: 24.66 MB / 0.7105 GB, free: 11.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5995, allocations: 0 / 0.7105 GB, free: 11.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001094/0.5996, allocations: 16 kB / 0.7105 GB, free: 11.66 MB / 458.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.005909/0.6055, allocations: 1.767 MB / 0.7122 GB, free: 9.969 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.6056, allocations: 11.98 kB / 0.7123 GB, free: 9.957 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005115/0.6061, allocations: 136.1 kB / 0.7124 GB, free: 9.867 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003662/0.6098, allocations: 0.5608 MB / 0.7129 GB, free: 9.348 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.6119, allocations: 0.7108 MB / 0.7136 GB, free: 8.719 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000336/0.6122, allocations: 272.1 kB / 0.7139 GB, free: 8.441 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003172/0.6126, allocations: 72.44 kB / 0.714 GB, free: 8.395 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.6148, allocations: 0.866 MB / 0.7148 GB, free: 7.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.6148, allocations: 0 / 0.7148 GB, free: 7.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.6149, allocations: 33.75 kB / 0.7148 GB, free: 7.828 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.615, allocations: 19.95 kB / 0.7148 GB, free: 7.809 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.6168, allocations: 0.8597 MB / 0.7157 GB, free: 7.277 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006771/0.6236, allocations: 3.547 MB / 0.7192 GB, free: 4.512 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.625, allocations: 1.206 MB / 0.7203 GB, free: 3.512 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008582/0.6259, allocations: 0.5798 MB / 0.7209 GB, free: 3.199 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.626, allocations: 20.2 kB / 0.7209 GB, free: 3.184 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.6261, allocations: 38.78 kB / 0.721 GB, free: 3.137 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 3.707e-06/0.6261, allocations: 0 / 0.721 GB, free: 3.137 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.01233/0.6384, allocations: 4.062 MB / 0.7249 GB, free: 15.62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.6385, allocations: 60.19 kB / 0.725 GB, free: 15.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.6398, allocations: 0.7319 MB / 0.7257 GB, free: 14.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002233/0.64, allocations: 40.7 kB / 0.7257 GB, free: 14.94 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.6404, allocations: 0.493 MB / 0.7262 GB, free: 14.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004922/0.6409, allocations: 335.5 kB / 0.7265 GB, free: 14.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.192e-05/0.641, allocations: 17.75 kB / 0.7265 GB, free: 14.37 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6411, allocations: 340.9 kB / 0.7269 GB, free: 14.05 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008342/0.642, allocations: 436.5 kB / 0.7273 GB, free: 13.82 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008598/0.6429, allocations: 0.5358 MB / 0.7278 GB, free: 13.46 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008302/0.6437, allocations: 473.7 kB / 0.7283 GB, free: 13.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.6437, allocations: 0 / 0.7283 GB, free: 13.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01271/0.6564, allocations: 4.184 MB / 0.7324 GB, free: 9.594 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.6565, allocations: 8 kB / 0.7324 GB, free: 9.586 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.6565, allocations: 3.984 kB / 0.7324 GB, free: 9.582 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005664/0.6622, allocations: 1.796 MB / 0.7341 GB, free: 8.008 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008719/0.6631, allocations: 159.2 kB / 0.7343 GB, free: 7.855 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/0.6785, allocations: 7.097 MB / 0.7412 GB, free: 2.586 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.68, allocations: 203.1 kB / 0.7414 GB, free: 2.387 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/0.6802, allocations: 28 kB / 0.7414 GB, free: 2.359 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(start = order2_Inputs_Outputs1.delta0 unit = "rad" ) "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 () * 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.00033/0.6805, allocations: 156.8 kB / 0.7416 GB, free: 2.199 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003086/0.6808, allocations: 118.5 kB / 0.7417 GB, free: 2.082 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/0.6936, allocations: 4.213 MB / 0.7458 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.6936, allocations: 12 kB / 0.7458 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.6936, allocations: 0 / 0.7458 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.588e-05/0.6937, allocations: 7.969 kB / 0.7458 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/0.7087, allocations: 5.802 MB / 0.7515 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.7088, allocations: 3.938 kB / 0.7515 GB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008839/0.7097, allocations: 151.8 kB / 0.7516 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005377/0.7151, allocations: 1.679 MB / 0.7533 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002216/0.7153, allocations: 20 kB / 0.7533 GB, free: 6.039 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/0.7302, allocations: 6.321 MB / 0.7595 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7303, allocations: 0 / 0.7595 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01424/0.7445, allocations: 4.953 MB / 0.7643 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004659/0.745, allocations: 203.4 kB / 0.7645 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003049/0.7453, allocations: 16 kB / 0.7645 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.7467, allocations: 159.9 kB / 0.7647 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007803/0.7475, allocations: 212.4 kB / 0.7649 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.7477, allocations: 27.98 kB / 0.7649 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000958/0.7486, allocations: 0.57 MB / 0.7654 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7486, allocations: 0 / 0.7654 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001524/0.7502, allocations: 427.5 kB / 0.7659 GB, free: 8.977 MB / 0.4948 GB 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 () * 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.01498/0.7652, allocations: 5.547 MB / 0.7713 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006381/0.7716, allocations: 2.008 MB / 0.7732 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.7716, allocations: 0 / 0.7732 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004531/0.7762, allocations: 1.492 MB / 0.7747 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008385/0.777, allocations: 72.42 kB / 0.7748 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.7813, allocations: 1.567 MB / 0.7763 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007696/0.782, allocations: 1.107 MB / 0.7774 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003633/0.7824, allocations: 69.48 kB / 0.7774 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000583/0.783, allocations: 427.3 kB / 0.7778 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of SimCode: time 9.12e-07/0.783, allocations: 0 / 0.7778 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05175/0.8348, allocations: 28.72 MB / 0.8059 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.835, allocations: 181.1 kB / 0.8061 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.867/3.702, allocations: 3.938 kB / 0.8061 GB, free: 15.74 MB / 0.5417 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)