Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.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.001241/0.001241, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.00113/0.00113, allocations: 177.3 kB / 15.94 MB, free: 228 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.66/1.66, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.0005563/0.0005566, allocations: 12 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.267, allocations: 47.58 MB / 326.4 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002013/0.269, allocations: 1.683 MB / 328.1 MB, free: 124 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009285/0.27, allocations: 0.5524 MB / 328.7 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.2701, allocations: 5.219 kB / 328.7 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.633e-05/0.2702, allocations: 26.84 kB / 328.7 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.2703, allocations: 62.78 kB / 328.8 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.2705, allocations: 38.56 kB / 328.8 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.2708, allocations: 139.3 kB / 328.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.271, allocations: 53.7 kB / 329 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.557e-05/0.2711, allocations: 64.14 kB / 329.1 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.2712, allocations: 75.39 kB / 329.1 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.2712, allocations: 12.59 kB / 329.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.979e-05/0.2713, allocations: 9.5 kB / 329.2 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.2713, allocations: 24.77 kB / 329.2 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.2714, allocations: 57.77 kB / 329.2 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.2715, allocations: 156.6 kB / 329.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.2715, allocations: 1.5 kB / 329.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2716, allocations: 0 / 329.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.2716, allocations: 0 / 329.4 MB, free: 15.18 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.0006221/0.2722, allocations: 458.4 kB / 329.8 MB, free: 14.74 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2722, allocations: 9.156 kB / 329.8 MB, free: 14.74 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.2723, allocations: 18.03 kB / 329.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.2725, allocations: 219 kB / 330.1 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.2726, allocations: 14.25 kB / 330.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.2726, allocations: 18.92 kB / 330.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.2729, allocations: 154.1 kB / 330.3 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.273, allocations: 9.25 kB / 330.3 MB, free: 14.37 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.273, allocations: 5.031 kB / 330.3 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.273, allocations: 7.984 kB / 330.3 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000258/0.2733, allocations: 109.2 kB / 330.4 MB, free: 14.31 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009683/0.2742, allocations: 0.5886 MB / 331 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.2745, allocations: 106.9 kB / 331.1 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.2745, allocations: 5.062 kB / 331.1 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.2746, allocations: 44.59 kB / 331.1 MB, free: 13.67 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.2746, allocations: 0 / 331.1 MB, free: 13.67 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001536/0.2761, allocations: 0.8049 MB / 331.9 MB, free: 13 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.2762, allocations: 53.5 kB / 332 MB, free: 12.94 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.2763, allocations: 159.7 kB / 332.1 MB, free: 12.81 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.2764, allocations: 30.7 kB / 332.2 MB, free: 12.77 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.835e-05/0.2765, allocations: 136 kB / 332.3 MB, free: 12.64 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.2765, allocations: 58.64 kB / 332.4 MB, free: 12.59 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.2765, allocations: 5.156 kB / 332.4 MB, free: 12.59 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2767, allocations: 330.7 kB / 332.7 MB, free: 12.26 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.2768, allocations: 44.47 kB / 332.7 MB, free: 12.24 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.2769, allocations: 81.88 kB / 332.8 MB, free: 12.18 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.2771, allocations: 53.22 kB / 332.9 MB, free: 12.16 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2771, allocations: 0 / 332.9 MB, free: 12.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003888/0.2775, allocations: 212 kB / 333.1 MB, free: 12.03 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2775, allocations: 5.25 kB / 333.1 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2775, allocations: 5.016 kB / 333.1 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001875/0.2777, allocations: 39.92 kB / 333.1 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.2779, allocations: 30.27 kB / 333.2 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.2792, allocations: 1.437 MB / 334.6 MB, free: 10.57 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.953e-05/0.2793, allocations: 8.156 kB / 334.6 MB, free: 10.56 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.2794, allocations: 5.156 kB / 334.6 MB, free: 10.56 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.0001435/0.2795, allocations: 152.4 kB / 334.7 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.2795, allocations: 14.22 kB / 334.8 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.2796, allocations: 20.14 kB / 334.8 MB, free: 10.39 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2796, allocations: 2.938 kB / 334.8 MB, free: 10.39 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.2796, allocations: 1.438 kB / 334.8 MB, free: 10.39 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2796, allocations: 0 / 334.8 MB, free: 10.39 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008265/0.2805, allocations: 0.6014 MB / 335.4 MB, free: 9.855 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2805, allocations: 0 / 335.4 MB, free: 9.855 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.2806, allocations: 27.2 kB / 335.4 MB, free: 9.852 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/0.2807, allocations: 28.72 kB / 335.4 MB, free: 9.836 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.2808, allocations: 5.219 kB / 335.4 MB, free: 9.832 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.2818, allocations: 1.381 MB / 336.8 MB, free: 8.434 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2818, allocations: 3.953 kB / 336.8 MB, free: 8.43 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.2823, allocations: 347.4 kB / 337.2 MB, free: 8.074 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.2824, allocations: 92.91 kB / 337.3 MB, free: 7.965 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.2824, allocations: 0 / 337.3 MB, free: 7.965 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.2825, allocations: 11.94 kB / 337.3 MB, free: 7.953 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.2826, allocations: 16.03 kB / 337.3 MB, free: 7.938 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.2826, allocations: 8 kB / 337.3 MB, free: 7.93 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.931e-05/0.2827, allocations: 119.2 kB / 337.4 MB, free: 7.812 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2827, allocations: 0 / 337.4 MB, free: 7.812 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.283, allocations: 40 kB / 337.5 MB, free: 7.773 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 0.0001466/0.2831, allocations: 103.2 kB / 337.6 MB, free: 7.664 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004847/0.2836, allocations: 254.9 kB / 337.8 MB, free: 7.402 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2836, allocations: 0 / 337.8 MB, free: 7.402 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.2839, allocations: 194.5 kB / 338 MB, free: 7.199 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.2842, allocations: 16.27 kB / 338 MB, free: 7.184 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.2853, allocations: 0.5969 MB / 338.6 MB, free: 6.562 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.2857, allocations: 0.74 MB / 339.3 MB, free: 5.797 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.023e-05/0.2858, allocations: 13.55 kB / 339.4 MB, free: 5.785 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.2858, allocations: 27.36 kB / 339.4 MB, free: 5.758 MB / 270.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2858, allocations: 0 / 339.4 MB, free: 5.758 MB / 270.1 MB Notification: Performance of Templates: time 0.004523/0.2903, allocations: 1.658 MB / 341 MB, free: 4.098 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) Environment - environmentSimulation: