Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_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.001206/0.001206, allocations: 174.1 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.392/1.392, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0007723/0.0007726, allocations: 88.5 kB / 266.6 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07078/0.07078, allocations: 12.18 MB / 326.8 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.2849/0.2849, allocations: 78.02 MB / 455.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.773e-05/3.775e-05, allocations: 11.55 kB / 0.5213 GB, free: 24.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1444, allocations: 69.25 MB / 0.5889 GB, free: 2.945 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4492/0.5936, allocations: 99.96 MB / 0.6866 GB, free: 328 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.5939, allocations: 76.41 kB / 0.6866 GB, free: 288 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06619/0.6601, allocations: 24.98 MB / 0.711 GB, free: 11.15 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6601, allocations: 0 / 0.711 GB, free: 11.15 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.217e-05/0.6602, allocations: 20 kB / 0.711 GB, free: 11.13 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004528/0.6647, allocations: 1.783 MB / 0.7128 GB, free: 9.418 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.6648, allocations: 19.92 kB / 0.7128 GB, free: 9.398 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/0.665, allocations: 125 kB / 0.7129 GB, free: 9.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002998/0.668, allocations: 0.5636 MB / 0.7135 GB, free: 8.797 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.6693, allocations: 0.7319 MB / 0.7142 GB, free: 8.152 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002798/0.6696, allocations: 263.5 kB / 0.7144 GB, free: 7.883 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.6697, allocations: 77.25 kB / 0.7145 GB, free: 7.832 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.6712, allocations: 0.8678 MB / 0.7154 GB, free: 7.273 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.6712, allocations: 4 kB / 0.7154 GB, free: 7.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.083e-05/0.6713, allocations: 33.56 kB / 0.7154 GB, free: 7.262 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.6713, allocations: 19.95 kB / 0.7154 GB, free: 7.242 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.6727, allocations: 0.8585 MB / 0.7163 GB, free: 6.715 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005766/0.6785, allocations: 3.556 MB / 0.7197 GB, free: 3.949 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.6799, allocations: 1.231 MB / 0.7209 GB, free: 2.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007949/0.6807, allocations: 0.5878 MB / 0.7215 GB, free: 2.613 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.6808, allocations: 12.77 kB / 0.7215 GB, free: 2.602 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.6808, allocations: 41.47 kB / 0.7216 GB, free: 2.559 MB / 458.7 MB Notification: Performance of pre-optimization done (n=97): time 3.446e-06/0.6808, allocations: 0 / 0.7216 GB, free: 2.559 MB / 458.7 MB Notification: Performance of matching and sorting (n=97): time 0.01198/0.6928, allocations: 4.08 MB / 0.7255 GB, free: 15.02 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.6929, allocations: 60.19 kB / 0.7256 GB, free: 14.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.694, allocations: 0.7489 MB / 0.7263 GB, free: 14.37 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001819/0.6942, allocations: 40.7 kB / 0.7264 GB, free: 14.33 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.6945, allocations: 0.5092 MB / 0.7269 GB, free: 14.05 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.6948, allocations: 334.6 kB / 0.7272 GB, free: 13.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.6949, allocations: 19.5 kB / 0.7272 GB, free: 13.76 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.695, allocations: 337.8 kB / 0.7275 GB, free: 13.44 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007237/0.6957, allocations: 442.9 kB / 0.7279 GB, free: 13.21 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008025/0.6966, allocations: 0.5407 MB / 0.7285 GB, free: 12.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000783/0.6974, allocations: 481.6 kB / 0.7289 GB, free: 12.58 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6974, allocations: 0 / 0.7289 GB, free: 12.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01247/0.7098, allocations: 4.159 MB / 0.733 GB, free: 8.977 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.7099, allocations: 8 kB / 0.733 GB, free: 8.969 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.7099, allocations: 0 / 0.733 GB, free: 8.969 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005662/0.7156, allocations: 1.73 MB / 0.7347 GB, free: 7.457 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009465/0.7166, allocations: 175.6 kB / 0.7349 GB, free: 7.289 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/0.731, allocations: 7.289 MB / 0.742 GB, free: 1.793 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.7325, allocations: 207.1 kB / 0.7422 GB, free: 1.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/0.7326, allocations: 28 kB / 0.7422 GB, free: 1.562 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.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 (75): * Single equations (assignments): 74 * 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.0002501/0.7329, allocations: 164.2 kB / 0.7424 GB, free: 1.398 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.7331, allocations: 118.5 kB / 0.7425 GB, free: 1.281 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/0.7454, allocations: 4.214 MB / 0.7466 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.7455, allocations: 12 kB / 0.7466 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7455, allocations: 0 / 0.7466 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.7455, allocations: 3.984 kB / 0.7466 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.7597, allocations: 5.831 MB / 0.7523 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.7598, allocations: 0 / 0.7523 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007961/0.7606, allocations: 147.8 kB / 0.7524 GB, free: 6.922 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006399/0.767, allocations: 1.683 MB / 0.7541 GB, free: 5.234 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000179/0.7672, allocations: 20 kB / 0.7541 GB, free: 5.215 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/0.7814, allocations: 6.325 MB / 0.7603 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7815, allocations: 4 kB / 0.7603 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/0.795, allocations: 4.983 MB / 0.7651 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/0.7954, allocations: 203.4 kB / 0.7653 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.7956, allocations: 16 kB / 0.7654 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.7967, allocations: 151.9 kB / 0.7655 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006984/0.7974, allocations: 216.6 kB / 0.7657 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.52e-05/0.7975, allocations: 28 kB / 0.7657 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007548/0.7982, allocations: 0.5822 MB / 0.7663 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7982, allocations: 0 / 0.7663 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001119/0.7994, allocations: 435.4 kB / 0.7667 GB, free: 8.098 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * 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.01389/0.8133, allocations: 5.581 MB / 0.7722 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005268/0.8186, allocations: 2.005 MB / 0.7741 GB, free: 464 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.8186, allocations: 0 / 0.7741 GB, free: 464 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004175/0.8228, allocations: 1.501 MB / 0.7756 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007073/0.8235, allocations: 76.34 kB / 0.7757 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.8268, allocations: 1.647 MB / 0.7773 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/0.8274, allocations: 1.118 MB / 0.7784 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000304/0.8277, allocations: 65.58 kB / 0.7784 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/0.8282, allocations: 439.3 kB / 0.7788 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/0.8282, allocations: 0 / 0.7788 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05122/0.8795, allocations: 29.16 MB / 0.8073 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.8797, allocations: 182.2 kB / 0.8075 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.602, allocations: 3.516 kB / 0.8075 GB, free: 14.26 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)