Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001119/0.001119, allocations: 178.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.263/1.263, allocations: 194.5 MB / 211.6 MB, free: 3.059 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001574/0.001574, allocations: 112.3 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002872/0.0002872, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07769/0.078, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2231/0.3012, allocations: 73.15 MB / 428.2 MB, free: 16.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001428/0.3014, allocations: 71.94 kB / 428.3 MB, free: 16.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00826/0.3096, allocations: 3.832 MB / 432.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3097, allocations: 3.062 kB / 432.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.3097, allocations: 4 kB / 432.1 MB, free: 13.28 MB / 314.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.000459/0.3102, allocations: 496.2 kB / 432.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.3102, allocations: 8.031 kB / 432.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.3102, allocations: 28.75 kB / 432.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.3104, allocations: 240.2 kB / 432.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3104, allocations: 17.14 kB / 432.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.3105, allocations: 22.69 kB / 432.9 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.3108, allocations: 185.9 kB / 433.1 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.3108, allocations: 3.984 kB / 433.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.3108, allocations: 17 kB / 433.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3108, allocations: 8 kB / 433.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.311, allocations: 140.4 kB / 433.3 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/0.3117, allocations: 0.6243 MB / 433.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.3119, allocations: 179.5 kB / 434.1 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.312, allocations: 1.625 kB / 434.1 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.312, allocations: 42.44 kB / 434.1 MB, free: 11.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.382e-06/0.312, allocations: 0 / 434.1 MB, free: 11.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.001389/0.3134, allocations: 1.07 MB / 435.2 MB, free: 10.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.936e-05/0.3134, allocations: 59.36 kB / 435.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.3135, allocations: 160.1 kB / 435.4 MB, free: 10.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.3135, allocations: 35.14 kB / 435.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.3136, allocations: 133.9 kB / 435.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.3136, allocations: 117.1 kB / 435.7 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-06/0.3137, allocations: 8.344 kB / 435.7 MB, free: 10.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.414e-05/0.3137, allocations: 334.4 kB / 436 MB, free: 9.703 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3138, allocations: 66.97 kB / 436.1 MB, free: 9.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.314, allocations: 110.8 kB / 436.2 MB, free: 9.574 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.3141, allocations: 85.28 kB / 436.3 MB, free: 9.527 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3141, allocations: 0 / 436.3 MB, free: 9.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003691/0.3145, allocations: 303.7 kB / 436.6 MB, free: 9.293 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3145, allocations: 4 kB / 436.6 MB, free: 9.289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3145, allocations: 4.062 kB / 436.6 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.3146, allocations: 42.84 kB / 436.6 MB, free: 9.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.3149, allocations: 58.91 kB / 436.7 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009113/0.3158, allocations: 1.577 MB / 438.2 MB, free: 7.641 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.3159, allocations: 14.03 kB / 438.3 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.3159, allocations: 8.953 kB / 438.3 MB, free: 7.629 MB / 314.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 9.319e-05/0.316, allocations: 149.6 kB / 438.4 MB, free: 7.488 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.3161, allocations: 19.81 kB / 438.4 MB, free: 7.469 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.3161, allocations: 30.53 kB / 438.5 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3161, allocations: 6.078 kB / 438.5 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.3161, allocations: 0 / 438.5 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3161, allocations: 4.547 kB / 438.5 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007713/0.3169, allocations: 0.7938 MB / 439.3 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3169, allocations: 4 kB / 439.3 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.3172, allocations: 60 kB / 439.3 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.081e-05/0.3173, allocations: 36.84 kB / 439.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.3173, allocations: 7.953 kB / 439.4 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007165/0.318, allocations: 1.398 MB / 440.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.318, allocations: 0 / 440.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.3185, allocations: 0.5144 MB / 441.3 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.3186, allocations: 92.95 kB / 441.4 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.3186, allocations: 7.25 kB / 441.4 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.3187, allocations: 14.75 kB / 441.4 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.3188, allocations: 23.91 kB / 441.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.3188, allocations: 7.375 kB / 441.4 MB, free: 4.598 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.425e-05/0.3189, allocations: 138.6 kB / 441.6 MB, free: 4.477 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3189, allocations: 1.125 kB / 441.6 MB, free: 4.477 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003107/0.3192, allocations: 65.34 kB / 441.6 MB, free: 4.422 MB / 314.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 9.914e-05/0.3193, allocations: 114.4 kB / 441.7 MB, free: 4.309 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004615/0.3198, allocations: 338.7 kB / 442.1 MB, free: 4.023 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3198, allocations: 0 / 442.1 MB, free: 4.023 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.32, allocations: 249.7 kB / 442.3 MB, free: 3.797 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.3204, allocations: 35.52 kB / 442.3 MB, free: 3.773 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009466/0.3213, allocations: 0.8757 MB / 443.2 MB, free: 2.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.3215, allocations: 0.7602 MB / 444 MB, free: 2.145 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.471e-05/0.3216, allocations: 26.28 kB / 444 MB, free: 2.113 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.3216, allocations: 27.42 kB / 444 MB, free: 2.086 MB / 314.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3216, allocations: 0 / 444 MB, free: 2.086 MB / 314.7 MB Notification: Performance of Templates: time 0.004382/0.326, allocations: 2.409 MB / 446.4 MB, free: 15.75 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1)