Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008812/0.008812, allocations: 164.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.366/1.366, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00159/0.00159, allocations: 115.2 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003067, allocations: 11.98 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2133, allocations: 38.76 MB / 312.9 MB, free: 38.74 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08573/0.2991, allocations: 67.86 MB / 380.7 MB, free: 6.672 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.2994, allocations: 71.95 kB / 380.8 MB, free: 6.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01024/0.3097, allocations: 3.842 MB / 384.7 MB, free: 2.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3097, allocations: 3.938 kB / 384.7 MB, free: 2.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.3097, allocations: 4 kB / 384.7 MB, free: 2.742 MB / 282.7 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.00063/0.3104, allocations: 498.8 kB / 385.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3104, allocations: 8.031 kB / 385.2 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.3105, allocations: 23.72 kB / 385.2 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.3108, allocations: 227.4 kB / 385.4 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.3108, allocations: 16.44 kB / 385.4 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.3109, allocations: 35.86 kB / 385.4 MB, free: 1.859 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.3112, allocations: 195.2 kB / 385.6 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.3113, allocations: 0 / 385.6 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.3113, allocations: 8 kB / 385.6 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.3113, allocations: 8 kB / 385.7 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.3116, allocations: 137.7 kB / 385.8 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008757/0.3125, allocations: 0.6271 MB / 386.4 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.3128, allocations: 182.5 kB / 386.6 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.3128, allocations: 11.88 kB / 386.6 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.3128, allocations: 34.55 kB / 386.6 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.242e-06/0.3129, allocations: 0 / 386.6 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001844/0.3147, allocations: 1.093 MB / 387.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.3148, allocations: 59.41 kB / 387.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.3149, allocations: 157.6 kB / 387.9 MB, free: 15.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.3149, allocations: 29.7 kB / 388 MB, free: 15.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.476e-05/0.315, allocations: 140.7 kB / 388.1 MB, free: 15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.707e-05/0.3151, allocations: 110.3 kB / 388.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.3152, allocations: 8 kB / 388.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3153, allocations: 334.8 kB / 388.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.3154, allocations: 75.97 kB / 388.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.3156, allocations: 108.7 kB / 388.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.3158, allocations: 89.28 kB / 388.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3158, allocations: 0 / 388.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004679/0.3162, allocations: 291.8 kB / 389.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3163, allocations: 8 kB / 389.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3163, allocations: 0 / 389.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/0.3165, allocations: 44.78 kB / 389.2 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.3167, allocations: 63.91 kB / 389.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.3184, allocations: 1.58 MB / 390.8 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.3185, allocations: 16.45 kB / 390.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.3185, allocations: 12 kB / 390.8 MB, free: 12.12 MB / 298.7 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 (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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.3187, allocations: 139.9 kB / 391 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.3188, allocations: 23.77 kB / 391 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.096e-05/0.3188, allocations: 26.66 kB / 391 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3188, allocations: 4 kB / 391 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.3189, allocations: 4 kB / 391 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.3189, allocations: 3.984 kB / 391 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.3201, allocations: 0.7796 MB / 391.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.3201, allocations: 4 kB / 391.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.3203, allocations: 59.91 kB / 391.9 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.3205, allocations: 36.78 kB / 391.9 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.3205, allocations: 11.94 kB / 391.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.3217, allocations: 1.398 MB / 393.3 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3217, allocations: 3.938 kB / 393.3 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006617/0.3224, allocations: 0.5165 MB / 393.8 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/0.3225, allocations: 108.9 kB / 393.9 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.3225, allocations: 11.95 kB / 394 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.3227, allocations: 11.98 kB / 394 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.3227, allocations: 15.97 kB / 394 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.3227, allocations: 12 kB / 394 MB, free: 8.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.853e-05/0.3229, allocations: 140.8 kB / 394.1 MB, free: 8.543 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3229, allocations: 0 / 394.1 MB, free: 8.543 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003738/0.3232, allocations: 68 kB / 394.2 MB, free: 8.477 MB / 298.7 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 (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.0001508/0.3234, allocations: 114.8 kB / 394.3 MB, free: 8.359 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006103/0.324, allocations: 350.5 kB / 394.6 MB, free: 8.004 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.324, allocations: 0 / 394.6 MB, free: 8.004 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.3244, allocations: 242.5 kB / 394.9 MB, free: 7.754 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.3247, allocations: 30.92 kB / 394.9 MB, free: 7.727 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.326, allocations: 0.8864 MB / 395.8 MB, free: 6.797 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.3264, allocations: 0.7678 MB / 396.6 MB, free: 6.004 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.789e-05/0.3264, allocations: 22.3 kB / 396.6 MB, free: 5.984 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.3265, allocations: 19.44 kB / 396.6 MB, free: 5.965 MB / 298.7 MB Notification: Performance of SimCode: time 3.5e-07/0.3265, allocations: 0 / 396.6 MB, free: 5.965 MB / 298.7 MB Notification: Performance of Templates: time 0.005477/0.332, allocations: 2.411 MB / 399 MB, free: 3.57 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1)