Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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 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_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_release_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.001334/0.001339, allocations: 176.3 kB / 15.45 MB, free: 6.227 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.431/1.431, allocations: 223.3 MB / 239.5 MB, free: 1.602 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007446/0.0007448, allocations: 101.2 kB / 290.6 MB, free: 13.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5006/0.5006, allocations: 78.62 MB / 420.4 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004132/0.0004133, allocations: 8 kB / 0.4889 GB, free: 2.406 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4188, allocations: 69.34 MB / 0.5566 GB, free: 39.02 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006737/0.4256, allocations: 6.302 MB / 0.5627 GB, free: 36.26 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005026/0.4307, allocations: 1.895 MB / 0.5646 GB, free: 35.47 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009306/0.4317, allocations: 16 kB / 0.5646 GB, free: 35.47 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006332/0.4323, allocations: 172.8 kB / 0.5648 GB, free: 35.41 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002105/0.4344, allocations: 0.6248 MB / 0.5654 GB, free: 35.1 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.4364, allocations: 0.5677 MB / 0.5659 GB, free: 35 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002168/0.4386, allocations: 1.353 MB / 0.5673 GB, free: 34.46 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005943/0.4392, allocations: 290.4 kB / 0.5675 GB, free: 34.32 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000898/0.4401, allocations: 0.5186 MB / 0.568 GB, free: 34.08 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008979/0.441, allocations: 0.664 MB / 0.5687 GB, free: 33.77 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.4411, allocations: 57.23 kB / 0.5687 GB, free: 33.77 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005809/0.4417, allocations: 179.2 kB / 0.5689 GB, free: 33.73 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.442, allocations: 226.9 kB / 0.5691 GB, free: 33.59 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005664/0.4426, allocations: 0.5952 MB / 0.5697 GB, free: 33.19 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.444, allocations: 1.426 MB / 0.5711 GB, free: 32.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.444, allocations: 0 / 0.5711 GB, free: 32.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.444, allocations: 2.625 kB / 0.5711 GB, free: 32.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.444, allocations: 0 / 0.5711 GB, free: 32.63 MB / 426.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.008995/0.453, allocations: 2.396 MB / 0.5735 GB, free: 31.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.4531, allocations: 9.344 kB / 0.5735 GB, free: 31.58 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002374/0.4533, allocations: 128.8 kB / 0.5736 GB, free: 31.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006652/0.46, allocations: 0.7883 MB / 0.5744 GB, free: 31.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.4614, allocations: 0.7697 MB / 0.5751 GB, free: 30.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000303/0.4617, allocations: 261.7 kB / 0.5754 GB, free: 30.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.4619, allocations: 85.28 kB / 0.5754 GB, free: 30.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003114/0.4651, allocations: 1.171 MB / 0.5766 GB, free: 30.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.4651, allocations: 0 / 0.5766 GB, free: 30.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.4652, allocations: 32.88 kB / 0.5766 GB, free: 30.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.4653, allocations: 17.56 kB / 0.5766 GB, free: 30.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/0.4686, allocations: 1.245 MB / 0.5778 GB, free: 29.75 MB / 426.7 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.00707/0.4757, allocations: 3.522 MB / 0.5813 GB, free: 27.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/0.4784, allocations: 1.522 MB / 0.5828 GB, free: 26.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002155/0.4805, allocations: 0.8757 MB / 0.5836 GB, free: 26.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.4807, allocations: 16.31 kB / 0.5836 GB, free: 26.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.4807, allocations: 42.31 kB / 0.5837 GB, free: 26.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 3.356e-06/0.4807, allocations: 0 / 0.5837 GB, free: 26.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.02571/0.5065, allocations: 8.204 MB / 0.5917 GB, free: 25.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.5065, allocations: 65 kB / 0.5918 GB, free: 24.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.5078, allocations: 0.9061 MB / 0.5926 GB, free: 24.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.508, allocations: 45.77 kB / 0.5927 GB, free: 24.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.5083, allocations: 0.4943 MB / 0.5932 GB, free: 24.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003023/0.5086, allocations: 351 kB / 0.5935 GB, free: 23.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.5088, allocations: 103.1 kB / 0.5936 GB, free: 23.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.859e-05/0.5089, allocations: 349.7 kB / 0.5939 GB, free: 23.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.5105, allocations: 0.8132 MB / 0.5947 GB, free: 23.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.5122, allocations: 0.9446 MB / 0.5956 GB, free: 22.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01774/0.5299, allocations: 5.392 MB / 0.6009 GB, free: 21.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-05/0.53, allocations: 1.156 kB / 0.6009 GB, free: 21.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01652/0.5465, allocations: 5.207 MB / 0.606 GB, free: 20.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.5466, allocations: 10.56 kB / 0.606 GB, free: 20.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.5466, allocations: 7.438 kB / 0.606 GB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007012/0.5536, allocations: 2.115 MB / 0.6081 GB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.5548, allocations: 227.3 kB / 0.6083 GB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.021/0.5758, allocations: 9.568 MB / 0.6176 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.5776, allocations: 215 kB / 0.6178 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/0.5779, allocations: 47.98 kB / 0.6179 GB, free: 10.89 MB / 426.7 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.001007/0.5789, allocations: 253.1 kB / 0.6181 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004923/0.5794, allocations: 126.4 kB / 0.6183 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/0.5923, allocations: 4.952 MB / 0.6231 GB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.5923, allocations: 8 kB / 0.6231 GB, free: 5.539 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5923, allocations: 3.938 kB / 0.6231 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.5924, allocations: 7.969 kB / 0.6231 GB, free: 5.527 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/0.6082, allocations: 6.566 MB / 0.6295 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/0.6082, allocations: 0 / 0.6295 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.6094, allocations: 139.9 kB / 0.6297 GB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008662/0.6181, allocations: 2.061 MB / 0.6317 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002829/0.6184, allocations: 23.92 kB / 0.6317 GB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02508/0.6435, allocations: 8.218 MB / 0.6397 GB, free: 4.238 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.6436, allocations: 0 / 0.6397 GB, free: 4.238 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02285/0.6664, allocations: 5.997 MB / 0.6456 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007139/0.6672, allocations: 215.3 kB / 0.6458 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005243/0.6678, allocations: 16 kB / 0.6458 GB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.6693, allocations: 159.9 kB / 0.6459 GB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008597/0.6701, allocations: 216.5 kB / 0.6462 GB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.6703, allocations: 24 kB / 0.6462 GB, free: 13.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009912/0.6713, allocations: 0.6008 MB / 0.6468 GB, free: 12.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6713, allocations: 0 / 0.6468 GB, free: 12.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001817/0.6731, allocations: 439.4 kB / 0.6472 GB, free: 12.54 MB / 458.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 () * 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.01636/0.6895, allocations: 6.584 MB / 0.6536 GB, free: 5.914 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007442/0.697, allocations: 2.783 MB / 0.6563 GB, free: 3.125 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.697, allocations: 8.125 kB / 0.6563 GB, free: 3.117 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004833/0.7018, allocations: 1.802 MB / 0.6581 GB, free: 1.301 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.703, allocations: 92.36 kB / 0.6582 GB, free: 1.211 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04458/0.7476, allocations: 18.36 MB / 0.6761 GB, free: 14.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000821/0.7485, allocations: 1.103 MB / 0.6772 GB, free: 13.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005341/0.749, allocations: 90.75 kB / 0.6773 GB, free: 13.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006789/0.7497, allocations: 439.3 kB / 0.6777 GB, free: 12.81 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/0.7497, allocations: 0 / 0.6777 GB, free: 12.81 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0615/0.8112, allocations: 30.1 MB / 0.7071 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/0.8115, allocations: 241 kB / 0.7073 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.01/3.821, allocations: 0 / 0.7073 GB, free: 14.66 MB / 0.5105 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)