Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.0009069/0.0009069, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.972/0.972, allocations: 177.2 MB / 200.3 MB, free: 5.367 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.001215/0.001215, allocations: 159.4 kB / 256.9 MB, free: 12.81 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.2752/0.2752, allocations: 80.24 MB / 393.7 MB, free: 1.984 MB / 314.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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 490.3 MB, free: 11.28 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.513e-05, allocations: 8.75 kB / 490.3 MB, free: 11.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005719/0.005744, allocations: 6.006 MB / 496.3 MB, free: 5.246 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003721/0.009465, allocations: 1.91 MB / 498.2 MB, free: 3.348 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008033/0.01027, allocations: 15.94 kB / 498.2 MB, free: 3.332 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004975/0.01077, allocations: 214.9 kB / 498.4 MB, free: 3.121 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.01236, allocations: 0.7937 MB / 499.2 MB, free: 2.328 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009795/0.01333, allocations: 0.6173 MB / 499.8 MB, free: 1.723 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.01475, allocations: 1.459 MB / 0.4895 GB, free: 260 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.01514, allocations: 213.9 kB / 0.4897 GB, free: 36 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.01627, allocations: 0.8298 MB / 0.4906 GB, free: 15.2 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006371/0.0169, allocations: 0.5732 MB / 0.4911 GB, free: 14.63 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.01708, allocations: 104 kB / 0.4912 GB, free: 14.53 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004247/0.0175, allocations: 248.3 kB / 0.4914 GB, free: 14.29 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.01765, allocations: 274.7 kB / 0.4917 GB, free: 14.02 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000298/0.01795, allocations: 415.1 kB / 0.4921 GB, free: 13.61 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.01939, allocations: 1.16 MB / 0.4932 GB, free: 12.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.01939, allocations: 4.719 kB / 0.4932 GB, free: 12.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01939, allocations: 0 / 0.4932 GB, free: 12.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.439e-05/0.01942, allocations: 0.7188 kB / 0.4932 GB, free: 12.44 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004143/0.02356, allocations: 2.65 MB / 0.4958 GB, free: 9.781 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.0236, allocations: 13.09 kB / 0.4958 GB, free: 9.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002667/0.02627, allocations: 0.9578 MB / 0.4968 GB, free: 8.812 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008443/0.02711, allocations: 0.7117 MB / 0.4975 GB, free: 8.059 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.0273, allocations: 307.6 kB / 0.4978 GB, free: 7.707 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.02741, allocations: 76 kB / 0.4978 GB, free: 7.633 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007631/0.02817, allocations: 0.5935 MB / 0.4984 GB, free: 7.027 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.02818, allocations: 4 kB / 0.4984 GB, free: 7.023 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.904e-05/0.02824, allocations: 35.92 kB / 0.4985 GB, free: 6.988 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.02826, allocations: 27.94 kB / 0.4985 GB, free: 6.961 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005123/0.02877, allocations: 369.6 kB / 0.4988 GB, free: 6.602 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.003276/0.03204, allocations: 2.193 MB / 0.501 GB, free: 4.379 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/0.03259, allocations: 451.4 kB / 0.5014 GB, free: 3.926 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.0329, allocations: 271 kB / 0.5017 GB, free: 3.656 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-05/0.03298, allocations: 20.98 kB / 0.5017 GB, free: 3.637 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.033, allocations: 42.39 kB / 0.5017 GB, free: 3.582 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 5.66e-06/0.03301, allocations: 7.984 kB / 0.5017 GB, free: 3.574 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.009481/0.04249, allocations: 4.432 MB / 0.5061 GB, free: 15.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.04252, allocations: 64.41 kB / 0.5061 GB, free: 15.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009329/0.04346, allocations: 0.8432 MB / 0.5069 GB, free: 14.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.891e-05/0.04355, allocations: 41.7 kB / 0.507 GB, free: 14.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.04382, allocations: 0.5508 MB / 0.5075 GB, free: 13.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.04407, allocations: 360.9 kB / 0.5079 GB, free: 13.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.04431, allocations: 208.4 kB / 0.5081 GB, free: 13.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.04444, allocations: 0.5237 MB / 0.5086 GB, free: 12.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.04482, allocations: 266.4 kB / 0.5088 GB, free: 12.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/0.04528, allocations: 443 kB / 0.5093 GB, free: 11.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.04653, allocations: 1.089 MB / 0.5103 GB, free: 10.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.04653, allocations: 0 / 0.5103 GB, free: 10.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004755/0.05129, allocations: 2.731 MB / 0.513 GB, free: 7.871 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.05131, allocations: 8 kB / 0.513 GB, free: 7.863 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.05132, allocations: 0 / 0.513 GB, free: 7.863 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005077/0.0564, allocations: 1.919 MB / 0.5149 GB, free: 5.938 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/0.05702, allocations: 187.8 kB / 0.515 GB, free: 5.754 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006621/0.06364, allocations: 4.501 MB / 0.5194 GB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008144/0.06445, allocations: 155.3 kB / 0.5196 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-05/0.06451, allocations: 31.98 kB / 0.5196 GB, free: 0.9609 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (104): * Single equations (assignments): 103 * 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.0003246/0.06484, allocations: 208.4 kB / 0.5198 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.06502, allocations: 151.2 kB / 0.52 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00475/0.06977, allocations: 2.494 MB / 0.5224 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.06978, allocations: 8 kB / 0.5224 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.06978, allocations: 0 / 0.5224 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.0698, allocations: 3.984 kB / 0.5224 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005812/0.07561, allocations: 3.246 MB / 0.5256 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.07562, allocations: 4 kB / 0.5256 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/0.07598, allocations: 123.8 kB / 0.5257 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004537/0.08052, allocations: 1.794 MB / 0.5275 GB, free: 8.867 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.457e-05/0.0806, allocations: 19.98 kB / 0.5275 GB, free: 8.848 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00546/0.08606, allocations: 4.183 MB / 0.5316 GB, free: 4.547 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.08606, allocations: 4 kB / 0.5316 GB, free: 4.543 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004875/0.09094, allocations: 2.817 MB / 0.5343 GB, free: 1.699 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.09116, allocations: 130.9 kB / 0.5344 GB, free: 1.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-05/0.09126, allocations: 16 kB / 0.5345 GB, free: 1.555 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006738/0.09194, allocations: 87.94 kB / 0.5345 GB, free: 1.469 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003942/0.09233, allocations: 216.6 kB / 0.5347 GB, free: 1.258 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.09237, allocations: 19.94 kB / 0.5348 GB, free: 1.238 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003275/0.0927, allocations: 0.5025 MB / 0.5353 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0927, allocations: 0 / 0.5353 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009112/0.09361, allocations: 431.6 kB / 0.5357 GB, free: 312 kB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.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 (63): * Single equations (assignments): 62 * 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.0002231/0.09383, allocations: 139 kB / 0.5358 GB, free: 160 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002371/0.0962, allocations: 1.531 MB / 0.5373 GB, free: 14.61 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.0962, allocations: 0.5625 kB / 0.5373 GB, free: 14.61 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.09784, allocations: 1.116 MB / 0.5384 GB, free: 13.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.09829, allocations: 104.3 kB / 0.5385 GB, free: 13.36 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.1009, allocations: 1.837 MB / 0.5403 GB, free: 11.49 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.1011, allocations: 216.9 kB / 0.5405 GB, free: 11.26 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002047/0.1013, allocations: 94.67 kB / 0.5406 GB, free: 11.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.1015, allocations: 174.2 kB / 0.5407 GB, free: 10.99 MB / 474.7 MB Notification: Performance of SimCode: time 1.513e-06/0.1015, allocations: 0 / 0.5407 GB, free: 10.99 MB / 474.7 MB Notification: Performance of Templates: time 0.02884/0.1304, allocations: 26.62 MB / 0.5667 GB, free: 0.5156 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6662295879796147]