Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.0009512/0.0009512, 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.263/1.263, 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.0008173/0.0008174, allocations: 89.39 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06012/0.06012, allocations: 12.19 MB / 321.5 MB, free: 1.18 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2758/0.2758, allocations: 78.06 MB / 450.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.517e-05/1.52e-05, allocations: 4 kB / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 69.23 MB / 0.5819 GB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3859/0.4986, allocations: 97.79 MB / 0.6773 GB, free: 9.562 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.4989, allocations: 80.98 kB / 0.6774 GB, free: 9.551 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05178/0.5507, allocations: 22.24 MB / 0.6991 GB, free: 8.508 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5508, allocations: 0 / 0.6991 GB, free: 8.508 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.919e-05/0.5508, allocations: 16 kB / 0.6992 GB, free: 8.492 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.004423/0.5553, allocations: 1.595 MB / 0.7007 GB, free: 6.961 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.5553, allocations: 12.03 kB / 0.7007 GB, free: 6.949 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/0.5585, allocations: 0.5369 MB / 0.7013 GB, free: 6.461 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.5599, allocations: 0.6699 MB / 0.7019 GB, free: 5.883 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002737/0.5602, allocations: 236.2 kB / 0.7021 GB, free: 5.613 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.5603, allocations: 40 kB / 0.7022 GB, free: 5.574 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001285/0.5616, allocations: 0.7419 MB / 0.7029 GB, free: 5.129 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.5628, allocations: 0.6993 MB / 0.7036 GB, free: 4.656 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.5628, allocations: 0 / 0.7036 GB, free: 4.656 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.246e-05/0.5629, allocations: 8 kB / 0.7036 GB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.5629, allocations: 12 kB / 0.7036 GB, free: 4.637 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005211/0.5682, allocations: 3.106 MB / 0.7066 GB, free: 2.207 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.5694, allocations: 1.12 MB / 0.7077 GB, free: 1.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006316/0.5701, allocations: 0.5162 MB / 0.7082 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.5702, allocations: 16.66 kB / 0.7082 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.5702, allocations: 35.03 kB / 0.7083 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 3.096e-06/0.5702, allocations: 0 / 0.7083 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.0116/0.5818, allocations: 3.917 MB / 0.7121 GB, free: 13.51 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.5819, allocations: 64.12 kB / 0.7122 GB, free: 13.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008594/0.5828, allocations: 0.6159 MB / 0.7128 GB, free: 12.97 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002186/0.583, allocations: 25.7 kB / 0.7128 GB, free: 12.94 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000315/0.5833, allocations: 447.2 kB / 0.7132 GB, free: 12.69 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003106/0.5836, allocations: 273.1 kB / 0.7135 GB, free: 12.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.5837, allocations: 4 kB / 0.7135 GB, free: 12.44 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5838, allocations: 332.6 kB / 0.7138 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006058/0.5845, allocations: 392.5 kB / 0.7142 GB, free: 11.92 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006515/0.5851, allocations: 491 kB / 0.7146 GB, free: 11.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/0.5857, allocations: 432.1 kB / 0.7151 GB, free: 11.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5857, allocations: 0 / 0.7151 GB, free: 11.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01179/0.5975, allocations: 3.969 MB / 0.7189 GB, free: 7.906 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.5976, allocations: 9.719 kB / 0.7189 GB, free: 7.898 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.5976, allocations: 0 / 0.7189 GB, free: 7.898 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005596/0.6032, allocations: 1.685 MB / 0.7206 GB, free: 6.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/0.604, allocations: 130.2 kB / 0.7207 GB, free: 6.309 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/0.6172, allocations: 7.06 MB / 0.7276 GB, free: 1.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.6185, allocations: 163.3 kB / 0.7278 GB, free: 1.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.6186, allocations: 23.12 kB / 0.7278 GB, free: 1.305 MB / 458.7 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.e1q0 unit = "1" ) "q-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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002896/0.6189, allocations: 124.8 kB / 0.7279 GB, free: 1.176 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01159/0.6305, allocations: 3.916 MB / 0.7317 GB, free: 13.76 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004646/0.631, allocations: 110.7 kB / 0.7318 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/0.6429, allocations: 4.004 MB / 0.7357 GB, free: 9.668 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.643, allocations: 8 kB / 0.7357 GB, free: 9.66 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.643, allocations: 0 / 0.7357 GB, free: 9.66 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/0.643, allocations: 3.984 kB / 0.7358 GB, free: 9.656 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/0.6573, allocations: 5.422 MB / 0.741 GB, free: 4.109 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.6574, allocations: 0 / 0.741 GB, free: 4.109 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006482/0.658, allocations: 95.89 kB / 0.7411 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005404/0.6634, allocations: 1.667 MB / 0.7428 GB, free: 2.344 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001909/0.6637, allocations: 7.938 kB / 0.7428 GB, free: 2.336 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01328/0.677, allocations: 6.192 MB / 0.7488 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.677, allocations: 7.938 kB / 0.7488 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01312/0.6901, allocations: 4.701 MB / 0.7534 GB, free: 7.293 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004028/0.6906, allocations: 191.6 kB / 0.7536 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/0.6909, allocations: 4 kB / 0.7536 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.6919, allocations: 115.9 kB / 0.7537 GB, free: 6.969 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005999/0.6925, allocations: 200.4 kB / 0.7539 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.482e-05/0.6926, allocations: 20 kB / 0.7539 GB, free: 6.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000709/0.6933, allocations: 483.1 kB / 0.7544 GB, free: 6.285 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6934, allocations: 0 / 0.7544 GB, free: 6.285 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001329/0.6947, allocations: 359.5 kB / 0.7547 GB, free: 5.934 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01328/0.708, allocations: 5.274 MB / 0.7599 GB, free: 0.625 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005127/0.7131, allocations: 1.85 MB / 0.7617 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7132, allocations: 0 / 0.7617 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004139/0.7173, allocations: 1.395 MB / 0.763 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000824/0.7182, allocations: 63.2 kB / 0.7631 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/0.7216, allocations: 1.341 MB / 0.7644 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006512/0.7222, allocations: 1.052 MB / 0.7654 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003015/0.7225, allocations: 61.14 kB / 0.7655 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004635/0.723, allocations: 355.3 kB / 0.7658 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of SimCode: time 8.72e-07/0.723, allocations: 0 / 0.7658 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05396/0.777, allocations: 25.12 MB / 0.7904 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.7772, allocations: 136.9 kB / 0.7905 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.547/3.324, allocations: 0 / 0.7905 GB, free: 1.129 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)