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.0009556/0.0009555, allocations: 174.5 kB / 7.647 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.268/1.268, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008297/0.0008299, allocations: 87.31 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06426/0.06426, allocations: 12.2 MB / 321.5 MB, free: 1.184 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2742/0.2742, allocations: 78.06 MB / 450.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.79e-05, allocations: 7.984 kB / 0.5142 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 69.23 MB / 0.5819 GB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3835/0.4885, allocations: 97.58 MB / 0.6771 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001753/0.4887, allocations: 79.39 kB / 0.6772 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05064/0.5393, allocations: 21.92 MB / 0.6986 GB, free: 9.254 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.5394, allocations: 0 / 0.6986 GB, free: 9.254 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.968e-05/0.5394, allocations: 16 kB / 0.6986 GB, free: 9.238 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004025/0.5435, allocations: 1.587 MB / 0.7002 GB, free: 7.715 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.5435, allocations: 8.031 kB / 0.7002 GB, free: 7.707 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/0.5465, allocations: 0.5357 MB / 0.7007 GB, free: 7.219 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.5477, allocations: 0.668 MB / 0.7014 GB, free: 6.641 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/0.5479, allocations: 239.4 kB / 0.7016 GB, free: 6.375 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.548, allocations: 36 kB / 0.7016 GB, free: 6.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001152/0.5492, allocations: 0.7448 MB / 0.7024 GB, free: 5.887 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.5503, allocations: 0.6798 MB / 0.703 GB, free: 5.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.5503, allocations: 0 / 0.703 GB, free: 5.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.205e-05/0.5504, allocations: 0 / 0.703 GB, free: 5.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.5504, allocations: 23.94 kB / 0.703 GB, free: 5.406 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00464/0.5551, allocations: 3.079 MB / 0.7061 GB, free: 3.004 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.5563, allocations: 1.115 MB / 0.7071 GB, free: 2.051 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006226/0.5569, allocations: 0.5162 MB / 0.7076 GB, free: 1.773 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.557, allocations: 16.02 kB / 0.7077 GB, free: 1.762 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.5571, allocations: 38.72 kB / 0.7077 GB, free: 1.719 MB / 442.7 MB Notification: Performance of pre-optimization done (n=81): time 1.984e-06/0.5571, allocations: 0 / 0.7077 GB, free: 1.719 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.01149/0.5686, allocations: 3.902 MB / 0.7115 GB, free: 14.31 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.5686, allocations: 60.19 kB / 0.7116 GB, free: 14.24 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007037/0.5693, allocations: 0.6028 MB / 0.7122 GB, free: 13.79 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.96e-05/0.5694, allocations: 29.7 kB / 0.7122 GB, free: 13.75 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.5696, allocations: 435.9 kB / 0.7126 GB, free: 13.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.5699, allocations: 273.2 kB / 0.7129 GB, free: 13.26 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.57, allocations: 0 / 0.7129 GB, free: 13.26 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5701, allocations: 337.6 kB / 0.7132 GB, free: 12.94 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/0.5707, allocations: 385 kB / 0.7135 GB, free: 12.74 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.5713, allocations: 487.8 kB / 0.714 GB, free: 12.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005806/0.5719, allocations: 423.6 kB / 0.7144 GB, free: 12.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5719, allocations: 0 / 0.7144 GB, free: 12.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01159/0.5835, allocations: 3.994 MB / 0.7183 GB, free: 8.723 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.5835, allocations: 4 kB / 0.7183 GB, free: 8.719 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.5835, allocations: 4 kB / 0.7183 GB, free: 8.715 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0051/0.5886, allocations: 1.686 MB / 0.72 GB, free: 7.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/0.5892, allocations: 115.3 kB / 0.7201 GB, free: 7.141 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.6022, allocations: 6.889 MB / 0.7268 GB, free: 2.418 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.6036, allocations: 159.2 kB / 0.727 GB, free: 2.262 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.474e-05/0.6037, allocations: 30.11 kB / 0.727 GB, free: 2.238 MB / 458.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.0003156/0.604, allocations: 120.6 kB / 0.7271 GB, free: 2.117 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01151/0.6155, allocations: 3.91 MB / 0.7309 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002993/0.6158, allocations: 102.8 kB / 0.731 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/0.6277, allocations: 3.996 MB / 0.7349 GB, free: 10.53 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.6278, allocations: 12 kB / 0.7349 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6278, allocations: 3.984 kB / 0.7349 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.6278, allocations: 3.984 kB / 0.7349 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.6424, allocations: 5.406 MB / 0.7402 GB, free: 4.977 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.6424, allocations: 0 / 0.7402 GB, free: 4.977 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/0.6429, allocations: 95.89 kB / 0.7403 GB, free: 4.883 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004858/0.6478, allocations: 1.66 MB / 0.7419 GB, free: 3.219 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.36e-05/0.6478, allocations: 0 / 0.7419 GB, free: 3.219 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/0.6596, allocations: 6.207 MB / 0.748 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.6596, allocations: 0 / 0.748 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/0.6722, allocations: 4.697 MB / 0.7526 GB, free: 8.172 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005446/0.6728, allocations: 187.6 kB / 0.7528 GB, free: 7.969 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.673, allocations: 4 kB / 0.7528 GB, free: 7.965 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009389/0.6739, allocations: 116 kB / 0.7529 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005734/0.6745, allocations: 192.4 kB / 0.7531 GB, free: 7.664 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.21e-05/0.6746, allocations: 24 kB / 0.7531 GB, free: 7.641 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006268/0.6752, allocations: 475.1 kB / 0.7535 GB, free: 7.184 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6752, allocations: 4 kB / 0.7535 GB, free: 7.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001098/0.6763, allocations: 351.5 kB / 0.7539 GB, free: 6.836 MB / 490.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 () * 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.01295/0.6893, allocations: 5.254 MB / 0.759 GB, free: 1.547 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004934/0.6943, allocations: 1.858 MB / 0.7608 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6943, allocations: 3.938 kB / 0.7608 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003926/0.6982, allocations: 1.38 MB / 0.7622 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.6988, allocations: 59.25 kB / 0.7622 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.7015, allocations: 1.267 MB / 0.7635 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006397/0.7022, allocations: 1.052 MB / 0.7645 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002332/0.7024, allocations: 57.05 kB / 0.7645 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/0.7029, allocations: 359.3 kB / 0.7649 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.7029, allocations: 0 / 0.7649 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04953/0.7524, allocations: 24.71 MB / 0.789 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.7527, allocations: 129.1 kB / 0.7891 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.901/3.653, allocations: 0 / 0.7891 GB, free: 2.547 MB / 0.5105 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)