Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0008354/0.0008354, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.9655/0.9655, allocations: 177.1 MB / 200.3 MB, free: 5.656 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.001152/0.001152, allocations: 160.6 kB / 257 MB, free: 12.95 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.4517/0.4517, allocations: 83.3 MB / 343.6 MB, free: 6.77 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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 388 MB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.275e-05, allocations: 2.312 kB / 388 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005702/0.005725, allocations: 6.065 MB / 394 MB, free: 4.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003813/0.009538, allocations: 2.003 MB / 396.1 MB, free: 2.586 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006142/0.01015, allocations: 15.94 kB / 396.1 MB, free: 2.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004162/0.01057, allocations: 229.9 kB / 396.3 MB, free: 2.344 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.01204, allocations: 0.78 MB / 397.1 MB, free: 1.559 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.01309, allocations: 0.6198 MB / 397.7 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.01456, allocations: 1.452 MB / 399.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003672/0.01493, allocations: 226.8 kB / 399.4 MB, free: 15.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.01595, allocations: 0.8415 MB / 400.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008375/0.01679, allocations: 0.5724 MB / 400.8 MB, free: 13.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.01695, allocations: 100 kB / 400.9 MB, free: 13.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004378/0.01739, allocations: 255.8 kB / 401.1 MB, free: 13.47 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.01754, allocations: 278.7 kB / 401.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002678/0.0178, allocations: 422.6 kB / 401.8 MB, free: 12.78 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.01893, allocations: 1.159 MB / 403 MB, free: 11.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.01893, allocations: 0 / 403 MB, free: 11.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.01893, allocations: 0 / 403 MB, free: 11.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.186e-05/0.01898, allocations: 0 / 403 MB, free: 11.62 MB / 378.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.004165/0.02314, allocations: 2.533 MB / 405.5 MB, free: 9.051 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.02317, allocations: 8.031 kB / 405.5 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/0.02631, allocations: 1.01 MB / 406.5 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008361/0.02715, allocations: 0.5451 MB / 407.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/0.02736, allocations: 299.6 kB / 407.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.174e-05/0.02745, allocations: 76 kB / 407.4 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009853/0.02843, allocations: 0.6207 MB / 408.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.02845, allocations: 0 / 408.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/0.02849, allocations: 28 kB / 408.1 MB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.02851, allocations: 23.94 kB / 408.1 MB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.02896, allocations: 301.8 kB / 408.4 MB, free: 6.051 MB / 378.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.002341/0.0313, allocations: 1.582 MB / 410 MB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.03176, allocations: 391.8 kB / 410.4 MB, free: 4.059 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.03203, allocations: 232.3 kB / 410.6 MB, free: 3.828 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.393e-05/0.0321, allocations: 21 kB / 410.6 MB, free: 3.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.03213, allocations: 39.56 kB / 410.7 MB, free: 3.762 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 2.304e-06/0.03213, allocations: 0 / 410.7 MB, free: 3.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.008817/0.04095, allocations: 4.195 MB / 414.8 MB, free: 15.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002837/0.04123, allocations: 64.41 kB / 414.9 MB, free: 15.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.04177, allocations: 0.7642 MB / 415.7 MB, free: 14.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/0.04184, allocations: 45.7 kB / 415.7 MB, free: 14.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.042, allocations: 363.2 kB / 416.1 MB, free: 14.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.04221, allocations: 352.9 kB / 416.4 MB, free: 13.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.04243, allocations: 190.8 kB / 416.6 MB, free: 13.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.266e-05/0.04251, allocations: 349.8 kB / 416.9 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.0429, allocations: 242.6 kB / 417.2 MB, free: 13.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.04334, allocations: 378.8 kB / 417.6 MB, free: 12.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.04463, allocations: 1.045 MB / 418.6 MB, free: 11.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.04464, allocations: 4 kB / 418.6 MB, free: 11.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004593/0.04923, allocations: 2.5 MB / 421.1 MB, free: 9.168 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.04925, allocations: 8 kB / 421.1 MB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.04926, allocations: 0 / 421.1 MB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004636/0.05389, allocations: 1.814 MB / 422.9 MB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005712/0.05446, allocations: 203.7 kB / 423.1 MB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005621/0.06009, allocations: 3.677 MB / 426.8 MB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.06078, allocations: 151.3 kB / 426.9 MB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.06084, allocations: 27.98 kB / 427 MB, free: 3.195 MB / 394.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.0002675/0.06111, allocations: 161.6 kB / 427.1 MB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.06124, allocations: 103.9 kB / 427.2 MB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0044/0.06564, allocations: 2.326 MB / 429.6 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.06566, allocations: 8 kB / 429.6 MB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.06566, allocations: 4 kB / 429.6 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.06567, allocations: 3.984 kB / 429.6 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004894/0.07056, allocations: 2.843 MB / 432.4 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.07057, allocations: 4 kB / 432.4 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.07091, allocations: 123.8 kB / 432.5 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0042/0.07511, allocations: 1.772 MB / 434.3 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/0.07518, allocations: 27.98 kB / 434.3 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005201/0.08038, allocations: 3.415 MB / 437.8 MB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.08038, allocations: 0 / 437.8 MB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004609/0.08499, allocations: 2.559 MB / 440.3 MB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.0852, allocations: 111 kB / 440.4 MB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.499e-05/0.08529, allocations: 20 kB / 440.4 MB, free: 5.562 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/0.0857, allocations: 87.89 kB / 440.5 MB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004133/0.08611, allocations: 216.6 kB / 440.7 MB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.08615, allocations: 16 kB / 440.8 MB, free: 5.246 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002956/0.08644, allocations: 397 kB / 441.1 MB, free: 4.848 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08644, allocations: 0 / 441.1 MB, free: 4.848 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008182/0.08726, allocations: 435.6 kB / 441.6 MB, free: 4.422 MB / 410.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.0001951/0.08746, allocations: 120.3 kB / 441.7 MB, free: 4.293 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002293/0.08975, allocations: 1.393 MB / 443.1 MB, free: 2.879 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.08976, allocations: 12 kB / 443.1 MB, free: 2.867 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001722/0.09148, allocations: 1.001 MB / 444.1 MB, free: 1.855 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.09192, allocations: 107.5 kB / 444.2 MB, free: 1.754 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1512/0.2431, allocations: 1.846 MB / 446 MB, free: 61.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.2433, allocations: 222 kB / 446.3 MB, free: 61.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003253/0.2437, allocations: 87.94 kB / 446.3 MB, free: 61.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.2439, allocations: 157.2 kB / 446.5 MB, free: 61.85 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2439, allocations: 0 / 446.5 MB, free: 61.85 MB / 410.7 MB Notification: Performance of Templates: time 0.02464/0.2685, allocations: 24.84 MB / 471.3 MB, free: 47.15 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.754781146068126]