Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001023/0.001023, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.8958/0.8958, allocations: 177.2 MB / 201 MB, free: 5.414 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.001166/0.001166, allocations: 171.2 kB / 257.7 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2751/0.2751, allocations: 80.23 MB / 394.5 MB, free: 3.035 MB / 362.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 491 MB, free: 62.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.558e-06/1.08e-05, allocations: 4.422 kB / 491.1 MB, free: 62.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.003425/0.003436, allocations: 6.063 MB / 497.1 MB, free: 56.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.005343, allocations: 1.932 MB / 499 MB, free: 54.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/0.005606, allocations: 16.5 kB / 499.1 MB, free: 54.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.005889, allocations: 222 kB / 499.3 MB, free: 54.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009021/0.006791, allocations: 0.791 MB / 0.4883 GB, free: 53.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006306/0.007421, allocations: 0.6167 MB / 0.489 GB, free: 53.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006842/0.008106, allocations: 1.48 MB / 0.4904 GB, free: 51.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.008328, allocations: 212.9 kB / 0.4906 GB, free: 51.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000487/0.008815, allocations: 0.8493 MB / 0.4914 GB, free: 50.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003642/0.00918, allocations: 0.5779 MB / 0.492 GB, free: 50.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.46e-05/0.009264, allocations: 100 kB / 0.4921 GB, free: 49.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.009497, allocations: 251.7 kB / 0.4923 GB, free: 49.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.009603, allocations: 282.7 kB / 0.4926 GB, free: 49.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.009782, allocations: 419.2 kB / 0.493 GB, free: 49.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006251/0.01041, allocations: 1.18 MB / 0.4942 GB, free: 47.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.01041, allocations: 0 / 0.4942 GB, free: 47.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.01041, allocations: 0 / 0.4942 GB, free: 47.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.01042, allocations: 5.625 kB / 0.4942 GB, free: 47.86 MB / 410.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.00341/0.01383, allocations: 2.661 MB / 0.4968 GB, free: 45.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.537e-05/0.01385, allocations: 8.906 kB / 0.4968 GB, free: 45.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002472/0.01633, allocations: 0.9611 MB / 0.4977 GB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005504/0.01688, allocations: 0.7213 MB / 0.4984 GB, free: 43.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.017, allocations: 300.3 kB / 0.4987 GB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.792e-05/0.0171, allocations: 80 kB / 0.4988 GB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000619/0.01772, allocations: 0.6 MB / 0.4994 GB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.01774, allocations: 0 / 0.4994 GB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/0.01779, allocations: 32 kB / 0.4994 GB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.0178, allocations: 23.94 kB / 0.4994 GB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.01824, allocations: 370.2 kB / 0.4998 GB, free: 42.02 MB / 410.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.002319/0.02056, allocations: 2.22 MB / 0.5019 GB, free: 39.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/0.02101, allocations: 461.9 kB / 0.5024 GB, free: 39.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.02126, allocations: 271.6 kB / 0.5026 GB, free: 39.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.975e-05/0.02133, allocations: 23.23 kB / 0.5027 GB, free: 39.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.02135, allocations: 46.39 kB / 0.5027 GB, free: 38.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 1.904e-06/0.02135, allocations: 0 / 0.5027 GB, free: 38.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.008627/0.02998, allocations: 4.322 MB / 0.5069 GB, free: 34.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.03, allocations: 60.41 kB / 0.507 GB, free: 34.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.03039, allocations: 0.8597 MB / 0.5078 GB, free: 33.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.03045, allocations: 41.7 kB / 0.5079 GB, free: 33.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.03063, allocations: 0.5587 MB / 0.5084 GB, free: 33.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.03078, allocations: 360.8 kB / 0.5087 GB, free: 32.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.031, allocations: 208.5 kB / 0.5089 GB, free: 32.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.477e-05/0.03106, allocations: 0.5276 MB / 0.5095 GB, free: 32.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.0314, allocations: 274.4 kB / 0.5097 GB, free: 31.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.0318, allocations: 439 kB / 0.5101 GB, free: 31.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.0329, allocations: 1.093 MB / 0.5112 GB, free: 30.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.0329, allocations: 4 kB / 0.5112 GB, free: 30.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004655/0.03755, allocations: 2.758 MB / 0.5139 GB, free: 27.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.03757, allocations: 8 kB / 0.5139 GB, free: 27.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.03757, allocations: 7.938 kB / 0.5139 GB, free: 27.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004407/0.04198, allocations: 1.852 MB / 0.5157 GB, free: 25.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.0424, allocations: 191.8 kB / 0.5159 GB, free: 25.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005658/0.04806, allocations: 4.699 MB / 0.5205 GB, free: 20.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.04855, allocations: 151.3 kB / 0.5206 GB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.0486, allocations: 31.98 kB / 0.5207 GB, free: 20.31 MB / 410.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.0001979/0.0488, allocations: 211 kB / 0.5209 GB, free: 20.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.04894, allocations: 155.2 kB / 0.521 GB, free: 19.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004099/0.05304, allocations: 2.498 MB / 0.5235 GB, free: 17.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.05305, allocations: 8 kB / 0.5235 GB, free: 17.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.05305, allocations: 0 / 0.5235 GB, free: 17.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.05305, allocations: 7.984 kB / 0.5235 GB, free: 17.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004709/0.05776, allocations: 3.257 MB / 0.5267 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.05777, allocations: 0 / 0.5267 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/0.05805, allocations: 119.9 kB / 0.5268 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004167/0.06222, allocations: 1.802 MB / 0.5285 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/0.06227, allocations: 27.98 kB / 0.5286 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004766/0.06703, allocations: 4.186 MB / 0.5326 GB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.06704, allocations: 0 / 0.5326 GB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004449/0.07148, allocations: 2.829 MB / 0.5354 GB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.624e-05/0.07157, allocations: 130.9 kB / 0.5355 GB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.059e-05/0.07166, allocations: 16 kB / 0.5355 GB, free: 4.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.07207, allocations: 95.89 kB / 0.5356 GB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000323/0.0724, allocations: 220.5 kB / 0.5359 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/0.07243, allocations: 16 kB / 0.5359 GB, free: 4.535 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002233/0.07266, allocations: 0.5107 MB / 0.5364 GB, free: 4.016 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.07266, allocations: 4 kB / 0.5364 GB, free: 4.012 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000638/0.0733, allocations: 443.6 kB / 0.5368 GB, free: 3.578 MB / 410.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.0001625/0.07346, allocations: 135.1 kB / 0.5369 GB, free: 3.438 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002024/0.07548, allocations: 1.547 MB / 0.5384 GB, free: 1.871 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.07548, allocations: 0 / 0.5384 GB, free: 1.871 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.07695, allocations: 1.109 MB / 0.5395 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.07733, allocations: 100.4 kB / 0.5396 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.07954, allocations: 1.886 MB / 0.5415 GB, free: 14.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.0797, allocations: 236 kB / 0.5417 GB, free: 14.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001913/0.07989, allocations: 86.77 kB / 0.5418 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.08013, allocations: 178.2 kB / 0.5419 GB, free: 14.2 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.08013, allocations: 0 / 0.5419 GB, free: 14.2 MB / 426.7 MB Notification: Performance of Templates: time 0.02808/0.1082, allocations: 27.7 MB / 0.569 GB, free: 2.543 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7530807959847152]