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.009942/0.009942, allocations: 104.3 kB / 15.74 MB, free: 5.598 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.001676/0.001676, allocations: 191.8 kB / 16.67 MB, free: 5.527 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.462/1.462, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001311/0.001311, allocations: 47.94 kB / 326.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1114, allocations: 46.62 MB / 373.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004539/0.116, allocations: 2.348 MB / 375.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1175, allocations: 0.6278 MB / 376.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.1177, allocations: 7.938 kB / 376.1 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.118, allocations: 31.66 kB / 376.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.1183, allocations: 75.33 kB / 376.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.1186, allocations: 47.92 kB / 376.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.1191, allocations: 262.8 kB / 376.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.1194, allocations: 88.28 kB / 376.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.1196, allocations: 99.64 kB / 376.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.1199, allocations: 111.5 kB / 376.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.1199, allocations: 20 kB / 376.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.574e-05/0.12, allocations: 16 kB / 376.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.56e-05/0.1201, allocations: 47.78 kB / 376.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.1202, allocations: 123.4 kB / 377 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.1206, allocations: 247.1 kB / 377.3 MB, free: 428 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1206, allocations: 0 / 377.3 MB, free: 428 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1206, allocations: 0 / 377.3 MB, free: 428 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.1207, allocations: 0 / 377.3 MB, free: 428 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.2406/0.3613, allocations: 0.4995 MB / 377.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3614, allocations: 11 kB / 377.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.498e-05/0.3614, allocations: 26.41 kB / 377.8 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.3618, allocations: 241.9 kB / 378.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.3618, allocations: 17.66 kB / 378.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.3619, allocations: 25.14 kB / 378.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/0.3623, allocations: 207.5 kB / 378.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.3624, allocations: 2.625 kB / 378.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.3624, allocations: 15.75 kB / 378.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3624, allocations: 6.547 kB / 378.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.3627, allocations: 130.6 kB / 378.4 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.3638, allocations: 0.6982 MB / 379.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.3641, allocations: 148.6 kB / 379.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.3642, allocations: 67.61 kB / 379.4 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.3643, allocations: 4.062 kB / 379.4 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.3643, allocations: 37.42 kB / 379.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 2.054e-06/0.3643, allocations: 0 / 379.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001635/0.3659, allocations: 0.8834 MB / 380.3 MB, free: 11.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.366, allocations: 62.47 kB / 380.3 MB, free: 11.83 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.3662, allocations: 177.2 kB / 380.5 MB, free: 11.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.3662, allocations: 27.08 kB / 380.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.3663, allocations: 143.5 kB / 380.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.3663, allocations: 88.52 kB / 380.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.3664, allocations: 46.84 kB / 380.8 MB, free: 11.44 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.3665, allocations: 329.5 kB / 381.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.3667, allocations: 58.86 kB / 381.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.3669, allocations: 96.34 kB / 381.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.3672, allocations: 172.3 kB / 381.5 MB, free: 10.94 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3672, allocations: 0 / 381.5 MB, free: 10.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004008/0.3676, allocations: 257.3 kB / 381.7 MB, free: 10.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3676, allocations: 6.328 kB / 381.7 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3676, allocations: 1.125 kB / 381.7 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.3678, allocations: 32.09 kB / 381.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.368, allocations: 49.77 kB / 381.8 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009173/0.369, allocations: 1.487 MB / 383.3 MB, free: 9.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.3691, allocations: 15.09 kB / 383.3 MB, free: 9.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.3691, allocations: 5.938 kB / 383.3 MB, free: 9.328 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.4e-05/0.3692, allocations: 136.2 kB / 383.4 MB, free: 9.195 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.3692, allocations: 20.34 kB / 383.5 MB, free: 9.188 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.3693, allocations: 26.48 kB / 383.5 MB, free: 9.168 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3693, allocations: 6.031 kB / 383.5 MB, free: 9.168 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3693, allocations: 5.969 kB / 383.5 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3693, allocations: 2.062 kB / 383.5 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007637/0.3701, allocations: 0.6483 MB / 384.1 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3701, allocations: 1.344 kB / 384.1 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.3703, allocations: 44.11 kB / 384.2 MB, free: 8.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.3704, allocations: 40.28 kB / 384.2 MB, free: 8.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3705, allocations: 5.656 kB / 384.2 MB, free: 8.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008329/0.3713, allocations: 1.489 MB / 385.7 MB, free: 7.203 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3713, allocations: 1 kB / 385.7 MB, free: 7.203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.3718, allocations: 408.8 kB / 386.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.3719, allocations: 92.94 kB / 386.2 MB, free: 6.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.3719, allocations: 6.625 kB / 386.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.372, allocations: 4.531 kB / 386.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.3721, allocations: 19.75 kB / 386.2 MB, free: 6.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.3721, allocations: 5.25 kB / 386.2 MB, free: 6.832 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.291e-05/0.3722, allocations: 139 kB / 386.4 MB, free: 6.734 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3722, allocations: 0 / 386.4 MB, free: 6.734 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003192/0.3725, allocations: 60.59 kB / 386.4 MB, free: 6.723 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.0001078/0.3726, allocations: 107.3 kB / 386.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005184/0.3732, allocations: 294.5 kB / 386.8 MB, free: 6.453 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3732, allocations: 0 / 386.8 MB, free: 6.453 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.3734, allocations: 213.1 kB / 387 MB, free: 6.312 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.3739, allocations: 47.25 kB / 387.1 MB, free: 6.297 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.3749, allocations: 0.6765 MB / 387.8 MB, free: 5.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.3751, allocations: 0.7505 MB / 388.5 MB, free: 5.145 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.641e-05/0.3752, allocations: 18 kB / 388.5 MB, free: 5.141 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.3752, allocations: 18.38 kB / 388.5 MB, free: 5.133 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3753, allocations: 1.344 kB / 388.6 MB, free: 5.133 MB / 318.1 MB Notification: Performance of Templates: time 0.006615/0.3819, allocations: 2.472 MB / 391 MB, free: 4.922 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)