Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 175.2 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.351/1.351, allocations: 221.4 MB / 234.6 MB, free: 14.42 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.0008472/0.0008475, allocations: 91.97 kB / 285.6 MB, free: 13.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4805/0.4805, allocations: 78.02 MB / 414.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.575e-05/2.577e-05, allocations: 4 kB / 491.9 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3219, allocations: 69.35 MB / 0.5481 GB, free: 20.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1206/0.4425, allocations: 98.46 MB / 0.6442 GB, free: 1.98 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001839/0.4428, allocations: 83.95 kB / 0.6443 GB, free: 1.898 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06721/0.51, allocations: 25.75 MB / 0.6694 GB, free: 7.961 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.51, allocations: 0 / 0.6694 GB, free: 7.961 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.63e-05/0.5101, allocations: 20 kB / 0.6694 GB, free: 7.941 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.0046/0.5147, allocations: 1.781 MB / 0.6712 GB, free: 6.109 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.5148, allocations: 15.97 kB / 0.6712 GB, free: 6.094 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002558/0.515, allocations: 122.8 kB / 0.6713 GB, free: 5.965 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/0.5182, allocations: 0.5681 MB / 0.6719 GB, free: 5.395 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.5198, allocations: 0.7285 MB / 0.6726 GB, free: 4.613 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002871/0.5201, allocations: 268.2 kB / 0.6728 GB, free: 4.312 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.5203, allocations: 76 kB / 0.6729 GB, free: 4.238 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.5219, allocations: 0.8665 MB / 0.6738 GB, free: 3.363 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.5219, allocations: 0 / 0.6738 GB, free: 3.363 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.415e-05/0.522, allocations: 32 kB / 0.6738 GB, free: 3.332 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.522, allocations: 23.94 kB / 0.6738 GB, free: 3.309 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.5235, allocations: 0.8553 MB / 0.6746 GB, free: 2.457 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3172/0.8407, allocations: 3.561 MB / 0.6781 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.8422, allocations: 1.22 MB / 0.6793 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009419/0.8432, allocations: 0.5865 MB / 0.6799 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.8433, allocations: 13.66 kB / 0.6799 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.8433, allocations: 48.69 kB / 0.6799 GB, free: 103.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.677e-06/0.8434, allocations: 3.891 kB / 0.68 GB, free: 103.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01428/0.8576, allocations: 4.072 MB / 0.6839 GB, free: 103.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.8577, allocations: 64.72 kB / 0.684 GB, free: 103.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.859, allocations: 0.7456 MB / 0.6847 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002544/0.8593, allocations: 41.42 kB / 0.6848 GB, free: 103 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.8596, allocations: 0.5085 MB / 0.6853 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.8599, allocations: 338.7 kB / 0.6856 GB, free: 102.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.566e-05/0.86, allocations: 16.72 kB / 0.6856 GB, free: 102.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.488e-05/0.86, allocations: 340.1 kB / 0.6859 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007362/0.8608, allocations: 446.2 kB / 0.6863 GB, free: 102.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006942/0.8615, allocations: 0.5373 MB / 0.6869 GB, free: 102.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000694/0.8622, allocations: 483.2 kB / 0.6873 GB, free: 102.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.8622, allocations: 0 / 0.6873 GB, free: 102.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01198/0.8742, allocations: 4.165 MB / 0.6914 GB, free: 102 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.8743, allocations: 7.969 kB / 0.6914 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.8743, allocations: 3.812 kB / 0.6914 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005413/0.8797, allocations: 1.732 MB / 0.6931 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009683/0.8807, allocations: 172 kB / 0.6933 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/0.8955, allocations: 7.28 MB / 0.7004 GB, free: 97.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.897, allocations: 208.2 kB / 0.7006 GB, free: 97.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.963e-05/0.8971, allocations: 25.28 kB / 0.7006 GB, free: 97.8 MB / 490.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.0002519/0.8974, allocations: 159.5 kB / 0.7007 GB, free: 97.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.8976, allocations: 119.4 kB / 0.7009 GB, free: 97.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/0.909, allocations: 4.22 MB / 0.705 GB, free: 96.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.9091, allocations: 7.438 kB / 0.705 GB, free: 96.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9091, allocations: 3.531 kB / 0.705 GB, free: 96.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.754e-05/0.9091, allocations: 7.312 kB / 0.705 GB, free: 96.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/0.9221, allocations: 5.829 MB / 0.7107 GB, free: 92.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.9221, allocations: 4 kB / 0.7107 GB, free: 92.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007353/0.9229, allocations: 141.6 kB / 0.7108 GB, free: 92.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004592/0.9275, allocations: 1.68 MB / 0.7125 GB, free: 91.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/0.9276, allocations: 19.7 kB / 0.7125 GB, free: 91.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/0.9383, allocations: 6.333 MB / 0.7187 GB, free: 85.31 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9383, allocations: 0 / 0.7187 GB, free: 85.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/0.9506, allocations: 4.988 MB / 0.7235 GB, free: 81.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004306/0.951, allocations: 205.2 kB / 0.7237 GB, free: 80.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.9512, allocations: 16 kB / 0.7238 GB, free: 80.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.9522, allocations: 159 kB / 0.7239 GB, free: 80.83 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006523/0.9529, allocations: 214.2 kB / 0.7241 GB, free: 80.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.055e-05/0.953, allocations: 27.78 kB / 0.7241 GB, free: 80.69 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006329/0.9536, allocations: 0.5855 MB / 0.7247 GB, free: 80.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9536, allocations: 0 / 0.7247 GB, free: 80.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001094/0.9547, allocations: 423.1 kB / 0.7251 GB, free: 79.73 MB / 490.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 () * 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.01249/0.9672, allocations: 5.581 MB / 0.7306 GB, free: 74.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00474/0.972, allocations: 2.021 MB / 0.7325 GB, free: 72.51 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.9721, allocations: 0 / 0.7325 GB, free: 72.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003799/0.9759, allocations: 1.486 MB / 0.734 GB, free: 71.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007019/0.9766, allocations: 76.42 kB / 0.7341 GB, free: 70.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.9798, allocations: 1.654 MB / 0.7357 GB, free: 69.26 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.9802, allocations: 1.122 MB / 0.7368 GB, free: 68.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003095/0.9806, allocations: 68.86 kB / 0.7368 GB, free: 68.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004442/0.981, allocations: 431.3 kB / 0.7373 GB, free: 67.62 MB / 490.7 MB Notification: Performance of SimCode: time 1.573e-06/0.981, allocations: 0 / 0.7373 GB, free: 67.62 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04513/1.026, allocations: 29.17 MB / 0.7657 GB, free: 38.96 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/1.026, allocations: 176.3 kB / 0.7659 GB, free: 38.74 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.792/3.818, allocations: 0 / 0.7659 GB, free: 38.74 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)