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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009141/0.0009141, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9365/0.9365, allocations: 177.2 MB / 200.5 MB, free: 5.824 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 160.6 kB / 257 MB, free: 13.2 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.305/0.305, allocations: 80.35 MB / 393.8 MB, free: 2.184 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 490 MB, free: 11.83 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.512e-05, allocations: 2.312 kB / 490 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005243/0.005269, allocations: 6.166 MB / 496.1 MB, free: 5.641 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0033/0.008568, allocations: 1.93 MB / 498.1 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005776/0.009146, allocations: 15.94 kB / 498.1 MB, free: 3.707 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.009609, allocations: 219.2 kB / 498.3 MB, free: 3.492 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.01114, allocations: 0.7876 MB / 499.1 MB, free: 2.703 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009373/0.01208, allocations: 0.6167 MB / 499.7 MB, free: 2.098 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.01359, allocations: 1.48 MB / 0.4894 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.01392, allocations: 212.8 kB / 0.4896 GB, free: 400 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009454/0.01486, allocations: 0.8417 MB / 0.4905 GB, free: 15.54 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006383/0.0155, allocations: 0.57 MB / 0.491 GB, free: 14.97 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.01565, allocations: 104 kB / 0.4911 GB, free: 14.87 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004209/0.01607, allocations: 255.7 kB / 0.4914 GB, free: 14.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.01624, allocations: 283.2 kB / 0.4916 GB, free: 14.34 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003051/0.01654, allocations: 423.4 kB / 0.492 GB, free: 13.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.01772, allocations: 1.171 MB / 0.4932 GB, free: 12.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.01773, allocations: 4 kB / 0.4932 GB, free: 12.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.01773, allocations: 0.9375 kB / 0.4932 GB, free: 12.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.13e-05/0.01776, allocations: 0 / 0.4932 GB, free: 12.75 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.004622/0.02238, allocations: 2.663 MB / 0.4958 GB, free: 10.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.02242, allocations: 8.031 kB / 0.4958 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/0.02566, allocations: 0.9549 MB / 0.4967 GB, free: 9.117 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008584/0.02651, allocations: 0.7314 MB / 0.4974 GB, free: 8.344 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.02672, allocations: 311.6 kB / 0.4977 GB, free: 7.988 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.02682, allocations: 76 kB / 0.4978 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.02783, allocations: 0.6755 MB / 0.4985 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.02784, allocations: 0 / 0.4985 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.514e-05/0.02791, allocations: 36 kB / 0.4985 GB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.02792, allocations: 27.94 kB / 0.4985 GB, free: 7.164 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008069/0.02873, allocations: 475.6 kB / 0.499 GB, free: 6.703 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.003149/0.03188, allocations: 2.35 MB / 0.5013 GB, free: 4.316 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007587/0.03264, allocations: 0.5112 MB / 0.5018 GB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004709/0.03311, allocations: 327.1 kB / 0.5021 GB, free: 3.465 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-05/0.03319, allocations: 24.94 kB / 0.5021 GB, free: 3.441 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.03322, allocations: 46.39 kB / 0.5022 GB, free: 3.383 MB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 2.585e-06/0.03323, allocations: 0 / 0.5022 GB, free: 3.383 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.01048/0.0437, allocations: 4.51 MB / 0.5066 GB, free: 14.85 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.04375, allocations: 64.34 kB / 0.5066 GB, free: 14.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008045/0.04455, allocations: 0.8759 MB / 0.5075 GB, free: 13.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-05/0.04465, allocations: 41.7 kB / 0.5075 GB, free: 13.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.04496, allocations: 0.5589 MB / 0.5081 GB, free: 13.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.04523, allocations: 364.9 kB / 0.5084 GB, free: 12.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/0.04548, allocations: 204.5 kB / 0.5086 GB, free: 12.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.04561, allocations: 0.5199 MB / 0.5091 GB, free: 12.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/0.04613, allocations: 298.5 kB / 0.5094 GB, free: 11.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.04673, allocations: 471.1 kB / 0.5098 GB, free: 11.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.04843, allocations: 1.179 MB / 0.511 GB, free: 10.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.04844, allocations: 0 / 0.511 GB, free: 10.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.005792/0.05423, allocations: 2.848 MB / 0.5138 GB, free: 7.297 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.05425, allocations: 4 kB / 0.5138 GB, free: 7.293 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.05427, allocations: 4 kB / 0.5138 GB, free: 7.289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005281/0.05955, allocations: 1.887 MB / 0.5156 GB, free: 5.398 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.06014, allocations: 195.7 kB / 0.5158 GB, free: 5.207 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008191/0.06833, allocations: 4.866 MB / 0.5206 GB, free: 232 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007983/0.06913, allocations: 151.3 kB / 0.5207 GB, free: 80 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/0.06919, allocations: 39.98 kB / 0.5208 GB, free: 40 kB / 442.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 (107): * Single equations (assignments): 106 * 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.0003225/0.06951, allocations: 212.4 kB / 0.521 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.0697, allocations: 159.1 kB / 0.5211 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005122/0.07483, allocations: 2.635 MB / 0.5237 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.07483, allocations: 8 kB / 0.5237 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.07484, allocations: 4 kB / 0.5237 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.07485, allocations: 11.8 kB / 0.5237 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006208/0.08106, allocations: 3.512 MB / 0.5271 GB, free: 9.438 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.08106, allocations: 3.938 kB / 0.5271 GB, free: 9.434 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/0.0814, allocations: 123.8 kB / 0.5273 GB, free: 9.312 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00484/0.08624, allocations: 1.83 MB / 0.529 GB, free: 7.477 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.222e-05/0.08631, allocations: 23.98 kB / 0.5291 GB, free: 7.453 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00673/0.09304, allocations: 4.307 MB / 0.5333 GB, free: 3.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.09304, allocations: 7.875 kB / 0.5333 GB, free: 3.012 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005857/0.0989, allocations: 3.025 MB / 0.5362 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.09913, allocations: 130.9 kB / 0.5364 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.09923, allocations: 23.94 kB / 0.5364 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.09969, allocations: 83.92 kB / 0.5365 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000438/0.1001, allocations: 216.6 kB / 0.5367 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.1002, allocations: 24 kB / 0.5367 GB, free: 15.49 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004525/0.1006, allocations: 0.5538 MB / 0.5372 GB, free: 14.93 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1006, allocations: 0 / 0.5372 GB, free: 14.93 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000914/0.1015, allocations: 447.5 kB / 0.5377 GB, free: 14.49 MB / 474.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.0002538/0.1018, allocations: 123.2 kB / 0.5378 GB, free: 14.36 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002903/0.1047, allocations: 1.633 MB / 0.5394 GB, free: 12.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1047, allocations: 128 / 0.5394 GB, free: 12.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001898/0.1066, allocations: 1.175 MB / 0.5405 GB, free: 11.51 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.1071, allocations: 111 kB / 0.5406 GB, free: 11.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.1098, allocations: 1.892 MB / 0.5425 GB, free: 9.477 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.11, allocations: 231.9 kB / 0.5427 GB, free: 9.227 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002029/0.1102, allocations: 86.77 kB / 0.5428 GB, free: 9.137 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.1104, allocations: 72.48 kB / 0.5428 GB, free: 9.066 MB / 474.7 MB Notification: Performance of SimCode: time 1.623e-06/0.1104, allocations: 4 kB / 0.5428 GB, free: 9.062 MB / 474.7 MB Notification: Performance of Templates: time 0.0272/0.1376, allocations: 26.06 MB / 0.5683 GB, free: 15.04 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile [Timeout 660] (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.929277993971482]