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.006889/0.006889, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.56/1.56, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.0008499/0.0008498, allocations: 98.84 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07467/0.07467, allocations: 12.19 MB / 330 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4092/0.4092, allocations: 78.52 MB / 459.6 MB, free: 3.996 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004805, allocations: 23.42 kB / 0.528 GB, free: 35.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1176, allocations: 69.24 MB / 0.5956 GB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.2347, allocations: 98.33 MB / 0.6917 GB, free: 1.82 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.235, allocations: 79.95 kB / 0.6917 GB, free: 1.742 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2659/0.5009, allocations: 22.3 MB / 0.7135 GB, free: 94.6 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.501, allocations: 0.5938 kB / 0.7135 GB, free: 94.6 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001106/0.5011, allocations: 20.28 kB / 0.7135 GB, free: 94.6 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.005321/0.5064, allocations: 1.771 MB / 0.7153 GB, free: 93.41 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.5065, allocations: 13.23 kB / 0.7153 GB, free: 93.41 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003067/0.5068, allocations: 113.8 kB / 0.7154 GB, free: 93.31 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/0.51, allocations: 0.5437 MB / 0.7159 GB, free: 93.07 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.5114, allocations: 0.6619 MB / 0.7166 GB, free: 92.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/0.5116, allocations: 258.7 kB / 0.7168 GB, free: 92.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.5118, allocations: 62.62 kB / 0.7169 GB, free: 92.27 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.5137, allocations: 1.015 MB / 0.7179 GB, free: 91.73 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.5138, allocations: 0 / 0.7179 GB, free: 91.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.053e-05/0.5139, allocations: 35.64 kB / 0.7179 GB, free: 91.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.5139, allocations: 15.72 kB / 0.7179 GB, free: 91.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.5158, allocations: 1.048 MB / 0.7189 GB, free: 91.23 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004717/0.5205, allocations: 3.194 MB / 0.7221 GB, free: 88.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.5221, allocations: 1.381 MB / 0.7234 GB, free: 87.54 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.294e-05/0.5222, allocations: 12.64 kB / 0.7234 GB, free: 87.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.5222, allocations: 43.22 kB / 0.7235 GB, free: 87.47 MB / 474.7 MB Notification: Performance of pre-optimization done (n=81): time 2.114e-06/0.5222, allocations: 0 / 0.7235 GB, free: 87.47 MB / 474.7 MB Notification: Performance of matching and sorting (n=81): time 0.02278/0.545, allocations: 7.761 MB / 0.731 GB, free: 79.68 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.5451, allocations: 64.06 kB / 0.7311 GB, free: 79.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008575/0.546, allocations: 0.6649 MB / 0.7317 GB, free: 78.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.5461, allocations: 41.7 kB / 0.7318 GB, free: 78.88 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.5463, allocations: 428.4 kB / 0.7322 GB, free: 78.46 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.5466, allocations: 287.8 kB / 0.7325 GB, free: 78.17 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.5466, allocations: 16 kB / 0.7325 GB, free: 78.16 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.5467, allocations: 334 kB / 0.7328 GB, free: 77.82 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.5478, allocations: 0.6266 MB / 0.7334 GB, free: 77.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.549, allocations: 0.7296 MB / 0.7341 GB, free: 76.43 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.5501, allocations: 0.6676 MB / 0.7348 GB, free: 75.77 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5501, allocations: 0 / 0.7348 GB, free: 75.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01224/0.5624, allocations: 4.723 MB / 0.7394 GB, free: 71.03 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.5624, allocations: 4 kB / 0.7394 GB, free: 71.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.5624, allocations: 4 kB / 0.7394 GB, free: 71.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005892/0.5683, allocations: 2.182 MB / 0.7415 GB, free: 68.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006197/0.569, allocations: 115.8 kB / 0.7416 GB, free: 68.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01875/0.5877, allocations: 9.794 MB / 0.7512 GB, free: 58.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.589, allocations: 175.3 kB / 0.7514 GB, free: 58.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.5892, allocations: 27.98 kB / 0.7514 GB, free: 58.6 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(start = order21.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 (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.0004638/0.5896, allocations: 210.6 kB / 0.7516 GB, free: 58.38 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.5899, allocations: 102.7 kB / 0.7517 GB, free: 58.28 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/0.602, allocations: 4.739 MB / 0.7563 GB, free: 53.53 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.602, allocations: 15.89 kB / 0.7563 GB, free: 53.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.602, allocations: 0 / 0.7563 GB, free: 53.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.6021, allocations: 7.984 kB / 0.7563 GB, free: 53.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/0.6155, allocations: 6.214 MB / 0.7624 GB, free: 47.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.6156, allocations: 4 kB / 0.7624 GB, free: 47.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005304/0.6161, allocations: 95.89 kB / 0.7625 GB, free: 47.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005458/0.6216, allocations: 2.059 MB / 0.7645 GB, free: 44.99 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/0.6217, allocations: 12 kB / 0.7645 GB, free: 44.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01585/0.6376, allocations: 8.654 MB / 0.773 GB, free: 36.19 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.6376, allocations: 3.984 kB / 0.773 GB, free: 36.18 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/0.6509, allocations: 5.653 MB / 0.7785 GB, free: 30.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003662/0.6513, allocations: 187.7 kB / 0.7787 GB, free: 30.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.6515, allocations: 16 kB / 0.7787 GB, free: 30.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009494/0.6525, allocations: 135.9 kB / 0.7788 GB, free: 30.15 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005407/0.653, allocations: 196.6 kB / 0.779 GB, free: 29.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.755e-05/0.6531, allocations: 16 kB / 0.779 GB, free: 29.95 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006028/0.6537, allocations: 0.5224 MB / 0.7795 GB, free: 29.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6537, allocations: 4 kB / 0.7795 GB, free: 29.42 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001165/0.6549, allocations: 395.5 kB / 0.7799 GB, free: 29.04 MB / 474.7 MB 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 () * Number of clocked 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.01361/0.6685, allocations: 6.237 MB / 0.786 GB, free: 22.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005502/0.6741, allocations: 2.392 MB / 0.7884 GB, free: 20.36 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.6741, allocations: 4.062 kB / 0.7884 GB, free: 20.35 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004028/0.6781, allocations: 1.681 MB / 0.79 GB, free: 18.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006214/0.6788, allocations: 63.31 kB / 0.7901 GB, free: 18.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/0.6977, allocations: 11.36 MB / 0.8012 GB, free: 6.98 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.6981, allocations: 1.052 MB / 0.8022 GB, free: 5.895 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002977/0.6984, allocations: 57.14 kB / 0.8022 GB, free: 5.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/0.6988, allocations: 363.3 kB / 0.8026 GB, free: 5.484 MB / 474.7 MB Notification: Performance of SimCode: time 5.52e-07/0.6988, allocations: 0 / 0.8026 GB, free: 5.484 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0453/0.7441, allocations: 26.5 MB / 0.8285 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/0.7443, allocations: 197.6 kB / 0.8287 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/3.435, allocations: 0 / 0.8287 GB, free: 10.88 MB / 0.4948 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)