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.0008851/0.0008851, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.161/1.161, allocations: 223.3 MB / 239.4 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.0008699/0.0008698, allocations: 179.6 kB / 290.6 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3988/0.3988, allocations: 78.55 MB / 420.3 MB, free: 4.191 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003057, allocations: 15.98 kB / 0.4888 GB, free: 5.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1036, allocations: 69.36 MB / 0.5565 GB, free: 428 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.1808/0.2844, allocations: 5.585 MB / 0.5619 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.2866, allocations: 1.755 MB / 0.5637 GB, free: 35.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000282/0.2869, allocations: 14.47 kB / 0.5637 GB, free: 35.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.2872, allocations: 152.8 kB / 0.5638 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.2882, allocations: 0.6003 MB / 0.5644 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007938/0.289, allocations: 0.5217 MB / 0.5649 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007532/0.2898, allocations: 1.163 MB / 0.566 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002735/0.2901, allocations: 235.3 kB / 0.5663 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/0.2904, allocations: 467.2 kB / 0.5667 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.2909, allocations: 0.5772 MB / 0.5673 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.963e-05/0.291, allocations: 47.62 kB / 0.5673 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002761/0.2913, allocations: 176.1 kB / 0.5675 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.2914, allocations: 198.5 kB / 0.5677 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002793/0.2917, allocations: 0.5189 MB / 0.5682 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007846/0.2925, allocations: 1.258 MB / 0.5694 GB, free: 33.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2925, allocations: 0 / 0.5694 GB, free: 33.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2925, allocations: 3.812 kB / 0.5694 GB, free: 33.92 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.2925, allocations: 3.656 kB / 0.5694 GB, free: 33.92 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.006002/0.2985, allocations: 2.173 MB / 0.5715 GB, free: 33.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2985, allocations: 10.59 kB / 0.5716 GB, free: 33.13 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.2987, allocations: 115.4 kB / 0.5717 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004398/0.3031, allocations: 0.7675 MB / 0.5724 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007573/0.3038, allocations: 0.6923 MB / 0.5731 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.3041, allocations: 266.6 kB / 0.5733 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.3042, allocations: 65.88 kB / 0.5734 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.3059, allocations: 1.023 MB / 0.5744 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.306, allocations: 0 / 0.5744 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.467e-05/0.306, allocations: 26.05 kB / 0.5744 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.3061, allocations: 17.47 kB / 0.5744 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.3079, allocations: 1.055 MB / 0.5755 GB, free: 32.37 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.004027/0.3119, allocations: 3.213 MB / 0.5786 GB, free: 31.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.3136, allocations: 1.387 MB / 0.58 GB, free: 30.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.3149, allocations: 0.7733 MB / 0.5807 GB, free: 30.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.39e-05/0.315, allocations: 17.39 kB / 0.5807 GB, free: 30.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.315, allocations: 41.97 kB / 0.5808 GB, free: 30.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 1.973e-06/0.315, allocations: 0 / 0.5808 GB, free: 30.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02609/0.3411, allocations: 8.31 MB / 0.5889 GB, free: 29.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.3412, allocations: 70.19 kB / 0.589 GB, free: 29.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008358/0.342, allocations: 0.7941 MB / 0.5897 GB, free: 28.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.036e-05/0.3421, allocations: 40.33 kB / 0.5898 GB, free: 28.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.3423, allocations: 427.4 kB / 0.5902 GB, free: 28.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.3425, allocations: 291.1 kB / 0.5905 GB, free: 28.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.3426, allocations: 91.17 kB / 0.5906 GB, free: 28.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.606e-05/0.3427, allocations: 347.8 kB / 0.5909 GB, free: 27.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.3441, allocations: 0.7122 MB / 0.5916 GB, free: 27.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.3456, allocations: 0.8358 MB / 0.5924 GB, free: 27.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01697/0.3626, allocations: 4.944 MB / 0.5972 GB, free: 25.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.3626, allocations: 1.375 kB / 0.5972 GB, free: 25.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01369/0.3763, allocations: 4.95 MB / 0.6021 GB, free: 24.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3763, allocations: 6.406 kB / 0.6021 GB, free: 24.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3763, allocations: 2.062 kB / 0.6021 GB, free: 24.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006313/0.3827, allocations: 2.174 MB / 0.6042 GB, free: 24.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007383/0.3834, allocations: 166.5 kB / 0.6044 GB, free: 24.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02131/0.4047, allocations: 9.362 MB / 0.6135 GB, free: 18.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.4064, allocations: 194.1 kB / 0.6137 GB, free: 18.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.4066, allocations: 32 kB / 0.6137 GB, free: 18.76 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0005227/0.4071, allocations: 230 kB / 0.6139 GB, free: 18.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.4073, allocations: 102.7 kB / 0.614 GB, free: 18.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01473/0.4221, allocations: 4.735 MB / 0.6186 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.4221, allocations: 8 kB / 0.6187 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.4221, allocations: 0 / 0.6187 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.4221, allocations: 3.984 kB / 0.6187 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.4351, allocations: 6.238 MB / 0.6248 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4351, allocations: 0 / 0.6248 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/0.4356, allocations: 95.89 kB / 0.6248 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005363/0.4409, allocations: 2.048 MB / 0.6268 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.52e-05/0.441, allocations: 16 kB / 0.6269 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01605/0.4571, allocations: 8.232 MB / 0.6349 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4571, allocations: 3.984 kB / 0.6349 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01502/0.4721, allocations: 5.681 MB / 0.6405 GB, free: 7.039 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.4724, allocations: 187.7 kB / 0.6406 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.4726, allocations: 12.06 kB / 0.6406 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009206/0.4735, allocations: 127.9 kB / 0.6408 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005174/0.474, allocations: 199.1 kB / 0.641 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/0.4741, allocations: 20 kB / 0.641 GB, free: 6.488 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006008/0.4747, allocations: 0.5341 MB / 0.6415 GB, free: 5.957 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4747, allocations: 0 / 0.6415 GB, free: 5.957 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001073/0.4758, allocations: 403.5 kB / 0.6419 GB, free: 5.562 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01546/0.4912, allocations: 6.241 MB / 0.648 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006381/0.4976, allocations: 2.562 MB / 0.6505 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4977, allocations: 0 / 0.6505 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004513/0.5022, allocations: 1.69 MB / 0.6521 GB, free: 11.01 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007107/0.5029, allocations: 80.19 kB / 0.6522 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03601/0.5389, allocations: 16.64 MB / 0.6685 GB, free: 10 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.5395, allocations: 1.033 MB / 0.6695 GB, free: 8.938 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002928/0.5398, allocations: 78.27 kB / 0.6695 GB, free: 8.863 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004374/0.5402, allocations: 371.3 kB / 0.6699 GB, free: 8.5 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5402, allocations: 0 / 0.6699 GB, free: 8.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04207/0.5823, allocations: 27.32 MB / 0.6966 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.5825, allocations: 210.8 kB / 0.6968 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/2.751, allocations: 0 / 0.6968 GB, free: 13.28 MB / 0.4981 GB (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/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)