Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001697/0.001697, allocations: 188.1 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.43/1.43, allocations: 194.3 MB / 203.1 MB, free: 9.328 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001604/0.001604, allocations: 114.7 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.84e-05/1.825e-05, allocations: 4 kB / 298.1 MB, free: 8.262 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.094/0.09404, allocations: 44.51 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2801/0.3741, allocations: 72.39 MB / 415 MB, free: 23.41 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.3744, allocations: 71.83 kB / 415 MB, free: 23.37 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.008891/0.3833, allocations: 3.629 MB / 418.7 MB, free: 20.45 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3833, allocations: 0 / 418.7 MB, free: 20.45 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.3834, allocations: 15.27 kB / 418.7 MB, free: 20.43 MB / 315.1 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.0004907/0.3839, allocations: 468.4 kB / 419.1 MB, free: 19.95 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3839, allocations: 8.031 kB / 419.1 MB, free: 19.94 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.384, allocations: 29.42 kB / 419.2 MB, free: 19.91 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.3842, allocations: 228.4 kB / 419.4 MB, free: 19.66 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3842, allocations: 12.95 kB / 419.4 MB, free: 19.65 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.3843, allocations: 15.81 kB / 419.4 MB, free: 19.64 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001789/0.3845, allocations: 95.8 kB / 419.5 MB, free: 19.58 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.3847, allocations: 175.5 kB / 419.7 MB, free: 19.43 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.3847, allocations: 7.906 kB / 419.7 MB, free: 19.43 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.3848, allocations: 0 / 419.7 MB, free: 19.43 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3848, allocations: 4 kB / 419.7 MB, free: 19.42 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008013/0.3856, allocations: 0.653 MB / 420.4 MB, free: 18.84 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.3858, allocations: 129.2 kB / 420.5 MB, free: 18.74 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.413e-05/0.3858, allocations: 57.17 kB / 420.5 MB, free: 18.7 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.3859, allocations: 8 kB / 420.5 MB, free: 18.69 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.3859, allocations: 42.53 kB / 420.6 MB, free: 18.64 MB / 315.1 MB Notification: Performance of pre-optimization done (n=20): time 1.242e-06/0.3859, allocations: 0 / 420.6 MB, free: 18.64 MB / 315.1 MB Notification: Performance of matching and sorting (n=24): time 0.001027/0.3869, allocations: 0.7476 MB / 421.3 MB, free: 17.89 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.387, allocations: 59.22 kB / 421.4 MB, free: 17.83 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.3871, allocations: 138 kB / 421.5 MB, free: 17.7 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3871, allocations: 33.56 kB / 421.6 MB, free: 17.66 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.3871, allocations: 143.7 kB / 421.7 MB, free: 17.54 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.3872, allocations: 83.06 kB / 421.8 MB, free: 17.46 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-06/0.3872, allocations: 0 / 421.8 MB, free: 17.46 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.346e-05/0.3873, allocations: 329.7 kB / 422.1 MB, free: 17.14 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/0.3873, allocations: 48.19 kB / 422.1 MB, free: 17.11 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.946e-05/0.3874, allocations: 96.52 kB / 422.2 MB, free: 17.03 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.454e-05/0.3875, allocations: 59.47 kB / 422.3 MB, free: 16.99 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3875, allocations: 0 / 422.3 MB, free: 16.99 MB / 315.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003284/0.3879, allocations: 214.2 kB / 422.5 MB, free: 16.81 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3879, allocations: 8.734 kB / 422.5 MB, free: 16.8 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3879, allocations: 2.25 kB / 422.5 MB, free: 16.8 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/0.3881, allocations: 35.59 kB / 422.6 MB, free: 16.77 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.3883, allocations: 47.97 kB / 422.6 MB, free: 16.73 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007463/0.3891, allocations: 1.327 MB / 423.9 MB, free: 15.36 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.3892, allocations: 4.031 kB / 423.9 MB, free: 15.36 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.3892, allocations: 8 kB / 423.9 MB, free: 15.35 MB / 315.1 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 5.738e-05/0.3893, allocations: 116.1 kB / 424.1 MB, free: 15.23 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.3893, allocations: 20.84 kB / 424.1 MB, free: 15.21 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.3894, allocations: 21.39 kB / 424.1 MB, free: 15.2 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3894, allocations: 4 kB / 424.1 MB, free: 15.2 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3894, allocations: 0 / 424.1 MB, free: 15.2 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3894, allocations: 5.344 kB / 424.1 MB, free: 15.2 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005824/0.39, allocations: 0.5931 MB / 424.7 MB, free: 14.63 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.39, allocations: 0 / 424.7 MB, free: 14.63 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.3902, allocations: 47.91 kB / 424.7 MB, free: 14.58 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.235e-05/0.3903, allocations: 32.62 kB / 424.8 MB, free: 14.55 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3903, allocations: 64 / 424.8 MB, free: 14.55 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006636/0.391, allocations: 1.327 MB / 426.1 MB, free: 13.19 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.391, allocations: 1.938 kB / 426.1 MB, free: 13.19 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.3914, allocations: 383.8 kB / 426.5 MB, free: 12.85 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.3914, allocations: 96.95 kB / 426.6 MB, free: 12.73 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.3915, allocations: 7.953 kB / 426.6 MB, free: 12.73 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.3916, allocations: 4 kB / 426.6 MB, free: 12.72 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.3916, allocations: 19.09 kB / 426.6 MB, free: 12.71 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.3916, allocations: 7.188 kB / 426.6 MB, free: 12.7 MB / 315.1 MB Notification: Performance of sorting global known variables: time 7.46e-05/0.3917, allocations: 114.3 kB / 426.7 MB, free: 12.6 MB / 315.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3917, allocations: 0 / 426.7 MB, free: 12.6 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.392, allocations: 48 kB / 426.8 MB, free: 12.55 MB / 315.1 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.0001181/0.3921, allocations: 103.2 kB / 426.9 MB, free: 12.45 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0003762/0.3925, allocations: 256.3 kB / 427.1 MB, free: 12.23 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3925, allocations: 0 / 427.1 MB, free: 12.23 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.3927, allocations: 195.7 kB / 427.3 MB, free: 12.05 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.3931, allocations: 35.05 kB / 427.3 MB, free: 12.03 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007816/0.3939, allocations: 0.5184 MB / 427.9 MB, free: 11.52 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.394, allocations: 0.7597 MB / 428.6 MB, free: 10.73 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 7.144e-05/0.3941, allocations: 14.08 kB / 428.6 MB, free: 10.72 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.3942, allocations: 19.44 kB / 428.7 MB, free: 10.7 MB / 315.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3942, allocations: 4 kB / 428.7 MB, free: 10.7 MB / 315.1 MB Notification: Performance of Templates: time 0.004252/0.3984, allocations: 2.051 MB / 430.7 MB, free: 8.715 MB / 315.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1)