Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.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.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008184/0.008184, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001409/0.001409, allocations: 196.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.455/1.455, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001318/0.001319, allocations: 51.94 kB / 326.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1052, allocations: 46.62 MB / 373.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003708/0.109, allocations: 2.34 MB / 375.5 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1101, allocations: 0.6278 MB / 376.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.1103, allocations: 7.938 kB / 376.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.1104, allocations: 39.64 kB / 376.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.1106, allocations: 79.27 kB / 376.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.1109, allocations: 51.94 kB / 376.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.1112, allocations: 270.7 kB / 376.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.1114, allocations: 110.7 kB / 376.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.1116, allocations: 103.6 kB / 376.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.1118, allocations: 115.5 kB / 376.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.1118, allocations: 24 kB / 376.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.71e-05/0.1119, allocations: 20 kB / 376.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.1119, allocations: 47.77 kB / 377 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.1121, allocations: 127.4 kB / 377.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.1124, allocations: 263 kB / 377.4 MB, free: 360 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1124, allocations: 4 kB / 377.4 MB, free: 356 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1124, allocations: 0 / 377.4 MB, free: 356 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1124, allocations: 0 / 377.4 MB, free: 356 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.2232/0.3356, allocations: 0.5135 MB / 377.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.3356, allocations: 14.73 kB / 377.9 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.048e-05/0.3357, allocations: 25.84 kB / 377.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.3361, allocations: 250.6 kB / 378.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.3361, allocations: 19.19 kB / 378.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.3362, allocations: 22.94 kB / 378.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.3366, allocations: 190.2 kB / 378.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.3366, allocations: 4.062 kB / 378.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.3366, allocations: 17.06 kB / 378.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.3366, allocations: 6.578 kB / 378.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.3369, allocations: 137.1 kB / 378.5 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009478/0.3379, allocations: 0.6243 MB / 379.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.3382, allocations: 175 kB / 379.3 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.3384, allocations: 105 kB / 379.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.3384, allocations: 4.797 kB / 379.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.3384, allocations: 35.7 kB / 379.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 2.675e-06/0.3384, allocations: 0 / 379.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001955/0.3404, allocations: 1.067 MB / 380.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.3404, allocations: 61.39 kB / 380.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.3406, allocations: 188.5 kB / 380.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.3407, allocations: 31.23 kB / 380.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.3407, allocations: 133.7 kB / 381 MB, free: 11.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.3408, allocations: 112.5 kB / 381.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.896e-05/0.3409, allocations: 61.27 kB / 381.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.088e-05/0.341, allocations: 335.3 kB / 381.5 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.3411, allocations: 66.64 kB / 381.5 MB, free: 11.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.3413, allocations: 102.1 kB / 381.6 MB, free: 10.99 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.3416, allocations: 195.1 kB / 381.8 MB, free: 10.89 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3416, allocations: 0 / 381.8 MB, free: 10.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004766/0.3421, allocations: 294.8 kB / 382.1 MB, free: 10.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3421, allocations: 11.86 kB / 382.1 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3421, allocations: 1.375 kB / 382.1 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000185/0.3423, allocations: 46.03 kB / 382.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.3425, allocations: 58.64 kB / 382.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.3438, allocations: 1.743 MB / 384 MB, free: 9.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.3439, allocations: 8.422 kB / 384 MB, free: 9.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.3439, allocations: 10.84 kB / 384 MB, free: 9.062 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.344, allocations: 141.4 kB / 384.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.3441, allocations: 30.94 kB / 384.1 MB, free: 8.906 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/0.3442, allocations: 31.94 kB / 384.2 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3442, allocations: 7.109 kB / 384.2 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.3442, allocations: 0 / 384.2 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3442, allocations: 4.922 kB / 384.2 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.3452, allocations: 0.7761 MB / 385 MB, free: 8.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.3452, allocations: 1.812 kB / 385 MB, free: 8.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.3455, allocations: 62.53 kB / 385 MB, free: 8.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.3456, allocations: 32.36 kB / 385.1 MB, free: 8.316 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.3456, allocations: 10.78 kB / 385.1 MB, free: 8.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008553/0.3465, allocations: 1.481 MB / 386.5 MB, free: 6.855 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3465, allocations: 5.875 kB / 386.6 MB, free: 6.852 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006531/0.3472, allocations: 489.6 kB / 387 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.3472, allocations: 99.23 kB / 387.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.3473, allocations: 8.062 kB / 387.1 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3474, allocations: 8.734 kB / 387.1 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.3475, allocations: 22.58 kB / 387.2 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3475, allocations: 7.516 kB / 387.2 MB, free: 6.434 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.916e-05/0.3476, allocations: 134.8 kB / 387.3 MB, free: 6.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.142e-06/0.3476, allocations: 0 / 387.3 MB, free: 6.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003738/0.348, allocations: 75.88 kB / 387.4 MB, free: 6.324 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.000147/0.3481, allocations: 107.8 kB / 387.5 MB, free: 6.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005739/0.3487, allocations: 331.3 kB / 387.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3487, allocations: 0 / 387.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.349, allocations: 248.2 kB / 388 MB, free: 5.895 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.3495, allocations: 46.47 kB / 388.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.3507, allocations: 0.7114 MB / 388.8 MB, free: 5.402 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.3509, allocations: 0.7545 MB / 389.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.747e-05/0.351, allocations: 25.78 kB / 389.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.351, allocations: 20.92 kB / 389.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.351, allocations: 1.531 kB / 389.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of Templates: time 0.007171/0.3582, allocations: 2.725 MB / 392.3 MB, free: 4.473 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1)