Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.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.0007264/0.0007264, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009779/0.001704, 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.9819/0.9819, allocations: 158.6 MB / 169.7 MB, free: 2.773 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2006/1.183, allocations: 49.48 MB / 219.1 MB, free: 5.57 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.00101/0.00101, allocations: 152.3 kB / 220 MB, free: 4.684 MB / 218.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001325/0.002335, allocations: 477.7 kB / 220.5 MB, free: 4.215 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.1392/0.1392, allocations: 32.51 MB / 253.7 MB, free: 2.941 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01639/0.1555, allocations: 10.85 MB / 264.6 MB, free: 8.055 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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 265.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.562e-05, allocations: 10.25 kB / 265.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation): time 0.004826/0.004842, allocations: 6.1 MB / 272 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.00795, allocations: 1.869 MB / 273.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003852/0.008335, allocations: 15.94 kB / 273.9 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000599/0.008934, allocations: 233.9 kB / 274.1 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.01001, allocations: 0.7876 MB / 274.9 MB, free: 13.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007034/0.01072, allocations: 0.6002 MB / 275.5 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009103/0.01163, allocations: 1.452 MB / 277 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.01189, allocations: 230.8 kB / 277.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007829/0.01267, allocations: 1.005 MB / 278.2 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004717/0.01315, allocations: 0.5802 MB / 278.8 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.01325, allocations: 104 kB / 278.9 MB, free: 9.672 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.01356, allocations: 239.8 kB / 279.1 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.01369, allocations: 199.2 kB / 279.3 MB, free: 9.242 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.01391, allocations: 319.1 kB / 279.6 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007913/0.0147, allocations: 1.039 MB / 280.7 MB, free: 7.887 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.297e-05/0.01472, allocations: 0 / 280.7 MB, free: 7.887 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01472, allocations: 0 / 280.7 MB, free: 7.887 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.01473, allocations: 0 / 280.7 MB, free: 7.887 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004075/0.01881, allocations: 2.845 MB / 283.5 MB, free: 4.992 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.01884, allocations: 8.031 kB / 283.5 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002583/0.02142, allocations: 0.9792 MB / 284.5 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005893/0.02201, allocations: 0.5296 MB / 285 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.02218, allocations: 311.6 kB / 285.3 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.051e-05/0.02227, allocations: 76 kB / 285.4 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006923/0.02297, allocations: 0.6207 MB / 286 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.02298, allocations: 0 / 286 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-05/0.02303, allocations: 28 kB / 286 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.02305, allocations: 31.92 kB / 286.1 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004249/0.02347, allocations: 297.8 kB / 286.4 MB, free: 2.027 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.002378/0.02585, allocations: 1.601 MB / 288 MB, free: 416 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/0.02631, allocations: 411.7 kB / 288.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.02655, allocations: 228.2 kB / 288.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.273e-05/0.02663, allocations: 21 kB / 288.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.02665, allocations: 39.56 kB / 288.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=97): time 1.934e-06/0.02665, allocations: 0 / 288.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=97): time 0.008172/0.03482, allocations: 4.081 MB / 292.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003821/0.0352, allocations: 60.41 kB / 292.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004629/0.03567, allocations: 0.7682 MB / 293.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.03572, allocations: 41.7 kB / 293.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.03587, allocations: 359.3 kB / 293.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.03606, allocations: 364.8 kB / 294.3 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.03626, allocations: 194.8 kB / 294.5 MB, free: 9.789 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.03636, allocations: 357.8 kB / 294.8 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.03672, allocations: 246.6 kB / 295.1 MB, free: 9.191 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004649/0.03719, allocations: 386.8 kB / 295.5 MB, free: 8.781 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.03841, allocations: 1.046 MB / 296.5 MB, free: 7.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.03841, allocations: 0 / 296.5 MB, free: 7.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004263/0.04268, allocations: 2.537 MB / 299 MB, free: 5.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.04269, allocations: 8 kB / 299.1 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.0427, allocations: 4 kB / 299.1 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004446/0.04715, allocations: 1.799 MB / 300.9 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004659/0.04761, allocations: 215.7 kB / 301.1 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005176/0.05279, allocations: 3.856 MB / 304.9 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004595/0.05325, allocations: 155.2 kB / 305.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-05/0.0533, allocations: 31.98 kB / 305.1 MB, free: 14.99 MB / 314.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.0002002/0.0535, allocations: 165.6 kB / 305.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.05362, allocations: 107.9 kB / 305.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004113/0.05773, allocations: 2.326 MB / 307.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.05774, allocations: 8 kB / 307.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.05774, allocations: 0 / 307.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.05775, allocations: 3.984 kB / 307.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004793/0.06254, allocations: 2.859 MB / 310.6 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.06255, allocations: 0 / 310.6 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/0.06299, allocations: 139.8 kB / 310.7 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.06322, allocations: 118.9 kB / 310.8 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004246/0.06747, allocations: 1.776 MB / 312.6 MB, free: 7.434 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/0.06765, allocations: 19.98 kB / 312.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006579/0.07423, allocations: 3.395 MB / 316 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.07424, allocations: 0 / 316 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006815/0.08105, allocations: 2.57 MB / 318.6 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.08124, allocations: 16 kB / 318.6 MB, free: 1.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005308/0.08177, allocations: 83.92 kB / 318.7 MB, free: 1.238 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005016/0.08228, allocations: 224.5 kB / 318.9 MB, free: 1.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.08232, allocations: 12 kB / 318.9 MB, free: 1.008 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003618/0.08268, allocations: 397 kB / 319.3 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.08268, allocations: 0 / 319.3 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009524/0.08363, allocations: 435.7 kB / 319.7 MB, free: 188 kB / 314.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.0002309/0.08386, allocations: 120.2 kB / 319.8 MB, free: 60 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002361/0.08622, allocations: 1.415 MB / 321.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/0.08624, allocations: 12 kB / 321.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.08781, allocations: 1.017 MB / 322.3 MB, free: 13.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.08831, allocations: 184.3 kB / 322.5 MB, free: 13.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009748/0.09806, allocations: 1.898 MB / 324.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.09832, allocations: 235.9 kB / 324.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003754/0.09869, allocations: 86.7 kB / 324.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.09895, allocations: 155.4 kB / 324.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of SimCode: time 2.174e-06/0.09895, allocations: 0 / 324.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of Templates: time 0.174/0.2729, allocations: 25.25 MB / 350.1 MB, free: 54.9 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7315068123862147]