Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000939/0.0009391, allocations: 173.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 221.4 MB / 234.6 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000777/0.000777, allocations: 95.86 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4343/0.4343, allocations: 78.03 MB / 414.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.301e-05, allocations: 4 kB / 491.9 MB, free: 13.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3269, allocations: 69.35 MB / 0.5481 GB, free: 20.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.4496, allocations: 96.76 MB / 0.6425 GB, free: 3.621 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.4499, allocations: 75.95 kB / 0.6426 GB, free: 3.547 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05953/0.5094, allocations: 22.93 MB / 0.665 GB, free: 12.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5095, allocations: 0 / 0.665 GB, free: 12.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.815e-05/0.5095, allocations: 23.94 kB / 0.665 GB, free: 12.42 MB / 490.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.004155/0.5137, allocations: 1.589 MB / 0.6666 GB, free: 10.78 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.5138, allocations: 11.97 kB / 0.6666 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/0.514, allocations: 114.5 kB / 0.6667 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003112/0.5171, allocations: 0.5371 MB / 0.6672 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.5184, allocations: 0.6641 MB / 0.6679 GB, free: 9.402 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002882/0.5187, allocations: 255.4 kB / 0.6681 GB, free: 9.117 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.5188, allocations: 67.95 kB / 0.6682 GB, free: 9.051 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.5203, allocations: 0.7796 MB / 0.669 GB, free: 8.262 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.5203, allocations: 0 / 0.669 GB, free: 8.262 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.129e-05/0.5204, allocations: 24 kB / 0.669 GB, free: 8.238 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.5204, allocations: 19.98 kB / 0.669 GB, free: 8.219 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.5218, allocations: 0.7745 MB / 0.6697 GB, free: 7.445 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005263/0.527, allocations: 3.19 MB / 0.6729 GB, free: 4.098 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.5285, allocations: 1.143 MB / 0.674 GB, free: 2.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007785/0.5293, allocations: 0.531 MB / 0.6745 GB, free: 2.301 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.5294, allocations: 16.77 kB / 0.6745 GB, free: 2.281 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.5294, allocations: 43.34 kB / 0.6746 GB, free: 2.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=81): time 3.025e-06/0.5295, allocations: 0 / 0.6746 GB, free: 2.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.3158/0.8452, allocations: 3.954 MB / 0.6784 GB, free: 106.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.8453, allocations: 65.53 kB / 0.6785 GB, free: 106.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.8464, allocations: 0.6566 MB / 0.6791 GB, free: 106.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.8466, allocations: 38.56 kB / 0.6792 GB, free: 106.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.8468, allocations: 432.4 kB / 0.6796 GB, free: 106.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/0.8471, allocations: 285.7 kB / 0.6798 GB, free: 106.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/0.8472, allocations: 15.16 kB / 0.6799 GB, free: 106.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.8472, allocations: 336.5 kB / 0.6802 GB, free: 106.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006874/0.8479, allocations: 400.8 kB / 0.6806 GB, free: 106.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007818/0.8487, allocations: 0.4932 MB / 0.681 GB, free: 106.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007364/0.8495, allocations: 440.6 kB / 0.6815 GB, free: 106.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.8495, allocations: 2.906 kB / 0.6815 GB, free: 106.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01256/0.8621, allocations: 4.073 MB / 0.6854 GB, free: 105.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.8621, allocations: 3.406 kB / 0.6854 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.8621, allocations: 8.625 kB / 0.6855 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005159/0.8673, allocations: 1.807 MB / 0.6872 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/0.8679, allocations: 116.7 kB / 0.6873 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/0.881, allocations: 7.095 MB / 0.6943 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.8822, allocations: 177 kB / 0.6944 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.8824, allocations: 30.2 kB / 0.6945 GB, free: 103.2 MB / 490.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.0002365/0.8826, allocations: 143.4 kB / 0.6946 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.8828, allocations: 99.47 kB / 0.6947 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/0.894, allocations: 4.092 MB / 0.6987 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.894, allocations: 10.38 kB / 0.6987 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.8941, allocations: 0 / 0.6987 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/0.8941, allocations: 2.766 kB / 0.6987 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01282/0.9069, allocations: 5.559 MB / 0.7041 GB, free: 99.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.907, allocations: 0 / 0.7041 GB, free: 99.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004676/0.9074, allocations: 93.06 kB / 0.7042 GB, free: 99.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00471/0.9121, allocations: 1.676 MB / 0.7059 GB, free: 98.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.9123, allocations: 20 kB / 0.7059 GB, free: 98.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/0.9239, allocations: 6.344 MB / 0.7121 GB, free: 92.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.9239, allocations: 0 / 0.7121 GB, free: 92.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/0.9359, allocations: 4.76 MB / 0.7167 GB, free: 88.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004413/0.9364, allocations: 185.2 kB / 0.7169 GB, free: 88.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/0.9367, allocations: 16 kB / 0.7169 GB, free: 88.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.9378, allocations: 126 kB / 0.717 GB, free: 88.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006156/0.9385, allocations: 203.8 kB / 0.7172 GB, free: 88.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.715e-05/0.9386, allocations: 16 kB / 0.7172 GB, free: 88.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006821/0.9392, allocations: 0.5137 MB / 0.7177 GB, free: 87.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.9392, allocations: 0 / 0.7177 GB, free: 87.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001258/0.9405, allocations: 395.3 kB / 0.7181 GB, free: 87.38 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.01223/0.9528, allocations: 5.343 MB / 0.7233 GB, free: 82.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004774/0.9576, allocations: 1.915 MB / 0.7252 GB, free: 80.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.9576, allocations: 0.5625 kB / 0.7252 GB, free: 80.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003828/0.9614, allocations: 1.425 MB / 0.7266 GB, free: 79.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007096/0.9622, allocations: 71.3 kB / 0.7267 GB, free: 79.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.965, allocations: 1.32 MB / 0.728 GB, free: 77.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.9654, allocations: 1.048 MB / 0.729 GB, free: 76.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000265/0.9657, allocations: 57.16 kB / 0.729 GB, free: 76.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/0.9661, allocations: 363.2 kB / 0.7294 GB, free: 76.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.132e-06/0.9661, allocations: 0 / 0.7294 GB, free: 76.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04379/1.01, allocations: 26.44 MB / 0.7552 GB, free: 50.52 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/1.01, allocations: 169.8 kB / 0.7554 GB, free: 50.29 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/3.546, allocations: 3.938 kB / 0.7554 GB, free: 50.29 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)