Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.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.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First") [: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.005014/0.005014, allocations: 178.6 kB / 7.452 MB, free: 2.238 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.415/1.415, allocations: 170.6 MB / 178.4 MB, free: 15.78 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.001707/0.001707, allocations: 119.8 kB / 217.7 MB, free: 8.543 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.053e-06/7.093e-06, allocations: 0 / 261.7 MB, free: 26.69 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1324, allocations: 38.75 MB / 300.5 MB, free: 3.934 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2968/0.4293, allocations: 67.04 MB / 367.5 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.4295, allocations: 63.66 kB / 367.6 MB, free: 1.367 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.009279/0.4388, allocations: 3.509 MB / 371.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.4389, allocations: 4 kB / 371.1 MB, free: 14.55 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006349/0.4395, allocations: 483.7 kB / 371.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.4395, allocations: 8.031 kB / 371.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.138e-05/0.4396, allocations: 27.7 kB / 371.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.4399, allocations: 238 kB / 371.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.4399, allocations: 4 kB / 371.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.44, allocations: 19.56 kB / 371.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000238/0.4402, allocations: 110.5 kB / 372 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.4405, allocations: 150.7 kB / 372.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.4405, allocations: 3.906 kB / 372.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.4406, allocations: 4 kB / 372.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.4406, allocations: 11.92 kB / 372.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008987/0.4415, allocations: 0.567 MB / 372.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.4416, allocations: 111.7 kB / 372.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.4418, allocations: 90.61 kB / 372.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.4418, allocations: 0 / 372.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.4418, allocations: 37.69 kB / 372.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.132e-06/0.4419, allocations: 0 / 372.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001609/0.4435, allocations: 0.8974 MB / 373.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.4435, allocations: 55.34 kB / 373.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.4436, allocations: 139.5 kB / 374 MB, free: 11.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.4437, allocations: 25.7 kB / 374.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.4438, allocations: 133.3 kB / 374.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.311e-05/0.4439, allocations: 111.9 kB / 374.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/0.4439, allocations: 0 / 374.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.444, allocations: 335.8 kB / 374.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.84e-05/0.4441, allocations: 54 kB / 374.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.4443, allocations: 88.28 kB / 374.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.4444, allocations: 77.19 kB / 374.8 MB, free: 11.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.4444, allocations: 0 / 374.8 MB, free: 11.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004311/0.4448, allocations: 254.8 kB / 375.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.4449, allocations: 4 kB / 375.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4449, allocations: 0 / 375.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001748/0.4451, allocations: 43.16 kB / 375.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.4453, allocations: 55.91 kB / 375.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.4468, allocations: 1.5 MB / 376.7 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.447, allocations: 7.984 kB / 376.7 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.447, allocations: 11.38 kB / 376.7 MB, free: 9.211 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.276e-05/0.4471, allocations: 106.7 kB / 376.8 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.4471, allocations: 23.72 kB / 376.8 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.4472, allocations: 21.53 kB / 376.9 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.4472, allocations: 4.062 kB / 376.9 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.4472, allocations: 4 kB / 376.9 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.4472, allocations: 3.984 kB / 376.9 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009449/0.4482, allocations: 0.6976 MB / 377.6 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4482, allocations: 0 / 377.6 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.4485, allocations: 63.47 kB / 377.6 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/0.4486, allocations: 32.77 kB / 377.7 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.4486, allocations: 0 / 377.7 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.4498, allocations: 1.328 MB / 379 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.4498, allocations: 4.062 kB / 379 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006253/0.4505, allocations: 472.7 kB / 379.5 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.534e-05/0.4506, allocations: 111.7 kB / 379.6 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.4506, allocations: 0 / 379.6 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.4508, allocations: 4 kB / 379.6 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.4508, allocations: 27.69 kB / 379.6 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.4508, allocations: 8 kB / 379.6 MB, free: 6.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.719e-05/0.4509, allocations: 121 kB / 379.7 MB, free: 6.273 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003889/0.4513, allocations: 56 kB / 379.8 MB, free: 6.219 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.000142/0.4515, allocations: 99.23 kB / 379.9 MB, free: 6.113 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005411/0.452, allocations: 299 kB / 380.2 MB, free: 5.863 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4521, allocations: 3.938 kB / 380.2 MB, free: 5.859 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.4524, allocations: 210.2 kB / 380.4 MB, free: 5.672 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.4528, allocations: 32.17 kB / 380.4 MB, free: 5.648 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.454, allocations: 0.5654 MB / 381 MB, free: 5.082 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005585/0.4546, allocations: 0.7809 MB / 381.8 MB, free: 4.281 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.4546, allocations: 0 / 381.8 MB, free: 4.281 MB / 266.7 MB Notification: Performance of Templates: time 0.006226/0.4609, allocations: 2.519 MB / 384.3 MB, free: 1.77 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1)