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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 91.38 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.2 MB / 239 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 171.7 kB / 290.3 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4435/0.4435, allocations: 78.55 MB / 419.9 MB, free: 4.305 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003982, allocations: 12 kB / 499.9 MB, free: 6.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 69.36 MB / 0.5559 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.2502/0.3837, allocations: 5.246 MB / 0.561 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003718/0.3875, allocations: 1.658 MB / 0.5626 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005764/0.3881, allocations: 12.78 kB / 0.5626 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003963/0.3885, allocations: 139.8 kB / 0.5628 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.39, allocations: 0.5661 MB / 0.5633 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.3911, allocations: 484.7 kB / 0.5638 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.3922, allocations: 1.112 MB / 0.5649 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.3925, allocations: 214.2 kB / 0.5651 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004902/0.393, allocations: 456.2 kB / 0.5655 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005498/0.3936, allocations: 0.557 MB / 0.5661 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.958e-05/0.3937, allocations: 48.75 kB / 0.5661 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003895/0.3941, allocations: 173.2 kB / 0.5663 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.3942, allocations: 186 kB / 0.5665 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.3944, allocations: 197 kB / 0.5666 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007451/0.3951, allocations: 0.9868 MB / 0.5676 GB, free: 36.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3951, allocations: 0 / 0.5676 GB, free: 36.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3951, allocations: 0.875 kB / 0.5676 GB, free: 36.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.3952, allocations: 3.5 kB / 0.5676 GB, free: 36.11 MB / 430.1 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.006116/0.4013, allocations: 2.182 MB / 0.5697 GB, free: 35.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4013, allocations: 14.53 kB / 0.5698 GB, free: 35.33 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002017/0.4016, allocations: 109.6 kB / 0.5699 GB, free: 35.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004505/0.4061, allocations: 0.7677 MB / 0.5706 GB, free: 35.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.4071, allocations: 0.6591 MB / 0.5713 GB, free: 34.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.4073, allocations: 266 kB / 0.5715 GB, free: 34.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.4074, allocations: 67.34 kB / 0.5716 GB, free: 34.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.4093, allocations: 1.008 MB / 0.5726 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.4094, allocations: 0 / 0.5726 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.225e-05/0.4094, allocations: 29.94 kB / 0.5726 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.4095, allocations: 21.11 kB / 0.5726 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.4114, allocations: 1.049 MB / 0.5736 GB, free: 34.62 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0048/0.4162, allocations: 3.221 MB / 0.5768 GB, free: 33.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/0.4182, allocations: 1.376 MB / 0.5781 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.4194, allocations: 0.7701 MB / 0.5789 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.4195, allocations: 24.56 kB / 0.5789 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.4196, allocations: 41.33 kB / 0.5789 GB, free: 31.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 3.026e-06/0.4196, allocations: 0 / 0.5789 GB, free: 31.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02461/0.4442, allocations: 8.275 MB / 0.587 GB, free: 30.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.4443, allocations: 59.75 kB / 0.5871 GB, free: 30.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.4454, allocations: 0.781 MB / 0.5878 GB, free: 30.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002093/0.4457, allocations: 40.39 kB / 0.5879 GB, free: 30.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.446, allocations: 438.5 kB / 0.5883 GB, free: 29.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/0.4463, allocations: 286.2 kB / 0.5886 GB, free: 29.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.4463, allocations: 19.19 kB / 0.5886 GB, free: 29.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.4464, allocations: 351.1 kB / 0.5889 GB, free: 29.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.4478, allocations: 0.7068 MB / 0.5896 GB, free: 29.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.4494, allocations: 0.8302 MB / 0.5904 GB, free: 28.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.4509, allocations: 0.7651 MB / 0.5912 GB, free: 28.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.4509, allocations: 1.25 kB / 0.5912 GB, free: 28.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01372/0.4646, allocations: 4.924 MB / 0.596 GB, free: 27.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.4647, allocations: 10.12 kB / 0.596 GB, free: 27.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.4647, allocations: 2.531 kB / 0.596 GB, free: 27.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006736/0.4714, allocations: 2.163 MB / 0.5981 GB, free: 27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009242/0.4724, allocations: 171 kB / 0.5983 GB, free: 26.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02362/0.496, allocations: 9.357 MB / 0.6074 GB, free: 22.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/0.498, allocations: 188.1 kB / 0.6076 GB, free: 22.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003937/0.4985, allocations: 36.91 kB / 0.6076 GB, free: 22.86 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.delta0 unit = "rad" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.001117/0.4996, allocations: 225.2 kB / 0.6078 GB, free: 22.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006675/0.5003, allocations: 103.8 kB / 0.6079 GB, free: 22.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/0.5147, allocations: 4.721 MB / 0.6125 GB, free: 19.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.5148, allocations: 8 kB / 0.6125 GB, free: 19.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5148, allocations: 4 kB / 0.6126 GB, free: 19.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/0.5149, allocations: 3.984 kB / 0.6126 GB, free: 19.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/0.5284, allocations: 6.239 MB / 0.6186 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/0.5285, allocations: 1.312 kB / 0.6186 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000544/0.529, allocations: 91.89 kB / 0.6187 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005295/0.5343, allocations: 2.048 MB / 0.6207 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/0.5345, allocations: 16 kB / 0.6208 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01602/0.5506, allocations: 8.23 MB / 0.6288 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.5506, allocations: 0 / 0.6288 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/0.5646, allocations: 5.653 MB / 0.6343 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004136/0.5651, allocations: 195.6 kB / 0.6345 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/0.5654, allocations: 19.95 kB / 0.6345 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.5665, allocations: 128 kB / 0.6346 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006898/0.5672, allocations: 196.6 kB / 0.6348 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.5673, allocations: 21.12 kB / 0.6348 GB, free: 12.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007807/0.5681, allocations: 0.5185 MB / 0.6354 GB, free: 12.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5681, allocations: 0 / 0.6354 GB, free: 12.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001747/0.5699, allocations: 403.5 kB / 0.6357 GB, free: 11.8 MB / 446.1 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 () * Number of clocked 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.01504/0.585, allocations: 6.239 MB / 0.6418 GB, free: 5.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007045/0.5921, allocations: 2.558 MB / 0.6443 GB, free: 2.945 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.5921, allocations: 0 / 0.6443 GB, free: 2.945 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004648/0.5968, allocations: 1.681 MB / 0.646 GB, free: 1.262 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.5979, allocations: 83.25 kB / 0.646 GB, free: 1.184 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02305/0.621, allocations: 10.24 MB / 0.6561 GB, free: 6.703 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006954/0.6217, allocations: 1.025 MB / 0.6571 GB, free: 5.652 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004195/0.6222, allocations: 79.88 kB / 0.6571 GB, free: 5.574 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005976/0.6228, allocations: 375.3 kB / 0.6575 GB, free: 5.207 MB / 462.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6228, allocations: 4 kB / 0.6575 GB, free: 5.203 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05409/0.6769, allocations: 27.13 MB / 0.684 GB, free: 10.43 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/0.6771, allocations: 198.4 kB / 0.6842 GB, free: 10.19 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.081, allocations: 3.938 kB / 0.6842 GB, free: 10.19 MB / 494.1 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) Environment - environmentSimulation: