Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.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,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.0009654/0.0009653, allocations: 174 kB / 12.73 MB, free: 2.586 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.381/1.381, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0009078/0.0009082, allocations: 88.48 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07328/0.07328, allocations: 12.19 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3002/0.3002, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.981e-05/3.997e-05, allocations: 7.984 kB / 0.5213 GB, free: 24.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.123, allocations: 69.24 MB / 0.5889 GB, free: 2.953 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.5748, allocations: 98.24 MB / 0.6849 GB, free: 2.008 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.5751, allocations: 75.2 kB / 0.6849 GB, free: 1.969 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05649/0.6316, allocations: 22.23 MB / 0.7066 GB, free: 15.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6316, allocations: 0 / 0.7066 GB, free: 15.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.25e-05/0.6317, allocations: 16 kB / 0.7067 GB, free: 15.21 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004228/0.6359, allocations: 1.578 MB / 0.7082 GB, free: 13.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.636, allocations: 15.97 kB / 0.7082 GB, free: 13.68 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.6361, allocations: 115.8 kB / 0.7083 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003089/0.6392, allocations: 0.5397 MB / 0.7089 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.6405, allocations: 0.6634 MB / 0.7095 GB, free: 12.53 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003186/0.6408, allocations: 261 kB / 0.7098 GB, free: 12.26 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.641, allocations: 61.62 kB / 0.7098 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.6423, allocations: 0.7722 MB / 0.7106 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.6423, allocations: 0 / 0.7106 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/0.6424, allocations: 26.5 kB / 0.7106 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.6424, allocations: 16 kB / 0.7106 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.6437, allocations: 0.7736 MB / 0.7114 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005176/0.6489, allocations: 3.209 MB / 0.7145 GB, free: 8.719 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.6503, allocations: 1.139 MB / 0.7156 GB, free: 7.754 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007493/0.6511, allocations: 0.5283 MB / 0.7161 GB, free: 7.473 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.6512, allocations: 16.77 kB / 0.7161 GB, free: 7.457 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.6512, allocations: 38.16 kB / 0.7162 GB, free: 7.414 MB / 458.7 MB Notification: Performance of pre-optimization done (n=81): time 3.526e-06/0.6512, allocations: 7.984 kB / 0.7162 GB, free: 7.406 MB / 458.7 MB Notification: Performance of matching and sorting (n=81): time 0.01203/0.6633, allocations: 3.967 MB / 0.7201 GB, free: 3.965 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.6634, allocations: 68.19 kB / 0.7201 GB, free: 3.887 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009398/0.6643, allocations: 0.6536 MB / 0.7208 GB, free: 3.383 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.6644, allocations: 40.14 kB / 0.7208 GB, free: 3.348 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.6648, allocations: 431 kB / 0.7212 GB, free: 3.102 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/0.6651, allocations: 287.3 kB / 0.7215 GB, free: 2.852 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.6652, allocations: 14.62 kB / 0.7215 GB, free: 2.848 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6653, allocations: 335.8 kB / 0.7218 GB, free: 2.527 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006469/0.666, allocations: 401.7 kB / 0.7222 GB, free: 2.312 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006978/0.6667, allocations: 0.4934 MB / 0.7227 GB, free: 1.984 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006713/0.6673, allocations: 439.9 kB / 0.7231 GB, free: 1.742 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.6674, allocations: 0 / 0.7231 GB, free: 1.742 MB / 458.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01208/0.6794, allocations: 4.074 MB / 0.7271 GB, free: 14.21 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.6795, allocations: 8 kB / 0.7271 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.6795, allocations: 4 kB / 0.7271 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005619/0.6851, allocations: 1.806 MB / 0.7289 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/0.6858, allocations: 115.4 kB / 0.729 GB, free: 12.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/0.7001, allocations: 7.094 MB / 0.7359 GB, free: 7.621 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.7016, allocations: 172.4 kB / 0.7361 GB, free: 7.465 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.184e-05/0.7017, allocations: 34.55 kB / 0.7361 GB, free: 7.438 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(start = order21.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 (59): * Single equations (assignments): 58 * 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.0002453/0.7019, allocations: 135.8 kB / 0.7362 GB, free: 7.32 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.7021, allocations: 106.7 kB / 0.7363 GB, free: 7.215 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.7143, allocations: 4.089 MB / 0.7403 GB, free: 3.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.7144, allocations: 8 kB / 0.7403 GB, free: 3.512 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.7144, allocations: 0 / 0.7403 GB, free: 3.512 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.068e-05/0.7144, allocations: 3.984 kB / 0.7403 GB, free: 3.508 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.7291, allocations: 5.558 MB / 0.7458 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/0.7291, allocations: 0 / 0.7458 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006399/0.7298, allocations: 99.83 kB / 0.7458 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005653/0.7355, allocations: 1.683 MB / 0.7475 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002164/0.7357, allocations: 12 kB / 0.7475 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/0.7508, allocations: 6.329 MB / 0.7537 GB, free: 5.547 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7508, allocations: 0 / 0.7537 GB, free: 5.547 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/0.7645, allocations: 4.768 MB / 0.7583 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004655/0.7651, allocations: 191.6 kB / 0.7585 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003216/0.7654, allocations: 12 kB / 0.7585 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.7666, allocations: 135.9 kB / 0.7587 GB, free: 412 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007318/0.7673, allocations: 196.4 kB / 0.7589 GB, free: 216 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.7675, allocations: 16 kB / 0.7589 GB, free: 200 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008755/0.7684, allocations: 0.5148 MB / 0.7594 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7684, allocations: 0 / 0.7594 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001524/0.7699, allocations: 387.5 kB / 0.7597 GB, free: 15.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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.01394/0.7838, allocations: 5.355 MB / 0.765 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005731/0.7896, allocations: 1.902 MB / 0.7668 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.7896, allocations: 0 / 0.7668 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004345/0.794, allocations: 1.438 MB / 0.7682 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008879/0.7949, allocations: 64.56 kB / 0.7683 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.7985, allocations: 1.328 MB / 0.7696 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/0.7992, allocations: 1.048 MB / 0.7706 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002923/0.7995, allocations: 57.16 kB / 0.7707 GB, free: 3.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/0.8, allocations: 367.2 kB / 0.771 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of SimCode: time 1.332e-06/0.8, allocations: 0 / 0.771 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05136/0.8514, allocations: 26.44 MB / 0.7968 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.8516, allocations: 179.6 kB / 0.797 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/3.491, allocations: 0 / 0.797 GB, free: 9.031 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)