Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2.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.0006921/0.0006921, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009393/0.001631, allocations: 435.8 kB / 10.31 MB, free: 384 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.8668/0.8668, allocations: 158.6 MB / 169.7 MB, free: 2.777 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1818/1.049, allocations: 49.48 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.001128/0.001128, allocations: 152.6 kB / 220 MB, free: 4.68 MB / 218.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001524/0.002652, allocations: 489.2 kB / 220.5 MB, free: 4.203 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.137/0.137, allocations: 32.52 MB / 253.7 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01847/0.1555, allocations: 10.84 MB / 264.6 MB, free: 8.051 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Examples.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 265.9 MB, free: 6.754 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.082e-05, allocations: 6.25 kB / 265.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.Order2test2): time 0.004846/0.004877, allocations: 5.432 MB / 271.3 MB, free: 1.281 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003024/0.007901, allocations: 1.716 MB / 273 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004304/0.008331, allocations: 11.94 kB / 273.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.008684, allocations: 206.2 kB / 273.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.00998, allocations: 0.749 MB / 274 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008744/0.01085, allocations: 0.5495 MB / 274.6 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.01205, allocations: 1.26 MB / 275.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003347/0.01238, allocations: 197.5 kB / 276 MB, free: 12.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.01341, allocations: 0.8773 MB / 276.9 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005957/0.01401, allocations: 0.5102 MB / 277.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.01418, allocations: 84 kB / 277.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007668/0.01495, allocations: 227.7 kB / 277.7 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.01508, allocations: 167.3 kB / 277.9 MB, free: 10.69 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.0153, allocations: 275.3 kB / 278.1 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009028/0.0162, allocations: 0.922 MB / 279.1 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.644e-05/0.01622, allocations: 0 / 279.1 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01622, allocations: 0 / 279.1 MB, free: 9.492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.269e-05/0.01625, allocations: 4 kB / 279.1 MB, free: 9.488 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004257/0.02051, allocations: 2.58 MB / 281.6 MB, free: 6.859 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.02055, allocations: 16.02 kB / 281.7 MB, free: 6.844 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0027/0.02325, allocations: 0.9442 MB / 282.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006933/0.02394, allocations: 488.9 kB / 283.1 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/0.02414, allocations: 302.8 kB / 283.4 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.562e-05/0.02422, allocations: 68 kB / 283.4 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006395/0.02486, allocations: 0.5262 MB / 284 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.02488, allocations: 4 kB / 284 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.02492, allocations: 24 kB / 284 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.02493, allocations: 19.94 kB / 284 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.02534, allocations: 269 kB / 284.3 MB, free: 4.137 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.002517/0.02785, allocations: 1.433 MB / 285.7 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.02836, allocations: 353 kB / 286 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.0286, allocations: 207.3 kB / 286.3 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.178e-05/0.02867, allocations: 20.64 kB / 286.3 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.0287, allocations: 39.22 kB / 286.3 MB, free: 2.055 MB / 282.7 MB Notification: Performance of pre-optimization done (n=81): time 2.685e-06/0.0287, allocations: 4 kB / 286.3 MB, free: 2.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=81): time 0.008745/0.03744, allocations: 4.342 MB / 290.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.03748, allocations: 60.06 kB / 290.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005058/0.03798, allocations: 0.6637 MB / 291.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.075e-05/0.03805, allocations: 37.7 kB / 291.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.03821, allocations: 322.8 kB / 291.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004724/0.03868, allocations: 305.3 kB / 292 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.03887, allocations: 166.6 kB / 292.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.03895, allocations: 349.9 kB / 292.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.03927, allocations: 225.9 kB / 292.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.03965, allocations: 355.4 kB / 293.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.04076, allocations: 0.9785 MB / 294.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.04077, allocations: 7.875 kB / 294.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004426/0.0452, allocations: 2.434 MB / 296.5 MB, free: 7.695 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.04522, allocations: 8 kB / 296.5 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.04524, allocations: 0 / 296.5 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008661/0.0539, allocations: 1.81 MB / 298.3 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003629/0.05753, allocations: 175.7 kB / 298.5 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01922/0.07674, allocations: 3.673 MB / 302.2 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008571/0.0776, allocations: 127.3 kB / 302.3 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/0.07767, allocations: 27.98 kB / 302.3 MB, free: 1.781 MB / 298.7 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (88): * Single equations (assignments): 87 * 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.0002856/0.07795, allocations: 169.6 kB / 302.5 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.07809, allocations: 79.92 kB / 302.6 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01708/0.09517, allocations: 2.254 MB / 304.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.09518, allocations: 12 kB / 304.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.09519, allocations: 0 / 304.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.0952, allocations: 3.984 kB / 304.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/0.1074, allocations: 2.732 MB / 307.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.1075, allocations: 7.938 kB / 307.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.1078, allocations: 91.89 kB / 307.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.108, allocations: 111.1 kB / 307.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007129/0.1151, allocations: 1.772 MB / 309.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.522e-05/0.1152, allocations: 12 kB / 309.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006077/0.1212, allocations: 3.414 MB / 313 MB, free: 6.973 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1213, allocations: 0 / 313 MB, free: 6.973 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005683/0.1269, allocations: 2.479 MB / 315.5 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.1271, allocations: 16 kB / 315.5 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004792/0.1275, allocations: 71.86 kB / 315.5 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004252/0.128, allocations: 192.6 kB / 315.7 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/0.128, allocations: 16 kB / 315.8 MB, free: 4.184 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003189/0.1283, allocations: 332.5 kB / 316.1 MB, free: 3.859 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1283, allocations: 4.031 kB / 316.1 MB, free: 3.855 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009068/0.1292, allocations: 403.6 kB / 316.5 MB, free: 3.461 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.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 (48): * Single equations (assignments): 47 * 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.000194/0.1294, allocations: 108.3 kB / 316.6 MB, free: 3.348 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002578/0.132, allocations: 1.339 MB / 317.9 MB, free: 1.992 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/0.132, allocations: 8 kB / 317.9 MB, free: 1.984 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.1339, allocations: 0.9783 MB / 318.9 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.1344, allocations: 163.3 kB / 319.1 MB, free: 0.832 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.1464, allocations: 1.589 MB / 320.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.1467, allocations: 200.3 kB / 320.8 MB, free: 14.99 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002808/0.147, allocations: 82.03 kB / 320.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.1472, allocations: 139.4 kB / 321.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.623e-06/0.1472, allocations: 0 / 321.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of Templates: time 0.1501/0.2973, allocations: 23.83 MB / 344.9 MB, free: 55.63 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.302722587250173]