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.007836/0.007836, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001522/0.001522, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.524/1.524, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.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.001329/0.001329, allocations: 56.2 kB / 326.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1183, allocations: 46.61 MB / 373.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004302/0.1226, allocations: 2.336 MB / 375.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1242, allocations: 0.6356 MB / 376.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000328/0.1245, allocations: 4 kB / 376.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.1248, allocations: 39.59 kB / 376.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.1251, allocations: 67.36 kB / 376.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.1254, allocations: 51.92 kB / 376.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004113/0.1259, allocations: 258.8 kB / 376.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.1261, allocations: 92.28 kB / 376.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.1264, allocations: 95.64 kB / 376.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.1266, allocations: 103.5 kB / 376.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.636e-05/0.1266, allocations: 20 kB / 376.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.311e-05/0.1267, allocations: 20 kB / 376.9 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.1267, allocations: 43.84 kB / 376.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.1269, allocations: 123.3 kB / 377 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.1273, allocations: 255.1 kB / 377.3 MB, free: 444 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1273, allocations: 0 / 377.3 MB, free: 444 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1273, allocations: 0 / 377.3 MB, free: 444 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.1273, allocations: 0 / 377.3 MB, free: 444 kB / 318.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.2033/0.3306, allocations: 0.499 MB / 377.8 MB, free: 13.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.3307, allocations: 9.656 kB / 377.8 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.604e-05/0.3308, allocations: 26.14 kB / 377.8 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.3312, allocations: 242.2 kB / 378 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.3312, allocations: 16.19 kB / 378.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.3313, allocations: 26.16 kB / 378.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.3317, allocations: 210.5 kB / 378.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.3317, allocations: 3.031 kB / 378.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.3317, allocations: 16.28 kB / 378.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.3317, allocations: 4.875 kB / 378.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.332, allocations: 127.3 kB / 378.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009135/0.3329, allocations: 0.704 MB / 379.1 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.3332, allocations: 150.7 kB / 379.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.3333, allocations: 72.38 kB / 379.4 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.3333, allocations: 3.531 kB / 379.4 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.3333, allocations: 33.2 kB / 379.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.3333, allocations: 0 / 379.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001524/0.3349, allocations: 0.8837 MB / 380.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.3349, allocations: 61.64 kB / 380.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.3351, allocations: 173.1 kB / 380.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.3351, allocations: 31.08 kB / 380.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.3352, allocations: 140.2 kB / 380.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.3353, allocations: 86.59 kB / 380.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.891e-05/0.3353, allocations: 50.03 kB / 380.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.783e-05/0.3354, allocations: 333.8 kB / 381.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.3356, allocations: 61.7 kB / 381.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.3358, allocations: 93.09 kB / 381.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.3361, allocations: 176.3 kB / 381.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3361, allocations: 0 / 381.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004278/0.3365, allocations: 253.9 kB / 381.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3366, allocations: 6.375 kB / 381.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3366, allocations: 1.188 kB / 381.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/0.3367, allocations: 30.81 kB / 381.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.337, allocations: 54.09 kB / 381.8 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009303/0.3379, allocations: 1.484 MB / 383.3 MB, free: 9.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.338, allocations: 13.97 kB / 383.3 MB, free: 9.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.3381, allocations: 14.28 kB / 383.3 MB, free: 9.293 MB / 318.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.831e-05/0.3382, allocations: 132.1 kB / 383.4 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.3382, allocations: 17.7 kB / 383.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.662e-05/0.3383, allocations: 27.19 kB / 383.5 MB, free: 9.137 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3383, allocations: 2.438 kB / 383.5 MB, free: 9.137 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3383, allocations: 5.062 kB / 383.5 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3383, allocations: 1.875 kB / 383.5 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008121/0.3391, allocations: 0.6537 MB / 384.1 MB, free: 8.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3391, allocations: 0 / 384.1 MB, free: 8.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.3393, allocations: 49.22 kB / 384.2 MB, free: 8.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/0.3394, allocations: 38.53 kB / 384.2 MB, free: 8.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.3395, allocations: 6.781 kB / 384.2 MB, free: 8.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007879/0.3403, allocations: 1.482 MB / 385.7 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3403, allocations: 3.469 kB / 385.7 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.3408, allocations: 408.5 kB / 386.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.3408, allocations: 91.11 kB / 386.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.3409, allocations: 7.25 kB / 386.2 MB, free: 6.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.341, allocations: 9.109 kB / 386.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/0.3411, allocations: 17.83 kB / 386.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.3411, allocations: 5.812 kB / 386.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.556e-05/0.3412, allocations: 133.8 kB / 386.4 MB, free: 6.699 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3412, allocations: 3.938 kB / 386.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003182/0.3415, allocations: 61.75 kB / 386.4 MB, free: 6.684 MB / 318.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001027/0.3416, allocations: 105 kB / 386.5 MB, free: 6.586 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005135/0.3421, allocations: 291.3 kB / 386.8 MB, free: 6.418 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3422, allocations: 1.344 kB / 386.8 MB, free: 6.418 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.3424, allocations: 211.6 kB / 387 MB, free: 6.277 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.3428, allocations: 46.58 kB / 387.1 MB, free: 6.262 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.3439, allocations: 0.6703 MB / 387.8 MB, free: 5.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.3441, allocations: 0.7544 MB / 388.5 MB, free: 5.109 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.451e-05/0.3442, allocations: 21.64 kB / 388.5 MB, free: 5.105 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.3442, allocations: 19.14 kB / 388.5 MB, free: 5.098 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3442, allocations: 0 / 388.5 MB, free: 5.098 MB / 318.1 MB Notification: Performance of Templates: time 0.005956/0.3502, allocations: 2.407 MB / 391 MB, free: 4.91 MB / 318.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)