Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order5test2.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.000737/0.000737, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.00174, 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.9975/0.9975, allocations: 158.6 MB / 169.7 MB, free: 2.773 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.232/1.229, allocations: 49.48 MB / 219.1 MB, free: 5.559 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.001048/0.001048, allocations: 152.6 kB / 220 MB, free: 4.672 MB / 218.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00424/0.005288, allocations: 481.5 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.1946/0.1946, allocations: 32.51 MB / 253.7 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01957/0.2141, allocations: 10.85 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.Order5test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order5test2") translateModel(OpenIPSL.Examples.Machines.PSAT.Order5test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order5test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 265.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.405e-05, allocations: 6.25 kB / 265.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.Order5test2): time 0.01169/0.01171, allocations: 5.561 MB / 271.5 MB, free: 1.145 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007822/0.01953, allocations: 1.755 MB / 273.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004471/0.01998, allocations: 12 kB / 273.2 MB, free: 15.37 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000387/0.02037, allocations: 210.2 kB / 273.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.02186, allocations: 0.7645 MB / 274.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000849/0.02271, allocations: 0.5534 MB / 274.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.02408, allocations: 1.323 MB / 276.1 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.02438, allocations: 189.6 kB / 276.3 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.02561, allocations: 0.9086 MB / 277.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000688/0.0263, allocations: 0.5374 MB / 277.7 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.02646, allocations: 88 kB / 277.8 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004679/0.02693, allocations: 231.8 kB / 278 MB, free: 10.53 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.02706, allocations: 175.3 kB / 278.2 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002709/0.02733, allocations: 287.2 kB / 278.5 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009416/0.02827, allocations: 0.9493 MB / 279.4 MB, free: 9.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.612e-05/0.02829, allocations: 4 kB / 279.4 MB, free: 9.121 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.02829, allocations: 0 / 279.4 MB, free: 9.121 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.876e-05/0.02833, allocations: 0 / 279.4 MB, free: 9.121 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.00407/0.0324, allocations: 2.642 MB / 282.1 MB, free: 6.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.03244, allocations: 8.031 kB / 282.1 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002663/0.0351, allocations: 0.9481 MB / 283 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007188/0.03582, allocations: 0.4892 MB / 283.5 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.036, allocations: 295.5 kB / 283.8 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.376e-05/0.03609, allocations: 79.94 kB / 283.9 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006707/0.03676, allocations: 0.5427 MB / 284.4 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.03678, allocations: 3.984 kB / 284.4 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.008e-05/0.03684, allocations: 24 kB / 284.4 MB, free: 3.957 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.03686, allocations: 19.94 kB / 284.5 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006013/0.03746, allocations: 293.8 kB / 284.7 MB, free: 3.652 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.00262/0.04008, allocations: 1.452 MB / 286.2 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005276/0.0406, allocations: 369.8 kB / 286.6 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.04089, allocations: 212.3 kB / 286.8 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.651e-05/0.04096, allocations: 28.92 kB / 286.8 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.041, allocations: 43.56 kB / 286.8 MB, free: 1.516 MB / 282.7 MB Notification: Performance of pre-optimization done (n=84): time 2.004e-06/0.041, allocations: 0 / 286.8 MB, free: 1.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=84): time 0.008392/0.04939, allocations: 4.011 MB / 290.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.04943, allocations: 64.34 kB / 290.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005493/0.04998, allocations: 0.6754 MB / 291.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.314e-05/0.05005, allocations: 41.7 kB / 291.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.05022, allocations: 326.9 kB / 291.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.05045, allocations: 317.2 kB / 292.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.05068, allocations: 190.8 kB / 292.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.0508, allocations: 353.8 kB / 292.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000759/0.05156, allocations: 246.6 kB / 293 MB, free: 11.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.05197, allocations: 374.5 kB / 293.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.05317, allocations: 1.018 MB / 294.4 MB, free: 9.816 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.05318, allocations: 7.875 kB / 294.4 MB, free: 9.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004659/0.05784, allocations: 2.552 MB / 297 MB, free: 7.238 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.05786, allocations: 11.94 kB / 297 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.05787, allocations: 4 kB / 297 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004531/0.0624, allocations: 1.853 MB / 298.8 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/0.06297, allocations: 203.7 kB / 299 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005974/0.06895, allocations: 3.975 MB / 303 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006794/0.06963, allocations: 139.3 kB / 303.1 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.06967, allocations: 27.98 kB / 303.2 MB, free: 0.9258 MB / 298.7 MB Warning: Assuming fixed start value for the following 1 variables: order5Type1_Inputs_Outputs.delta:VARIABLE(flow=false start = order5Type1_Inputs_Outputs.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 (97): * Single equations (assignments): 96 * 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 {(24,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002299/0.0699, allocations: 169.6 kB / 303.3 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.07002, allocations: 83.92 kB / 303.4 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/0.0738, allocations: 2.277 MB / 305.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.07381, allocations: 12 kB / 305.7 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.07381, allocations: 0 / 305.7 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.07382, allocations: 3.984 kB / 305.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005195/0.07901, allocations: 2.755 MB / 308.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.07902, allocations: 3.984 kB / 308.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.07931, allocations: 99.89 kB / 308.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.07949, allocations: 99.11 kB / 308.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004171/0.08366, allocations: 1.764 MB / 310.4 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.08377, allocations: 19.92 kB / 310.5 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005576/0.08934, allocations: 3.414 MB / 313.9 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.08935, allocations: 0 / 313.9 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004794/0.09414, allocations: 2.506 MB / 316.4 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.09435, allocations: 16 kB / 316.4 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000444/0.09479, allocations: 75.92 kB / 316.5 MB, free: 3.469 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004636/0.09525, allocations: 196.6 kB / 316.7 MB, free: 3.277 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.09529, allocations: 12 kB / 316.7 MB, free: 3.266 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003363/0.09563, allocations: 340.5 kB / 317 MB, free: 2.934 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09563, allocations: 0 / 317 MB, free: 2.934 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001077/0.0967, allocations: 423.7 kB / 317.4 MB, free: 2.52 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.e2d) * 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 (51): * Single equations (assignments): 50 * 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.0003282/0.09703, allocations: 112.2 kB / 317.5 MB, free: 2.402 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002522/0.09955, allocations: 1.388 MB / 318.9 MB, free: 1 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/0.09957, allocations: 12.06 kB / 318.9 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.1011, allocations: 0.9856 MB / 319.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.1016, allocations: 163.2 kB / 320.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009097/0.1107, allocations: 1.655 MB / 321.7 MB, free: 14.13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.1109, allocations: 204.3 kB / 321.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002821/0.1112, allocations: 82.3 kB / 322 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.1114, allocations: 143.4 kB / 322.1 MB, free: 13.69 MB / 330.7 MB Notification: Performance of SimCode: time 1.643e-06/0.1114, allocations: 0 / 322.1 MB, free: 13.69 MB / 330.7 MB Notification: Performance of Templates: time 0.1912/0.3026, allocations: 24.92 MB / 347.1 MB, free: 56.88 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order5test2.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order5test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order5test2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.Machines.PSAT.Order5test2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5527831073850393]