Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.001051, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001153/0.001154, allocations: 178.4 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.4 MB / 223.4 MB, free: 5.328 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.0004747/0.0004748, allocations: 8 kB / 280.1 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2786, allocations: 47.58 MB / 327.7 MB, free: 1.484 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002378/0.2811, allocations: 1.944 MB / 329.6 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2823, allocations: 0.5978 MB / 330.2 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.2825, allocations: 7.344 kB / 330.2 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.531e-05/0.2825, allocations: 23.62 kB / 330.3 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.2828, allocations: 91.77 kB / 330.4 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.2829, allocations: 46.12 kB / 330.4 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.2833, allocations: 196.2 kB / 330.6 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.2835, allocations: 86.62 kB / 330.7 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.2836, allocations: 97.36 kB / 330.8 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.2838, allocations: 100.5 kB / 330.9 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.2838, allocations: 12.66 kB / 330.9 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.089e-05/0.2839, allocations: 12.78 kB / 330.9 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.2839, allocations: 47.25 kB / 330.9 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.667e-05/0.284, allocations: 75.14 kB / 331 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.2842, allocations: 206.3 kB / 331.2 MB, free: 14.82 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.2842, allocations: 3.938 kB / 331.2 MB, free: 14.82 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2842, allocations: 0 / 331.2 MB, free: 14.82 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2843, allocations: 4 kB / 331.2 MB, free: 14.82 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000912/0.2852, allocations: 0.5038 MB / 331.7 MB, free: 14.35 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2852, allocations: 10.03 kB / 331.7 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.374e-05/0.2853, allocations: 32.55 kB / 331.8 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.2856, allocations: 232.6 kB / 332 MB, free: 14.08 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.2856, allocations: 22.19 kB / 332 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.313e-05/0.2857, allocations: 29.66 kB / 332 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.2862, allocations: 224.7 kB / 332.3 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.2862, allocations: 4.969 kB / 332.3 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.2863, allocations: 9.797 kB / 332.3 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.2863, allocations: 6.5 kB / 332.3 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.2867, allocations: 185.7 kB / 332.5 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.288, allocations: 0.7698 MB / 333.2 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005763/0.2886, allocations: 225.2 kB / 333.5 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.2886, allocations: 6.859 kB / 333.5 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.2887, allocations: 39.59 kB / 333.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of pre-optimization done (n=26): time 3.126e-06/0.2887, allocations: 5.062 kB / 333.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of matching and sorting (n=28): time 0.002092/0.2908, allocations: 0.9866 MB / 334.5 MB, free: 12.28 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.2908, allocations: 58.59 kB / 334.6 MB, free: 12.21 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.291, allocations: 157.6 kB / 334.7 MB, free: 12.09 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.291, allocations: 31.17 kB / 334.7 MB, free: 12.05 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.554e-05/0.2911, allocations: 143 kB / 334.9 MB, free: 11.91 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.438e-05/0.2912, allocations: 97.66 kB / 335 MB, free: 11.83 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/0.2913, allocations: 6.156 kB / 335 MB, free: 11.82 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2914, allocations: 331.1 kB / 335.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.2916, allocations: 79.36 kB / 335.4 MB, free: 11.46 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.2918, allocations: 125.4 kB / 335.5 MB, free: 11.38 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.292, allocations: 91.98 kB / 335.6 MB, free: 11.29 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.292, allocations: 4 kB / 335.6 MB, free: 11.28 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004685/0.2925, allocations: 269.2 kB / 335.9 MB, free: 11.01 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2925, allocations: 4.094 kB / 335.9 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.2925, allocations: 11.88 kB / 335.9 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2926, allocations: 4 kB / 335.9 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.2928, allocations: 79.89 kB / 336 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.2929, allocations: 4 kB / 336 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.293, allocations: 19.97 kB / 336 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.293, allocations: 8 kB / 336 MB, free: 10.88 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.2932, allocations: 141.8 kB / 336.1 MB, free: 10.73 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.2932, allocations: 19.77 kB / 336.1 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.2933, allocations: 30.55 kB / 336.2 MB, free: 10.69 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2933, allocations: 4 kB / 336.2 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.2933, allocations: 0 / 336.2 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.2933, allocations: 0 / 336.2 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.2944, allocations: 0.6637 MB / 336.8 MB, free: 9.957 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2944, allocations: 4 kB / 336.8 MB, free: 9.953 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.2947, allocations: 75.89 kB / 336.9 MB, free: 9.879 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.2947, allocations: 8.062 kB / 336.9 MB, free: 9.871 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.2948, allocations: 4 kB / 336.9 MB, free: 9.867 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2948, allocations: 4 kB / 336.9 MB, free: 9.863 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2948, allocations: 0 / 336.9 MB, free: 9.863 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007377/0.2955, allocations: 485 kB / 337.4 MB, free: 9.355 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.2956, allocations: 88.92 kB / 337.5 MB, free: 9.25 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.2956, allocations: 8.062 kB / 337.5 MB, free: 9.242 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.2958, allocations: 19.98 kB / 337.5 MB, free: 9.223 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.2958, allocations: 23.92 kB / 337.5 MB, free: 9.199 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.2959, allocations: 4.125 kB / 337.6 MB, free: 9.195 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.94e-05/0.296, allocations: 119.2 kB / 337.7 MB, free: 9.078 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.296, allocations: 0 / 337.7 MB, free: 9.078 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003004/0.2963, allocations: 56 kB / 337.7 MB, free: 9.023 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.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 (28): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000128/0.2964, allocations: 107.2 kB / 337.8 MB, free: 8.906 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004352/0.2968, allocations: 203.8 kB / 338 MB, free: 8.707 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2969, allocations: 3.938 kB / 338 MB, free: 8.703 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.2971, allocations: 113.2 kB / 338.1 MB, free: 8.594 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.2974, allocations: 35.92 kB / 338.2 MB, free: 8.559 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.2992, allocations: 0.9962 MB / 339.2 MB, free: 7.535 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/0.2997, allocations: 0.7602 MB / 339.9 MB, free: 6.746 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.23e-05/0.2998, allocations: 17.95 kB / 340 MB, free: 6.727 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.2999, allocations: 19.44 kB / 340 MB, free: 6.707 MB / 270.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2999, allocations: 0 / 340 MB, free: 6.707 MB / 270.1 MB Notification: Performance of Templates: time 0.004696/0.3046, allocations: 1.903 MB / 341.9 MB, free: 4.805 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) Environment - environmentSimulation: