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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004777/0.004777, allocations: 173.2 kB / 7.449 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.175/1.175, allocations: 170.6 MB / 178.4 MB, free: 15.8 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001956/0.001956, allocations: 111.8 kB / 217.7 MB, free: 8.582 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.122e-06/6.242e-06, allocations: 0 / 261.7 MB, free: 26.74 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09511/0.09513, allocations: 38.76 MB / 300.5 MB, free: 3.984 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3073/0.4025, allocations: 67.1 MB / 367.6 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.4029, allocations: 64.03 kB / 367.7 MB, free: 1.395 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.008248/0.4111, allocations: 2.693 MB / 370.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.4112, allocations: 4 kB / 370.4 MB, free: 15.23 MB / 266.7 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.0006538/0.4118, allocations: 432.3 kB / 370.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.4119, allocations: 12.03 kB / 370.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.412, allocations: 23.66 kB / 370.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.4123, allocations: 217.3 kB / 371 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.4124, allocations: 4 kB / 371 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.363e-05/0.4124, allocations: 14.69 kB / 371 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002505/0.4127, allocations: 79.61 kB / 371.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.4131, allocations: 124.8 kB / 371.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.4131, allocations: 3.375 kB / 371.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.4131, allocations: 0 / 371.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.4131, allocations: 4 kB / 371.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.4145, allocations: 0.5576 MB / 371.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.4148, allocations: 79.86 kB / 371.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.524e-05/0.4149, allocations: 38.55 kB / 371.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.4149, allocations: 7.25 kB / 371.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.4149, allocations: 30.56 kB / 372 MB, free: 13.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.415, allocations: 0 / 372 MB, free: 13.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.001899/0.4169, allocations: 0.6863 MB / 372.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.4169, allocations: 55.41 kB / 372.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.4171, allocations: 124.5 kB / 372.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.4171, allocations: 25.7 kB / 372.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.604e-05/0.4172, allocations: 126.9 kB / 373 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/0.4173, allocations: 58.2 kB / 373 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-06/0.4173, allocations: 0 / 373 MB, free: 12.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.4175, allocations: 333.4 kB / 373.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.476e-05/0.4176, allocations: 34.06 kB / 373.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.4177, allocations: 70.05 kB / 373.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.4179, allocations: 46.3 kB / 373.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4179, allocations: 0 / 373.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003593/0.4182, allocations: 174.8 kB / 373.7 MB, free: 12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.4183, allocations: 8.062 kB / 373.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4183, allocations: 48 / 373.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002209/0.4185, allocations: 39.7 kB / 373.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.4187, allocations: 39.91 kB / 373.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.4202, allocations: 1.349 MB / 375.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.532e-05/0.4203, allocations: 4 kB / 375.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.4204, allocations: 11.48 kB / 375.1 MB, free: 10.53 MB / 266.7 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 () * 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.0001097/0.4205, allocations: 112.9 kB / 375.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.4205, allocations: 11.91 kB / 375.2 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/0.4206, allocations: 11.88 kB / 375.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4206, allocations: 4 kB / 375.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.4206, allocations: 3.906 kB / 375.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4206, allocations: 0 / 375.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007701/0.4214, allocations: 0.5235 MB / 375.8 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4214, allocations: 4 kB / 375.8 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.4216, allocations: 31.97 kB / 375.8 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.4217, allocations: 24.47 kB / 375.8 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.4217, allocations: 4 kB / 375.9 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.4229, allocations: 1.306 MB / 377.2 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.423, allocations: 0 / 377.2 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004532/0.4234, allocations: 310.4 kB / 377.5 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.4235, allocations: 91.39 kB / 377.6 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.4236, allocations: 0 / 377.6 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.4237, allocations: 7.984 kB / 377.6 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.4237, allocations: 7.984 kB / 377.6 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.4238, allocations: 10.81 kB / 377.6 MB, free: 8.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.878e-05/0.4238, allocations: 105.5 kB / 377.7 MB, free: 7.973 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003258/0.4242, allocations: 39.94 kB / 377.7 MB, free: 7.934 MB / 266.7 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 () * 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.0001734/0.4243, allocations: 99.73 kB / 377.8 MB, free: 7.824 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004205/0.4248, allocations: 209.8 kB / 378 MB, free: 7.641 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4248, allocations: 0 / 378 MB, free: 7.641 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.425, allocations: 177.4 kB / 378.2 MB, free: 7.477 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.4253, allocations: 11.25 kB / 378.2 MB, free: 7.469 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00078/0.4261, allocations: 335.5 kB / 378.5 MB, free: 7.133 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/0.4265, allocations: 0.7503 MB / 379.3 MB, free: 6.359 MB / 266.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4265, allocations: 0 / 379.3 MB, free: 6.359 MB / 266.7 MB Notification: Performance of Templates: time 0.004898/0.4314, allocations: 1.75 MB / 381 MB, free: 4.617 MB / 266.7 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)