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.004588/0.004588, allocations: 170 kB / 15.11 MB, free: 5.969 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.297/1.297, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0008222/0.0008223, allocations: 94.8 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09624/0.09624, allocations: 12.21 MB / 330.1 MB, free: 10.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4242/0.4242, allocations: 78.51 MB / 459.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005242/0.0005242, allocations: 22.34 kB / 0.528 GB, free: 35.37 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1477, allocations: 69.24 MB / 0.5956 GB, free: 4.262 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.2962, allocations: 100.1 MB / 0.6933 GB, free: 72 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.3291/0.6254, allocations: 76.92 kB / 0.6934 GB, free: 100.9 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06373/0.6892, allocations: 25.07 MB / 0.7179 GB, free: 92.81 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6892, allocations: 0 / 0.7179 GB, free: 92.81 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.909e-05/0.6893, allocations: 23.41 kB / 0.7179 GB, free: 92.8 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004843/0.6941, allocations: 1.996 MB / 0.7199 GB, free: 91.49 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.6942, allocations: 19.58 kB / 0.7199 GB, free: 91.48 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001816/0.6944, allocations: 137.4 kB / 0.72 GB, free: 91.36 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003063/0.6974, allocations: 0.5685 MB / 0.7206 GB, free: 91.11 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.6988, allocations: 0.7131 MB / 0.7213 GB, free: 90.35 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.6991, allocations: 272.1 kB / 0.7215 GB, free: 90.05 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.6992, allocations: 83.91 kB / 0.7216 GB, free: 89.96 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.7013, allocations: 1.147 MB / 0.7227 GB, free: 88.81 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.7013, allocations: 0 / 0.7227 GB, free: 88.81 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-05/0.7014, allocations: 36 kB / 0.7228 GB, free: 88.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.7015, allocations: 23.95 kB / 0.7228 GB, free: 88.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.7038, allocations: 1.238 MB / 0.724 GB, free: 87.52 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005931/0.7097, allocations: 3.561 MB / 0.7275 GB, free: 83.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.7117, allocations: 1.514 MB / 0.729 GB, free: 82.17 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.58e-05/0.7118, allocations: 20.92 kB / 0.729 GB, free: 82.15 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.7118, allocations: 47.5 kB / 0.729 GB, free: 82.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=97): time 3.386e-06/0.7118, allocations: 0 / 0.729 GB, free: 82.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=97): time 0.02844/0.7403, allocations: 8.458 MB / 0.7373 GB, free: 73.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.7404, allocations: 64.41 kB / 0.7373 GB, free: 73.53 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.7416, allocations: 0.7543 MB / 0.7381 GB, free: 72.76 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003146/0.7419, allocations: 41.7 kB / 0.7381 GB, free: 72.71 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/0.7422, allocations: 0.5049 MB / 0.7386 GB, free: 72.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003409/0.7426, allocations: 339 kB / 0.7389 GB, free: 71.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-05/0.7427, allocations: 20 kB / 0.739 GB, free: 71.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.091e-05/0.7428, allocations: 337.9 kB / 0.7393 GB, free: 71.51 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.7442, allocations: 0.7203 MB / 0.74 GB, free: 70.79 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.7455, allocations: 0.8234 MB / 0.7408 GB, free: 69.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.7469, allocations: 0.7497 MB / 0.7415 GB, free: 69.19 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.747, allocations: 0 / 0.7415 GB, free: 69.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01271/0.7597, allocations: 4.91 MB / 0.7463 GB, free: 64.26 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.7597, allocations: 8 kB / 0.7463 GB, free: 64.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.7598, allocations: 4 kB / 0.7463 GB, free: 64.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005906/0.7657, allocations: 2.112 MB / 0.7484 GB, free: 62.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009484/0.7667, allocations: 175.8 kB / 0.7486 GB, free: 61.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01876/0.7854, allocations: 9.995 MB / 0.7583 GB, free: 51.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.787, allocations: 203.2 kB / 0.7585 GB, free: 51.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.939e-05/0.7871, allocations: 31.98 kB / 0.7585 GB, free: 51.6 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "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 () * Number of clocked 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.0005616/0.7876, allocations: 232 kB / 0.7588 GB, free: 51.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.7878, allocations: 126.4 kB / 0.7589 GB, free: 51.24 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/0.8002, allocations: 4.963 MB / 0.7637 GB, free: 46.26 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.8003, allocations: 8 kB / 0.7637 GB, free: 46.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.8003, allocations: 0 / 0.7637 GB, free: 46.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/0.8003, allocations: 3.984 kB / 0.7637 GB, free: 46.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/0.8147, allocations: 6.582 MB / 0.7702 GB, free: 39.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.8148, allocations: 8 kB / 0.7702 GB, free: 39.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007964/0.8156, allocations: 135.9 kB / 0.7703 GB, free: 39.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005467/0.821, allocations: 2.067 MB / 0.7723 GB, free: 37.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001858/0.8213, allocations: 16 kB / 0.7723 GB, free: 37.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01611/0.8374, allocations: 8.648 MB / 0.7808 GB, free: 28.52 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8374, allocations: 3.953 kB / 0.7808 GB, free: 28.51 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/0.8519, allocations: 6.017 MB / 0.7867 GB, free: 22.47 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005078/0.8524, allocations: 207.4 kB / 0.7869 GB, free: 22.25 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.8526, allocations: 16 kB / 0.7869 GB, free: 22.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.8537, allocations: 151.9 kB / 0.787 GB, free: 22.09 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006995/0.8544, allocations: 216.6 kB / 0.7872 GB, free: 21.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.022e-05/0.8545, allocations: 27.98 kB / 0.7873 GB, free: 21.85 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006915/0.8552, allocations: 0.593 MB / 0.7878 GB, free: 21.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8552, allocations: 4 kB / 0.7878 GB, free: 21.24 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001162/0.8563, allocations: 431.4 kB / 0.7882 GB, free: 20.82 MB / 474.7 MB 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 () * Number of clocked 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.01513/0.8715, allocations: 6.6 MB / 0.7947 GB, free: 14.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007563/0.8791, allocations: 2.598 MB / 0.7972 GB, free: 11.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.8791, allocations: 4 kB / 0.7972 GB, free: 11.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004698/0.8838, allocations: 1.787 MB / 0.799 GB, free: 9.773 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008632/0.8847, allocations: 80.36 kB / 0.7991 GB, free: 9.695 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/0.9079, allocations: 12.66 MB / 0.8114 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007256/0.9087, allocations: 1.118 MB / 0.8125 GB, free: 11.53 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000449/0.9092, allocations: 69.56 kB / 0.8126 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005745/0.9098, allocations: 435.3 kB / 0.813 GB, free: 11.04 MB / 490.7 MB Notification: Performance of SimCode: time 1.333e-06/0.9098, allocations: 0 / 0.813 GB, free: 11.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05374/0.9635, allocations: 29.22 MB / 0.8415 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.9638, allocations: 211.8 kB / 0.8417 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.653/3.617, allocations: 0 / 0.8417 GB, free: 13.74 MB / 0.5105 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)