Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.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.001009/0.001009, allocations: 72.19 kB / 9.876 MB, free: 0.8125 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005074/0.006083, allocations: 443.8 kB / 10.31 MB, free: 388 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9665/0.9665, allocations: 158.6 MB / 169.6 MB, free: 2.789 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.186/1.152, allocations: 49.49 MB / 219.1 MB, free: 5.562 MB / 218.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.000964/0.000964, allocations: 155.4 kB / 220 MB, free: 4.676 MB / 218.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007302/0.008266, allocations: 483.9 kB / 220.5 MB, free: 4.207 MB / 218.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-beta.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-beta.1/package.mo): time 0.1277/0.1277, allocations: 32.51 MB / 253.7 MB, free: 2.934 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01717/0.1449, allocations: 10.86 MB / 264.6 MB, free: 8.039 MB / 266.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-beta.1/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Examples.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 265.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.394e-05, allocations: 10.25 kB / 265.9 MB, free: 6.719 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation): time 0.004809/0.004833, allocations: 6.061 MB / 272 MB, free: 0.625 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.007513, allocations: 1.872 MB / 273.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003354/0.007849, allocations: 19.94 kB / 273.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.00815, allocations: 226 kB / 274.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.009168, allocations: 0.7876 MB / 274.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.009872, allocations: 0.5963 MB / 275.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008987/0.01077, allocations: 1.436 MB / 276.9 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.01104, allocations: 230.7 kB / 277.1 MB, free: 11.42 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007761/0.01182, allocations: 0.9899 MB / 278.1 MB, free: 10.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004675/0.01228, allocations: 0.5763 MB / 278.7 MB, free: 9.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.01239, allocations: 100 kB / 278.8 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.01272, allocations: 243.7 kB / 279 MB, free: 9.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.01286, allocations: 195.1 kB / 279.2 MB, free: 9.309 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.0131, allocations: 319.2 kB / 279.5 MB, free: 8.996 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009293/0.01403, allocations: 1.027 MB / 280.6 MB, free: 7.965 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.517e-05/0.01404, allocations: 0 / 280.6 MB, free: 7.965 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01404, allocations: 0 / 280.6 MB, free: 7.965 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.01406, allocations: 0 / 280.6 MB, free: 7.965 MB / 282.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.003956/0.01802, allocations: 2.822 MB / 283.4 MB, free: 5.094 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.01805, allocations: 8.031 kB / 283.4 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003044/0.0211, allocations: 0.9753 MB / 284.4 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009324/0.02203, allocations: 0.5293 MB / 284.9 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002701/0.0223, allocations: 315.5 kB / 285.2 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.02242, allocations: 76 kB / 285.3 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007525/0.02317, allocations: 0.6129 MB / 285.9 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.02318, allocations: 0 / 285.9 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.264e-05/0.02324, allocations: 31.98 kB / 285.9 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.02325, allocations: 23.94 kB / 286 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004394/0.02369, allocations: 305.8 kB / 286.2 MB, free: 2.133 MB / 282.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.002465/0.02615, allocations: 1.59 MB / 287.8 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.02662, allocations: 391.8 kB / 288.2 MB, free: 132 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.02688, allocations: 228.3 kB / 288.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.584e-05/0.02695, allocations: 17 kB / 288.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.02697, allocations: 43.56 kB / 288.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=96): time 3.437e-06/0.02698, allocations: 0 / 288.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=96): time 0.008918/0.0359, allocations: 4.194 MB / 292.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.03594, allocations: 64.41 kB / 292.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006032/0.03654, allocations: 0.7558 MB / 293.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.369e-05/0.03662, allocations: 41.7 kB / 293.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.03679, allocations: 355.2 kB / 293.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.03703, allocations: 356.9 kB / 294.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.03726, allocations: 186.8 kB / 294.4 MB, free: 9.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.676e-05/0.03735, allocations: 357.8 kB / 294.8 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.03772, allocations: 242.6 kB / 295 MB, free: 9.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004441/0.03816, allocations: 382.8 kB / 295.4 MB, free: 8.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.03942, allocations: 1.045 MB / 296.4 MB, free: 7.766 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.03942, allocations: 4 kB / 296.4 MB, free: 7.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004694/0.04411, allocations: 2.498 MB / 298.9 MB, free: 5.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.04414, allocations: 15.84 kB / 299 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.04415, allocations: 3.938 kB / 299 MB, free: 5.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004724/0.04888, allocations: 1.803 MB / 300.8 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/0.04958, allocations: 215.7 kB / 301 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006125/0.0557, allocations: 3.666 MB / 304.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007932/0.05649, allocations: 155 kB / 304.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/0.05655, allocations: 31.98 kB / 304.8 MB, free: 15.27 MB / 314.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.0002923/0.05684, allocations: 161.7 kB / 305 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.05698, allocations: 99.89 kB / 305.1 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/0.06107, allocations: 2.33 MB / 307.4 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.06108, allocations: 12 kB / 307.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.06108, allocations: 0 / 307.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.06109, allocations: 3.984 kB / 307.4 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005113/0.0662, allocations: 2.851 MB / 310.3 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.06621, allocations: 0 / 310.3 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.06654, allocations: 135.8 kB / 310.4 MB, free: 9.621 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.06671, allocations: 115 kB / 310.5 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004095/0.07081, allocations: 1.76 MB / 312.3 MB, free: 7.742 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.392e-05/0.07088, allocations: 23.92 kB / 312.3 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004746/0.07563, allocations: 3.398 MB / 315.7 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.07563, allocations: 3.938 kB / 315.7 MB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004454/0.08008, allocations: 2.551 MB / 318.3 MB, free: 1.648 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.08023, allocations: 16 kB / 318.3 MB, free: 1.633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.08065, allocations: 87.84 kB / 318.4 MB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004043/0.08106, allocations: 216.6 kB / 318.6 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.0811, allocations: 16.03 kB / 318.6 MB, free: 1.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003123/0.08141, allocations: 392.6 kB / 319 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.08141, allocations: 0 / 319 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009041/0.08231, allocations: 443.5 kB / 319.4 MB, free: 0.4922 MB / 314.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.0002213/0.08253, allocations: 104.4 kB / 319.5 MB, free: 392 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002428/0.08496, allocations: 1.396 MB / 320.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/0.08498, allocations: 11.94 kB / 320.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001704/0.08668, allocations: 1.013 MB / 321.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.08721, allocations: 188.2 kB / 322.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009736/0.09695, allocations: 1.871 MB / 324 MB, free: 11.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.09716, allocations: 220.8 kB / 324.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003287/0.09749, allocations: 86.69 kB / 324.3 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.09773, allocations: 155.3 kB / 324.4 MB, free: 11.35 MB / 330.7 MB Notification: Performance of SimCode: time 1.914e-06/0.09773, allocations: 4 kB / 324.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of Templates: time 0.1604/0.2582, allocations: 24.97 MB / 349.4 MB, free: 51.5 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6038039037957788]