Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001075/0.001075, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001102/0.001102, allocations: 177.3 kB / 15.94 MB, free: 228 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.443/1.443, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.0004874/0.0004875, allocations: 8 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2615, allocations: 47.59 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002185/0.2637, allocations: 1.879 MB / 328.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2648, allocations: 0.6023 MB / 328.9 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.2649, allocations: 4.156 kB / 328.9 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.183e-05/0.265, allocations: 27.22 kB / 329 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.2652, allocations: 82.16 kB / 329 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.2654, allocations: 39.08 kB / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.2656, allocations: 180 kB / 329.2 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.2658, allocations: 67.78 kB / 329.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.2659, allocations: 81.52 kB / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.2661, allocations: 91.41 kB / 329.5 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.2661, allocations: 10.31 kB / 329.5 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.383e-05/0.2662, allocations: 10.78 kB / 329.5 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.704e-05/0.2662, allocations: 42.08 kB / 329.5 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.2663, allocations: 59.77 kB / 329.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.2664, allocations: 180.1 kB / 329.8 MB, free: 14.87 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.2665, allocations: 7.938 kB / 329.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2665, allocations: 0 / 329.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.2665, allocations: 0 / 329.8 MB, free: 14.86 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.0007319/0.2672, allocations: 484.6 kB / 330.3 MB, free: 14.41 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2673, allocations: 9 kB / 330.3 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.021e-05/0.2673, allocations: 24.22 kB / 330.3 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.2676, allocations: 241.2 kB / 330.5 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.2676, allocations: 16.34 kB / 330.5 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/0.2677, allocations: 21.75 kB / 330.6 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.2681, allocations: 209.8 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.2681, allocations: 1.281 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.2681, allocations: 9.219 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.2681, allocations: 5.969 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.2684, allocations: 128.6 kB / 330.9 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.2694, allocations: 0.7175 MB / 331.6 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.2698, allocations: 145.3 kB / 331.8 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.2698, allocations: 3.094 kB / 331.8 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.2698, allocations: 35.91 kB / 331.8 MB, free: 13.18 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.2698, allocations: 0 / 331.8 MB, free: 13.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.001659/0.2715, allocations: 0.8911 MB / 332.7 MB, free: 12.47 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.2715, allocations: 58.25 kB / 332.8 MB, free: 12.41 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.2717, allocations: 174.7 kB / 332.9 MB, free: 12.26 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.2718, allocations: 31.08 kB / 333 MB, free: 12.23 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.601e-05/0.2719, allocations: 146.6 kB / 333.1 MB, free: 12.09 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.753e-05/0.2719, allocations: 81.47 kB / 333.2 MB, free: 12.02 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.272, allocations: 9.812 kB / 333.2 MB, free: 12.01 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2721, allocations: 330.2 kB / 333.5 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.2722, allocations: 55.45 kB / 333.6 MB, free: 11.66 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.2724, allocations: 102.3 kB / 333.7 MB, free: 11.58 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.2726, allocations: 74.17 kB / 333.7 MB, free: 11.55 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2726, allocations: 1.031 kB / 333.7 MB, free: 11.55 MB / 270.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004674/0.2731, allocations: 252.1 kB / 334 MB, free: 11.41 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.2731, allocations: 9.719 kB / 334 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2731, allocations: 5.109 kB / 334 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.2733, allocations: 37.72 kB / 334 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.2736, allocations: 48.41 kB / 334.1 MB, free: 11.37 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.2749, allocations: 1.389 MB / 335.5 MB, free: 9.961 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.275, allocations: 9.625 kB / 335.5 MB, free: 9.957 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.275, allocations: 6.312 kB / 335.5 MB, free: 9.957 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.0001502/0.2752, allocations: 142.6 kB / 335.6 MB, free: 9.816 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.2752, allocations: 16.97 kB / 335.6 MB, free: 9.809 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.2753, allocations: 31.97 kB / 335.7 MB, free: 9.781 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2753, allocations: 0 / 335.7 MB, free: 9.781 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.2753, allocations: 4 kB / 335.7 MB, free: 9.777 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2753, allocations: 0 / 335.7 MB, free: 9.777 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008895/0.2762, allocations: 0.6568 MB / 336.3 MB, free: 9.051 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2762, allocations: 4 kB / 336.3 MB, free: 9.047 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.2765, allocations: 39.97 kB / 336.4 MB, free: 9.008 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001278/0.2766, allocations: 36.83 kB / 336.4 MB, free: 8.969 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.2766, allocations: 12 kB / 336.4 MB, free: 8.957 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.2778, allocations: 1.394 MB / 337.8 MB, free: 7.43 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.2778, allocations: 7.969 kB / 337.8 MB, free: 7.422 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005657/0.2784, allocations: 425.5 kB / 338.2 MB, free: 6.969 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.2784, allocations: 100.8 kB / 338.3 MB, free: 6.852 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.2785, allocations: 0 / 338.3 MB, free: 6.852 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.2786, allocations: 12.03 kB / 338.4 MB, free: 6.84 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.2786, allocations: 15.98 kB / 338.4 MB, free: 6.824 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.2787, allocations: 8 kB / 338.4 MB, free: 6.816 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.726e-05/0.2788, allocations: 132.8 kB / 338.5 MB, free: 6.688 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2788, allocations: 4 kB / 338.5 MB, free: 6.684 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.2791, allocations: 63.95 kB / 338.6 MB, free: 6.621 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.0001111/0.2792, allocations: 99.19 kB / 338.7 MB, free: 6.512 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005253/0.2797, allocations: 302.8 kB / 339 MB, free: 6.203 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2798, allocations: 0 / 339 MB, free: 6.203 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.2801, allocations: 214.6 kB / 339.2 MB, free: 5.98 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.2805, allocations: 35.91 kB / 339.2 MB, free: 5.945 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.2817, allocations: 0.8175 MB / 340 MB, free: 5.102 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.282, allocations: 0.7521 MB / 340.8 MB, free: 4.324 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.967e-05/0.2821, allocations: 25.94 kB / 340.8 MB, free: 4.297 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.2821, allocations: 19.44 kB / 340.8 MB, free: 4.277 MB / 270.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2821, allocations: 0 / 340.8 MB, free: 4.277 MB / 270.1 MB Notification: Performance of Templates: time 0.005271/0.2874, allocations: 2.139 MB / 343 MB, free: 2.141 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) Environment - environmentSimulation: