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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008237/0.0008236, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008414/0.0008415, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006334/0.0006334, allocations: 8 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2873, allocations: 47.59 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.00222/0.2896, allocations: 1.97 MB / 328.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009295/0.2905, allocations: 0.5846 MB / 329 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.2907, allocations: 7.906 kB / 329 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.2908, allocations: 32.69 kB / 329.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.2909, allocations: 59.42 kB / 329.1 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.2911, allocations: 38.03 kB / 329.2 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.2914, allocations: 235.9 kB / 329.4 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.2916, allocations: 71.5 kB / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.2917, allocations: 88.27 kB / 329.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.2919, allocations: 86.72 kB / 329.6 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.2919, allocations: 10.28 kB / 329.6 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.32e-05/0.292, allocations: 10.81 kB / 329.7 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.292, allocations: 33.97 kB / 329.7 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.2921, allocations: 68.48 kB / 329.8 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.2923, allocations: 175.6 kB / 329.9 MB, free: 14.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.2923, allocations: 1.156 kB / 329.9 MB, free: 14.76 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2923, allocations: 0 / 329.9 MB, free: 14.76 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2923, allocations: 4 kB / 329.9 MB, free: 14.75 MB / 270.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.0006698/0.293, allocations: 484 kB / 330.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.293, allocations: 9.188 kB / 330.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.2931, allocations: 24.62 kB / 330.4 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.2933, allocations: 245.6 kB / 330.7 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2934, allocations: 12.28 kB / 330.7 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.2934, allocations: 25.41 kB / 330.7 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.2938, allocations: 211.1 kB / 330.9 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.2939, allocations: 1.125 kB / 330.9 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.2939, allocations: 10.25 kB / 330.9 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.2939, allocations: 4.844 kB / 330.9 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.2942, allocations: 128.7 kB / 331.1 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.2952, allocations: 0.7256 MB / 331.8 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.2955, allocations: 145.4 kB / 331.9 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.2957, allocations: 65.59 kB / 332 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.2957, allocations: 2.562 kB / 332 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.2957, allocations: 48.84 kB / 332 MB, free: 13.01 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.2957, allocations: 3.938 kB / 332 MB, free: 13.01 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.001514/0.2973, allocations: 0.8784 MB / 332.9 MB, free: 12.32 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.2973, allocations: 58.05 kB / 333 MB, free: 12.25 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.2975, allocations: 172.7 kB / 333.1 MB, free: 12.11 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.2975, allocations: 29.7 kB / 333.2 MB, free: 12.07 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.2976, allocations: 146.5 kB / 333.3 MB, free: 11.94 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/0.2977, allocations: 81.27 kB / 333.4 MB, free: 11.87 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.022e-05/0.2977, allocations: 9.312 kB / 333.4 MB, free: 11.86 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.2978, allocations: 331.5 kB / 333.7 MB, free: 11.53 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.2979, allocations: 59.84 kB / 333.8 MB, free: 11.5 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.2981, allocations: 95.47 kB / 333.9 MB, free: 11.43 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.2982, allocations: 81.73 kB / 334 MB, free: 11.39 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.2982, allocations: 0 / 334 MB, free: 11.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004307/0.2987, allocations: 260.9 kB / 334.2 MB, free: 11.24 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2987, allocations: 9.5 kB / 334.2 MB, free: 11.24 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.2987, allocations: 1.281 kB / 334.2 MB, free: 11.24 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.2989, allocations: 29.59 kB / 334.3 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.2991, allocations: 52.66 kB / 334.3 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.3002, allocations: 1.375 MB / 335.7 MB, free: 9.812 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.3003, allocations: 9.75 kB / 335.7 MB, free: 9.809 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.3004, allocations: 10.59 kB / 335.7 MB, free: 9.805 MB / 270.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 () * Number of clocked 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 0.0001249/0.3005, allocations: 139.8 kB / 335.8 MB, free: 9.664 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.3005, allocations: 19.77 kB / 335.9 MB, free: 9.645 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.037e-05/0.3006, allocations: 29.86 kB / 335.9 MB, free: 9.617 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3006, allocations: 7.938 kB / 335.9 MB, free: 9.609 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3006, allocations: 0 / 335.9 MB, free: 9.609 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3006, allocations: 0 / 335.9 MB, free: 9.609 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008678/0.3015, allocations: 0.653 MB / 336.5 MB, free: 8.887 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3015, allocations: 0 / 336.5 MB, free: 8.887 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.3017, allocations: 47.91 kB / 336.6 MB, free: 8.84 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.3018, allocations: 36.83 kB / 336.6 MB, free: 8.801 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.3019, allocations: 12.02 kB / 336.6 MB, free: 8.789 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000999/0.3029, allocations: 1.382 MB / 338 MB, free: 7.273 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3029, allocations: 0 / 338 MB, free: 7.273 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/0.3034, allocations: 410.4 kB / 338.4 MB, free: 6.848 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.3035, allocations: 92.83 kB / 338.5 MB, free: 6.738 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.3035, allocations: 8 kB / 338.5 MB, free: 6.73 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.3037, allocations: 8 kB / 338.5 MB, free: 6.723 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.3037, allocations: 19.97 kB / 338.6 MB, free: 6.703 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.3037, allocations: 4 kB / 338.6 MB, free: 6.699 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.191e-05/0.3038, allocations: 124.8 kB / 338.7 MB, free: 6.578 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3038, allocations: 0 / 338.7 MB, free: 6.578 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003225/0.3042, allocations: 60 kB / 338.7 MB, free: 6.52 MB / 270.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 () * Number of clocked 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.000115/0.3043, allocations: 111.2 kB / 338.8 MB, free: 6.398 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004874/0.3048, allocations: 298.4 kB / 339.1 MB, free: 6.094 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3048, allocations: 256 / 339.1 MB, free: 6.094 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.3051, allocations: 222.5 kB / 339.4 MB, free: 5.863 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.3055, allocations: 35.94 kB / 339.4 MB, free: 5.828 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.3067, allocations: 0.8252 MB / 340.2 MB, free: 4.977 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.307, allocations: 0.7482 MB / 341 MB, free: 4.203 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.32e-05/0.3071, allocations: 17.95 kB / 341 MB, free: 4.184 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.3072, allocations: 19.44 kB / 341 MB, free: 4.164 MB / 270.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3072, allocations: 0 / 341 MB, free: 4.164 MB / 270.1 MB Notification: Performance of Templates: time 0.004901/0.3121, allocations: 2.147 MB / 343.1 MB, free: 2.02 MB / 270.1 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)