Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [: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.004456/0.004456, allocations: 179 kB / 7.453 MB, free: 2.516 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.359/1.359, allocations: 170.6 MB / 178.4 MB, free: 15.43 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.001733/0.001733, allocations: 107.8 kB / 217.7 MB, free: 8.203 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.146e-06/8.186e-06, allocations: 4 kB / 261.7 MB, free: 26.63 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09501/0.09503, allocations: 38.76 MB / 300.5 MB, free: 3.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2989/0.394, allocations: 67.03 MB / 367.5 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.3943, allocations: 67.7 kB / 367.6 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.009266/0.4036, allocations: 3.337 MB / 370.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.4036, allocations: 6.406 kB / 370.9 MB, free: 14.74 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006043/0.4042, allocations: 477.8 kB / 371.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4043, allocations: 8.031 kB / 371.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.4044, allocations: 27.72 kB / 371.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.4047, allocations: 223.9 kB / 371.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.4047, allocations: 8 kB / 371.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.4047, allocations: 15.91 kB / 371.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000219/0.405, allocations: 107.9 kB / 371.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.4052, allocations: 168 kB / 372 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.4053, allocations: 4 kB / 372 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.4053, allocations: 0 / 372 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.4053, allocations: 7.906 kB / 372 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009636/0.4063, allocations: 0.6587 MB / 372.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.4064, allocations: 94.89 kB / 372.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.317e-05/0.4065, allocations: 57.17 kB / 372.8 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.4066, allocations: 4 kB / 372.8 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.4066, allocations: 30.56 kB / 372.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.4066, allocations: 4 kB / 372.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.001362/0.408, allocations: 0.7429 MB / 373.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.408, allocations: 51.62 kB / 373.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.4082, allocations: 149.4 kB / 373.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.4082, allocations: 37.64 kB / 373.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.4083, allocations: 134.5 kB / 373.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-05/0.4084, allocations: 84.78 kB / 374 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.4084, allocations: 0 / 374 MB, free: 11.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.4085, allocations: 329.8 kB / 374.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.138e-05/0.4086, allocations: 41.88 kB / 374.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.4088, allocations: 92.66 kB / 374.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.4089, allocations: 60.97 kB / 374.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4089, allocations: 0 / 374.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003709/0.4093, allocations: 216.6 kB / 374.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.4093, allocations: 4 kB / 374.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.4093, allocations: 4 kB / 374.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.4095, allocations: 32.59 kB / 374.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.4097, allocations: 55.28 kB / 374.8 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.411, allocations: 1.317 MB / 376.1 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.4111, allocations: 4 kB / 376.1 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.4112, allocations: 11.38 kB / 376.2 MB, free: 9.645 MB / 266.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 (28): * Single equations (assignments): 27 * 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.775e-05/0.4113, allocations: 113.1 kB / 376.3 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.4113, allocations: 19.81 kB / 376.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/0.4114, allocations: 24.09 kB / 376.3 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4114, allocations: 3.906 kB / 376.3 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4114, allocations: 4 kB / 376.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4114, allocations: 0 / 376.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007903/0.4122, allocations: 0.5748 MB / 376.9 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.4122, allocations: 0 / 376.9 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.4125, allocations: 51.53 kB / 376.9 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.4126, allocations: 29.69 kB / 377 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.4126, allocations: 4 kB / 377 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.4137, allocations: 1.316 MB / 378.3 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.4138, allocations: 12.06 kB / 378.3 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004757/0.4142, allocations: 390.6 kB / 378.7 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.012e-05/0.4143, allocations: 103.7 kB / 378.8 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.4144, allocations: 4 kB / 378.8 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.4145, allocations: 4 kB / 378.8 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.4146, allocations: 15.97 kB / 378.8 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.4146, allocations: 11.38 kB / 378.8 MB, free: 6.988 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.419e-05/0.4147, allocations: 117.1 kB / 378.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003293/0.415, allocations: 48 kB / 379 MB, free: 6.84 MB / 266.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 (21): * Single equations (assignments): 20 * 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.0001485/0.4152, allocations: 107.1 kB / 379.1 MB, free: 6.727 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004018/0.4156, allocations: 248 kB / 379.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4156, allocations: 3.938 kB / 379.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.4158, allocations: 182.4 kB / 379.5 MB, free: 6.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.4161, allocations: 44.64 kB / 379.6 MB, free: 6.305 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009776/0.4171, allocations: 0.5113 MB / 380.1 MB, free: 5.797 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004107/0.4175, allocations: 0.7702 MB / 380.8 MB, free: 5 MB / 266.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4176, allocations: 0 / 380.8 MB, free: 5 MB / 266.7 MB Notification: Performance of Templates: time 0.005829/0.4234, allocations: 2.234 MB / 383.1 MB, free: 2.773 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1)