Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",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.0008265/0.0008262, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.428/1.428, allocations: 223.3 MB / 239.4 MB, free: 5.508 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.001313/0.001313, allocations: 180.5 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5416/0.5416, allocations: 91.92 MB / 433.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.0004148, allocations: 12.23 kB / 0.5049 GB, free: 7.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3916, allocations: 72.46 MB / 0.5756 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.00465/0.3963, allocations: 6.32 MB / 0.5818 GB, free: 32.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003472/0.3998, allocations: 1.913 MB / 0.5837 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008108/0.4006, allocations: 15.56 kB / 0.5837 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.4011, allocations: 162.8 kB / 0.5838 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.4027, allocations: 0.6332 MB / 0.5845 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.4038, allocations: 0.5657 MB / 0.585 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.4051, allocations: 1.357 MB / 0.5863 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004338/0.4055, allocations: 287.5 kB / 0.5866 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006055/0.4061, allocations: 0.5176 MB / 0.5871 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006092/0.4067, allocations: 0.6595 MB / 0.5878 GB, free: 29.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.4069, allocations: 55.5 kB / 0.5878 GB, free: 29.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004144/0.4073, allocations: 177.1 kB / 0.588 GB, free: 29.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.4075, allocations: 232 kB / 0.5882 GB, free: 28.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.4079, allocations: 0.5854 MB / 0.5888 GB, free: 28.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.409, allocations: 1.429 MB / 0.5902 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.409, allocations: 1.031 kB / 0.5902 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.409, allocations: 4 kB / 0.5902 GB, free: 28.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.409, allocations: 0 / 0.5902 GB, free: 28.03 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007518/0.4165, allocations: 2.388 MB / 0.5925 GB, free: 26.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4166, allocations: 11.47 kB / 0.5925 GB, free: 26.99 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002215/0.4168, allocations: 134.1 kB / 0.5927 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004983/0.4218, allocations: 0.78 MB / 0.5934 GB, free: 26.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.423, allocations: 0.7739 MB / 0.5942 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002847/0.4233, allocations: 271.5 kB / 0.5944 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.4235, allocations: 76.09 kB / 0.5945 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/0.426, allocations: 1.174 MB / 0.5956 GB, free: 25.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.426, allocations: 7.266 kB / 0.5957 GB, free: 25.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.604e-05/0.4261, allocations: 29.97 kB / 0.5957 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.4261, allocations: 18.44 kB / 0.5957 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002895/0.429, allocations: 1.246 MB / 0.5969 GB, free: 25.14 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.006157/0.4352, allocations: 3.525 MB / 0.6004 GB, free: 23.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.4376, allocations: 1.522 MB / 0.6018 GB, free: 22.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001896/0.4395, allocations: 0.8751 MB / 0.6027 GB, free: 21.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.4397, allocations: 10.38 kB / 0.6027 GB, free: 21.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.4397, allocations: 44.98 kB / 0.6028 GB, free: 21.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.585e-06/0.4397, allocations: 0 / 0.6028 GB, free: 21.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.03065/0.4704, allocations: 8.212 MB / 0.6108 GB, free: 20.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.4705, allocations: 61.94 kB / 0.6108 GB, free: 20.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.4721, allocations: 0.8979 MB / 0.6117 GB, free: 19.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003267/0.4725, allocations: 45.7 kB / 0.6118 GB, free: 19.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/0.4729, allocations: 497.4 kB / 0.6122 GB, free: 19.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003961/0.4733, allocations: 351.2 kB / 0.6126 GB, free: 19.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.4735, allocations: 103.7 kB / 0.6127 GB, free: 19.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4736, allocations: 357.8 kB / 0.613 GB, free: 18.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002005/0.4756, allocations: 0.8145 MB / 0.6138 GB, free: 18.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.4777, allocations: 0.9377 MB / 0.6147 GB, free: 18.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02047/0.4982, allocations: 5.399 MB / 0.62 GB, free: 15.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.4982, allocations: 0 / 0.62 GB, free: 15.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01423/0.5125, allocations: 5.222 MB / 0.6251 GB, free: 10.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.5125, allocations: 7.938 kB / 0.6251 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.5126, allocations: 7.984 kB / 0.6251 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006363/0.5189, allocations: 2.112 MB / 0.6272 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.5201, allocations: 219.7 kB / 0.6274 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02096/0.541, allocations: 9.562 MB / 0.6367 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.5429, allocations: 223 kB / 0.6369 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.543, allocations: 39.98 kB / 0.637 GB, free: 14.26 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.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 (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005821/0.5436, allocations: 252.5 kB / 0.6372 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.5439, allocations: 118.5 kB / 0.6373 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01551/0.5594, allocations: 4.955 MB / 0.6422 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/0.5595, allocations: 8 kB / 0.6422 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.5595, allocations: 11.88 kB / 0.6422 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.118e-05/0.5595, allocations: 3.984 kB / 0.6422 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/0.5776, allocations: 6.563 MB / 0.6486 GB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/0.5776, allocations: 4 kB / 0.6486 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008408/0.5785, allocations: 151.8 kB / 0.6487 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006737/0.5852, allocations: 2.053 MB / 0.6507 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/0.5855, allocations: 16 kB / 0.6508 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01973/0.6052, allocations: 8.225 MB / 0.6588 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.6053, allocations: 0 / 0.6588 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01816/0.6234, allocations: 5.993 MB / 0.6646 GB, free: 1.582 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006274/0.6241, allocations: 215.3 kB / 0.6648 GB, free: 1.352 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.6243, allocations: 16 kB / 0.6649 GB, free: 1.336 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.6255, allocations: 159.9 kB / 0.665 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000764/0.6263, allocations: 216.6 kB / 0.6652 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.345e-05/0.6264, allocations: 24 kB / 0.6652 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000913/0.6273, allocations: 0.6008 MB / 0.6658 GB, free: 340 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6273, allocations: 0 / 0.6658 GB, free: 340 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.001545/0.6289, allocations: 439.5 kB / 0.6662 GB, free: 15.9 MB / 478.1 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 (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.01784/0.6467, allocations: 6.58 MB / 0.6727 GB, free: 9.285 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007615/0.6544, allocations: 2.799 MB / 0.6754 GB, free: 6.469 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.6544, allocations: 0 / 0.6754 GB, free: 6.469 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005322/0.6598, allocations: 1.804 MB / 0.6772 GB, free: 4.652 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009227/0.6607, allocations: 90.39 kB / 0.6773 GB, free: 4.566 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04459/0.7053, allocations: 18.36 MB / 0.6952 GB, free: 1.809 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006643/0.706, allocations: 1.103 MB / 0.6963 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005144/0.7066, allocations: 86.77 kB / 0.6963 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005525/0.7071, allocations: 439.3 kB / 0.6968 GB, free: 164 kB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/0.7071, allocations: 4 kB / 0.6968 GB, free: 160 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05163/0.7588, allocations: 30.11 MB / 0.7262 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.759, allocations: 232.2 kB / 0.7264 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.755/3.514, allocations: 0 / 0.7264 GB, free: 2.012 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)