Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000799/0.0007993, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008746/0.0008746, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004925, allocations: 10.81 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2177, allocations: 47.59 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.001929/0.2197, allocations: 1.744 MB / 328.2 MB, free: 12 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008315/0.2205, allocations: 0.5542 MB / 328.8 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.262e-05/0.2206, allocations: 3.969 kB / 328.8 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.2208, allocations: 23.56 kB / 328.8 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.133e-05/0.2208, allocations: 49.14 kB / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.221, allocations: 34.56 kB / 328.9 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.2212, allocations: 182.7 kB / 329.1 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.2213, allocations: 56.55 kB / 329.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.134e-05/0.2214, allocations: 57.02 kB / 329.2 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.2215, allocations: 72.75 kB / 329.3 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.2216, allocations: 8.531 kB / 329.3 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.714e-05/0.2216, allocations: 8.656 kB / 329.3 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.12e-05/0.2216, allocations: 33.03 kB / 329.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.2217, allocations: 57.89 kB / 329.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.2219, allocations: 154.4 kB / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.2219, allocations: 4 kB / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2219, allocations: 0 / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.2219, allocations: 0 / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005654/0.2225, allocations: 451.1 kB / 330 MB, free: 14.63 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2225, allocations: 13.81 kB / 330 MB, free: 14.63 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.2226, allocations: 17.97 kB / 330 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.2228, allocations: 221.6 kB / 330.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.2228, allocations: 14.84 kB / 330.2 MB, free: 14.37 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.2229, allocations: 19.39 kB / 330.2 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.2232, allocations: 151.8 kB / 330.4 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.2232, allocations: 5.156 kB / 330.4 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.2233, allocations: 5.125 kB / 330.4 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2233, allocations: 8.578 kB / 330.4 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.2235, allocations: 104.6 kB / 330.5 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008879/0.2244, allocations: 0.5921 MB / 331.1 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.2247, allocations: 111.4 kB / 331.2 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.125e-05/0.2248, allocations: 45.59 kB / 331.2 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.2248, allocations: 6.094 kB / 331.3 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.2248, allocations: 43.64 kB / 331.3 MB, free: 13.53 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.2248, allocations: 0 / 331.3 MB, free: 13.53 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001441/0.2263, allocations: 0.8048 MB / 332.1 MB, free: 12.87 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.2263, allocations: 53.94 kB / 332.2 MB, free: 12.8 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.2265, allocations: 159.6 kB / 332.3 MB, free: 12.67 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.2265, allocations: 26.67 kB / 332.3 MB, free: 12.64 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.2266, allocations: 132.7 kB / 332.5 MB, free: 12.52 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.2266, allocations: 66.66 kB / 332.5 MB, free: 12.46 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-06/0.2267, allocations: 4.938 kB / 332.5 MB, free: 12.45 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2268, allocations: 330 kB / 332.9 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.2269, allocations: 45.44 kB / 332.9 MB, free: 12.11 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.227, allocations: 74.16 kB / 333 MB, free: 12.05 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.2272, allocations: 61.45 kB / 333 MB, free: 12.02 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2272, allocations: 0 / 333 MB, free: 12.02 MB / 270.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003741/0.2276, allocations: 199.8 kB / 333.2 MB, free: 11.91 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2276, allocations: 9.766 kB / 333.2 MB, free: 11.9 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2276, allocations: 5.219 kB / 333.2 MB, free: 11.9 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.2278, allocations: 43.67 kB / 333.3 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.228, allocations: 33.92 kB / 333.3 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.2293, allocations: 1.423 MB / 334.7 MB, free: 10.44 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.662e-05/0.2294, allocations: 8.719 kB / 334.8 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.2294, allocations: 8.797 kB / 334.8 MB, free: 10.43 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 17 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.2295, allocations: 129.5 kB / 334.9 MB, free: 10.3 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.2296, allocations: 27.33 kB / 334.9 MB, free: 10.28 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.2296, allocations: 24.73 kB / 334.9 MB, free: 10.26 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2296, allocations: 1.031 kB / 334.9 MB, free: 10.26 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2296, allocations: 1.094 kB / 334.9 MB, free: 10.26 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2296, allocations: 0.9062 kB / 334.9 MB, free: 10.26 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007806/0.2304, allocations: 0.585 MB / 335.5 MB, free: 9.742 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.2304, allocations: 9.047 kB / 335.5 MB, free: 9.734 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.2306, allocations: 35.52 kB / 335.6 MB, free: 9.723 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.2307, allocations: 32.16 kB / 335.6 MB, free: 9.703 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.2307, allocations: 5.594 kB / 335.6 MB, free: 9.699 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.2317, allocations: 1.377 MB / 337 MB, free: 8.297 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2318, allocations: 0 / 337 MB, free: 8.297 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.2322, allocations: 350.2 kB / 337.3 MB, free: 7.938 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.2323, allocations: 84.92 kB / 337.4 MB, free: 7.836 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.2323, allocations: 8 kB / 337.4 MB, free: 7.828 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.85e-05/0.2324, allocations: 8 kB / 337.4 MB, free: 7.82 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.2325, allocations: 7.984 kB / 337.4 MB, free: 7.812 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.2325, allocations: 12.05 kB / 337.4 MB, free: 7.801 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.026e-05/0.2326, allocations: 119.2 kB / 337.6 MB, free: 7.684 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2326, allocations: 0 / 337.6 MB, free: 7.684 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.2329, allocations: 44 kB / 337.6 MB, free: 7.641 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.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 (15): * Single equations (assignments): 14 * 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 9.998e-05/0.233, allocations: 99.23 kB / 337.7 MB, free: 7.535 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004364/0.2334, allocations: 251 kB / 337.9 MB, free: 7.277 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2334, allocations: 0 / 337.9 MB, free: 7.277 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.2337, allocations: 198.5 kB / 338.1 MB, free: 7.07 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.234, allocations: 24.22 kB / 338.2 MB, free: 7.047 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008512/0.2349, allocations: 0.6162 MB / 338.8 MB, free: 6.406 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.2352, allocations: 0.7284 MB / 339.5 MB, free: 5.652 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.111e-05/0.2353, allocations: 13.55 kB / 339.5 MB, free: 5.641 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.2353, allocations: 15.44 kB / 339.5 MB, free: 5.625 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2353, allocations: 0 / 339.5 MB, free: 5.625 MB / 270.1 MB Notification: Performance of Templates: time 0.004407/0.2398, allocations: 1.668 MB / 341.2 MB, free: 3.957 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1)