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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009663/0.0009663, allocations: 169.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.232/1.232, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001598/0.001598, allocations: 110.8 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.366e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07363/0.07367, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2949/0.3686, allocations: 67.76 MB / 375.4 MB, free: 8.453 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.3689, allocations: 68.59 kB / 375.5 MB, free: 8.422 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0108/0.3798, allocations: 3.839 MB / 379.3 MB, free: 5.219 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.438e-06/0.3798, allocations: 4 kB / 379.3 MB, free: 5.215 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.3798, allocations: 4 kB / 379.3 MB, free: 5.211 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.0007117/0.3806, allocations: 475.5 kB / 379.8 MB, free: 4.715 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.903e-05/0.3806, allocations: 8.031 kB / 379.8 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.407e-05/0.3807, allocations: 27.72 kB / 379.8 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.3811, allocations: 233.2 kB / 380 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.3811, allocations: 15 kB / 380.1 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.3812, allocations: 30.3 kB / 380.1 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.3815, allocations: 180.2 kB / 380.3 MB, free: 4.262 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.3815, allocations: 3.25 kB / 380.3 MB, free: 4.262 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.3816, allocations: 11.12 kB / 380.3 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3816, allocations: 8 kB / 380.3 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.3818, allocations: 124.5 kB / 380.4 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.3829, allocations: 0.6265 MB / 381 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.3831, allocations: 165.9 kB / 381.2 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.3833, allocations: 102.6 kB / 381.3 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.3834, allocations: 7.984 kB / 381.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.3834, allocations: 33.88 kB / 381.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.744e-06/0.3834, allocations: 4 kB / 381.3 MB, free: 3.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001859/0.3853, allocations: 0.97 MB / 382.3 MB, free: 2.457 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.3854, allocations: 59.34 kB / 382.4 MB, free: 2.387 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.3856, allocations: 162.5 kB / 382.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.3856, allocations: 29.61 kB / 382.5 MB, free: 2.211 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.3857, allocations: 136.8 kB / 382.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.932e-05/0.3858, allocations: 124.5 kB / 382.8 MB, free: 1.984 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/0.3858, allocations: 3.125 kB / 382.8 MB, free: 1.984 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.386, allocations: 332.9 kB / 383.1 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.3861, allocations: 66.36 kB / 383.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.3863, allocations: 100 kB / 383.3 MB, free: 1.539 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.3864, allocations: 79.89 kB / 383.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3864, allocations: 0 / 383.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004471/0.3869, allocations: 276.3 kB / 383.6 MB, free: 1.273 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.3869, allocations: 8 kB / 383.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.387, allocations: 3.938 kB / 383.7 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.3871, allocations: 44.61 kB / 383.7 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.3874, allocations: 67.77 kB / 383.8 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.3891, allocations: 1.559 MB / 385.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.3893, allocations: 11.72 kB / 385.3 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.3893, allocations: 8 kB / 385.3 MB, free: 15.59 MB / 282.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 0.0001105/0.3894, allocations: 116.6 kB / 385.5 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.3895, allocations: 31.53 kB / 385.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.37e-05/0.3896, allocations: 29.72 kB / 385.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3896, allocations: 4 kB / 385.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3896, allocations: 0 / 385.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3896, allocations: 7.984 kB / 385.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.3907, allocations: 0.7676 MB / 386.3 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3907, allocations: 0 / 386.3 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.391, allocations: 67.8 kB / 386.4 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/0.3911, allocations: 28.78 kB / 386.4 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.3912, allocations: 7.75 kB / 386.4 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.3924, allocations: 1.379 MB / 387.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3924, allocations: 0 / 387.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006561/0.3931, allocations: 0.4919 MB / 388.3 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.3932, allocations: 112.4 kB / 388.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.3933, allocations: 11.89 kB / 388.4 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.3934, allocations: 7.688 kB / 388.4 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.3935, allocations: 23.72 kB / 388.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.3935, allocations: 7.875 kB / 388.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.3936, allocations: 138.5 kB / 388.6 MB, free: 12.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3936, allocations: 3.938 kB / 388.6 MB, free: 12.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003989/0.394, allocations: 67.75 kB / 388.6 MB, free: 12.42 MB / 282.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.0001739/0.3942, allocations: 107.2 kB / 388.7 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006677/0.3949, allocations: 335.7 kB / 389.1 MB, free: 12.03 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3949, allocations: 0 / 389.1 MB, free: 12.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.3953, allocations: 233.5 kB / 389.3 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.3957, allocations: 36.25 kB / 389.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.3968, allocations: 0.585 MB / 389.9 MB, free: 11.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.3972, allocations: 0.7678 MB / 390.7 MB, free: 10.44 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.303e-05/0.3973, allocations: 26.06 kB / 390.7 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.3974, allocations: 27.36 kB / 390.7 MB, free: 10.38 MB / 282.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3974, allocations: 0 / 390.7 MB, free: 10.38 MB / 282.7 MB Notification: Performance of Templates: time 0.006113/0.4035, allocations: 2.423 MB / 393.2 MB, free: 7.973 MB / 282.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)