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.008369/0.008368, allocations: 97.42 kB / 15.73 MB, free: 5.602 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.001842/0.001842, allocations: 192.6 kB / 16.68 MB, free: 5.523 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.486/1.486, 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.001123/0.001123, allocations: 55.92 kB / 326.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09991/0.101, allocations: 46.61 MB / 373.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003431/0.1045, allocations: 2.348 MB / 375.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1055, allocations: 0.6239 MB / 376.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.1057, allocations: 7.938 kB / 376.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.1059, allocations: 35.66 kB / 376.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.106, allocations: 75.33 kB / 376.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.1063, allocations: 55.92 kB / 376.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.1065, allocations: 258.8 kB / 376.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.1067, allocations: 88.28 kB / 376.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.1069, allocations: 103.6 kB / 376.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.107, allocations: 103.5 kB / 376.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.1071, allocations: 16 kB / 376.9 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.298e-05/0.1071, allocations: 20 kB / 376.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.1072, allocations: 55.77 kB / 376.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.1073, allocations: 119.4 kB / 377 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.1076, allocations: 239 kB / 377.3 MB, free: 432 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1076, allocations: 4 kB / 377.3 MB, free: 428 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1076, allocations: 0 / 377.3 MB, free: 428 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1076, 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.2225/0.3302, allocations: 0.5115 MB / 377.8 MB, free: 13.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.478e-05/0.3303, allocations: 9.469 kB / 377.8 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.3304, allocations: 26.42 kB / 377.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005754/0.331, allocations: 246.7 kB / 378.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.331, allocations: 17.84 kB / 378.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.465e-05/0.3311, allocations: 24.12 kB / 378.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.3317, allocations: 209 kB / 378.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.3317, allocations: 6.344 kB / 378.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.3318, allocations: 9.625 kB / 378.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.3318, allocations: 5.094 kB / 378.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.3321, allocations: 128.1 kB / 378.5 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.3334, allocations: 0.7002 MB / 379.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.3337, allocations: 154.5 kB / 379.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.3339, allocations: 68.19 kB / 379.4 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.3339, allocations: 3.828 kB / 379.4 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.334, allocations: 35.19 kB / 379.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.334, allocations: 3.531 kB / 379.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001839/0.3358, allocations: 0.877 MB / 380.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.3359, allocations: 58.97 kB / 380.4 MB, free: 11.81 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.3361, allocations: 175.7 kB / 380.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.3361, allocations: 33.08 kB / 380.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.3362, allocations: 144 kB / 380.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.938e-05/0.3363, allocations: 91.84 kB / 380.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.612e-05/0.3364, allocations: 54.19 kB / 380.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.057e-05/0.3365, allocations: 334 kB / 381.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.3366, allocations: 53.53 kB / 381.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.3368, allocations: 97.52 kB / 381.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.3372, allocations: 171.8 kB / 381.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3372, allocations: 1.188 kB / 381.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004423/0.3376, allocations: 249.1 kB / 381.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3376, allocations: 9 kB / 381.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3377, allocations: 1.344 kB / 381.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.3378, allocations: 40.12 kB / 381.8 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.3381, allocations: 49.11 kB / 381.8 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.3391, allocations: 1.489 MB / 383.3 MB, free: 9.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.3392, allocations: 13.16 kB / 383.3 MB, free: 9.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.3393, allocations: 11.05 kB / 383.3 MB, free: 9.297 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 0.0001214/0.3394, allocations: 140.3 kB / 383.5 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.3394, allocations: 18.12 kB / 383.5 MB, free: 9.152 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.3395, allocations: 22.44 kB / 383.5 MB, free: 9.137 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3395, allocations: 2.656 kB / 383.5 MB, free: 9.137 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.3395, allocations: 5.219 kB / 383.5 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3395, allocations: 5.5 kB / 383.5 MB, free: 9.129 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00099/0.3405, allocations: 0.6433 MB / 384.2 MB, free: 8.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3405, allocations: 1.438 kB / 384.2 MB, free: 8.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.3408, allocations: 52.62 kB / 384.2 MB, free: 8.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001237/0.3409, allocations: 36.11 kB / 384.3 MB, free: 8.629 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.3409, allocations: 7.219 kB / 384.3 MB, free: 8.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009608/0.3419, allocations: 1.488 MB / 385.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3419, allocations: 0 / 385.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005245/0.3425, allocations: 410.4 kB / 386.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.3425, allocations: 93.94 kB / 386.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.3425, allocations: 7.391 kB / 386.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.3427, allocations: 8 kB / 386.3 MB, free: 6.801 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.3427, allocations: 19.11 kB / 386.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3428, allocations: 5.312 kB / 386.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.896e-05/0.3429, allocations: 134.2 kB / 386.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3429, allocations: 0 / 386.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003409/0.3432, allocations: 62.25 kB / 386.5 MB, free: 6.691 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.0001171/0.3433, allocations: 102.8 kB / 386.6 MB, free: 6.594 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000564/0.3439, allocations: 304.4 kB / 386.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3439, allocations: 1.188 kB / 386.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.3442, allocations: 216.3 kB / 387.1 MB, free: 6.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.3446, allocations: 43.14 kB / 387.1 MB, free: 6.258 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.3458, allocations: 0.6815 MB / 387.8 MB, free: 5.809 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.346, allocations: 0.7506 MB / 388.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.803e-05/0.3461, allocations: 18.61 kB / 388.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.3461, allocations: 18.41 kB / 388.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3461, allocations: 0 / 388.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of Templates: time 0.006825/0.353, allocations: 2.4 MB / 391 MB, free: 4.902 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)