Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8736/0.8736, allocations: 110.8 MB / 118.3 MB, free: 10.53 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001658/0.001658, allocations: 155.3 kB / 144 MB, free: 9.809 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.549e-05/1.549e-05, allocations: 4 kB / 173.9 MB, free: 11.89 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05198/0.05201, allocations: 25.17 MB / 199 MB, free: 2.668 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1551/0.2071, allocations: 34.04 MB / 233.1 MB, free: 5.926 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.2074, allocations: 66.92 kB / 233.1 MB, free: 5.863 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008462/0.2159, allocations: 3.381 MB / 236.5 MB, free: 2.531 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.2159, allocations: 0 / 236.5 MB, free: 2.531 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.216, allocations: 4 kB / 236.5 MB, free: 2.527 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005576/0.2165, allocations: 470 kB / 237 MB, free: 2.031 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.2166, allocations: 8.031 kB / 237 MB, free: 2.023 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.2167, allocations: 23.72 kB / 237 MB, free: 2 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.2169, allocations: 234.1 kB / 237.2 MB, free: 1.73 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.2169, allocations: 4.812 kB / 237.2 MB, free: 1.727 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.217, allocations: 12 kB / 237.3 MB, free: 1.715 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002104/0.2172, allocations: 102.6 kB / 237.4 MB, free: 1.617 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.2176, allocations: 161 kB / 237.5 MB, free: 1.449 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.2176, allocations: 15.94 kB / 237.5 MB, free: 1.434 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.2176, allocations: 0 / 237.5 MB, free: 1.434 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.2176, allocations: 4.562 kB / 237.5 MB, free: 1.43 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007726/0.2184, allocations: 0.6454 MB / 238.2 MB, free: 0.7461 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.2186, allocations: 120.4 kB / 238.3 MB, free: 0.6211 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.414e-05/0.2187, allocations: 61.34 kB / 238.4 MB, free: 0.5586 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.2187, allocations: 0 / 238.4 MB, free: 0.5586 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.2187, allocations: 34.56 kB / 238.4 MB, free: 0.5156 MB / 170.7 MB Notification: Performance of pre-optimization done (n=19): time 9.81e-07/0.2187, allocations: 1.5 kB / 238.4 MB, free: 0.5156 MB / 170.7 MB Notification: Performance of matching and sorting (n=23): time 0.001117/0.2198, allocations: 0.74 MB / 239.1 MB, free: 15.69 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.2199, allocations: 55.41 kB / 239.2 MB, free: 15.62 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.22, allocations: 140.8 kB / 239.3 MB, free: 15.48 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.2201, allocations: 29.7 kB / 239.4 MB, free: 15.45 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.897e-05/0.2202, allocations: 144.4 kB / 239.5 MB, free: 15.3 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/0.2202, allocations: 78.77 kB / 239.6 MB, free: 15.22 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/0.2202, allocations: 4 kB / 239.6 MB, free: 15.22 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2204, allocations: 334.8 kB / 239.9 MB, free: 14.88 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.442e-05/0.2205, allocations: 40 kB / 239.9 MB, free: 14.84 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.2206, allocations: 86.47 kB / 240 MB, free: 14.75 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.051e-05/0.2207, allocations: 47.98 kB / 240.1 MB, free: 14.7 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.2207, allocations: 4 kB / 240.1 MB, free: 14.7 MB / 186.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003359/0.221, allocations: 206.1 kB / 240.3 MB, free: 14.48 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2211, allocations: 8 kB / 240.3 MB, free: 14.48 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2211, allocations: 0 / 240.3 MB, free: 14.48 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001745/0.2213, allocations: 38.89 kB / 240.3 MB, free: 14.44 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.2215, allocations: 47.92 kB / 240.4 MB, free: 14.39 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.2227, allocations: 1.32 MB / 241.7 MB, free: 12.96 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.569e-05/0.2228, allocations: 8.016 kB / 241.7 MB, free: 12.95 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.2229, allocations: 8.062 kB / 241.7 MB, free: 12.94 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.69e-05/0.223, allocations: 108.9 kB / 241.8 MB, free: 12.83 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.223, allocations: 19.77 kB / 241.8 MB, free: 12.81 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.2231, allocations: 21.97 kB / 241.9 MB, free: 12.79 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2231, allocations: 4.547 kB / 241.9 MB, free: 12.79 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2231, allocations: 3.984 kB / 241.9 MB, free: 12.79 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2231, allocations: 1.781 kB / 241.9 MB, free: 12.79 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007363/0.2238, allocations: 0.5686 MB / 242.4 MB, free: 12.16 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2238, allocations: 7.938 kB / 242.4 MB, free: 12.15 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.2241, allocations: 44.47 kB / 242.5 MB, free: 12.11 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001189/0.2242, allocations: 36.91 kB / 242.5 MB, free: 12.07 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.2242, allocations: 4 kB / 242.5 MB, free: 12.07 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.2254, allocations: 1.329 MB / 243.8 MB, free: 10.62 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/0.2254, allocations: 5.125 kB / 243.9 MB, free: 10.62 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.2259, allocations: 375.8 kB / 244.2 MB, free: 10.22 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.932e-05/0.226, allocations: 101 kB / 244.3 MB, free: 10.1 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.226, allocations: 3.984 kB / 244.3 MB, free: 10.1 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.2261, allocations: 5.062 kB / 244.3 MB, free: 10.09 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.2262, allocations: 15.98 kB / 244.3 MB, free: 10.08 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.2262, allocations: 4 kB / 244.3 MB, free: 10.07 MB / 186.7 MB Notification: Performance of sorting global known variables: time 9.585e-05/0.2263, allocations: 120.8 kB / 244.5 MB, free: 9.957 MB / 186.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2263, allocations: 0 / 244.5 MB, free: 9.957 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003141/0.2266, allocations: 44 kB / 244.5 MB, free: 9.914 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001292/0.2268, allocations: 107.1 kB / 244.6 MB, free: 9.801 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004265/0.2272, allocations: 257.6 kB / 244.9 MB, free: 9.539 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.2272, allocations: 1.125 kB / 244.9 MB, free: 9.539 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.2275, allocations: 194.7 kB / 245.1 MB, free: 9.34 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.2278, allocations: 27.92 kB / 245.1 MB, free: 9.312 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009026/0.2287, allocations: 0.5073 MB / 245.6 MB, free: 8.789 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.229, allocations: 0.7519 MB / 246.3 MB, free: 8.008 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 7.884e-05/0.2291, allocations: 18.06 kB / 246.4 MB, free: 7.988 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.2292, allocations: 24.28 kB / 246.4 MB, free: 7.965 MB / 186.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2292, allocations: 0 / 246.4 MB, free: 7.965 MB / 186.7 MB Notification: Performance of Templates: time 0.004855/0.234, allocations: 1.943 MB / 248.3 MB, free: 6.07 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1)