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/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.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/Complex 3.2.1+maint.om/package.mo): time 0.00107/0.001071, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.243/1.243, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001522/0.001522, allocations: 113.9 kB / 223.2 MB, free: 4.105 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.646e-05/3.649e-05, allocations: 4 kB / 268.9 MB, free: 20.94 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07512/0.07517, allocations: 38.78 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3046/0.3798, allocations: 67.77 MB / 375.4 MB, free: 8.5 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.3801, allocations: 64.09 kB / 375.5 MB, free: 8.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009737/0.3899, allocations: 3.679 MB / 379.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3899, allocations: 0 / 379.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.3899, allocations: 4 kB / 379.1 MB, free: 5.395 MB / 266.7 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.0005305/0.3905, allocations: 465 kB / 379.6 MB, free: 4.906 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3905, allocations: 12.03 kB / 379.6 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.3906, allocations: 27.72 kB / 379.6 MB, free: 4.867 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.3908, allocations: 224.6 kB / 379.9 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.3908, allocations: 14.88 kB / 379.9 MB, free: 4.609 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.3909, allocations: 27.39 kB / 379.9 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.3912, allocations: 197.3 kB / 380.1 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.3912, allocations: 3.906 kB / 380.1 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.3913, allocations: 14.31 kB / 380.1 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.3913, allocations: 4 kB / 380.1 MB, free: 4.422 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.3915, allocations: 114.8 kB / 380.2 MB, free: 4.348 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00091/0.3924, allocations: 0.7062 MB / 380.9 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.3927, allocations: 135.1 kB / 381.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.678e-05/0.3928, allocations: 65.97 kB / 381.1 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3928, allocations: 4 kB / 381.1 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.3929, allocations: 34.56 kB / 381.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.292e-06/0.3929, allocations: 0 / 381.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.001257/0.3941, allocations: 0.8092 MB / 382 MB, free: 2.723 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.3942, allocations: 55.41 kB / 382 MB, free: 2.656 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3943, allocations: 159.9 kB / 382.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3943, allocations: 29.17 kB / 382.2 MB, free: 2.473 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.3944, allocations: 148.4 kB / 382.4 MB, free: 2.344 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.3945, allocations: 89.23 kB / 382.4 MB, free: 2.266 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-06/0.3945, allocations: 7.312 kB / 382.5 MB, free: 2.262 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3946, allocations: 333.3 kB / 382.8 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.514e-05/0.3947, allocations: 52.98 kB / 382.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.3948, allocations: 95.52 kB / 382.9 MB, free: 1.816 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.3949, allocations: 57.8 kB / 383 MB, free: 1.777 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.395, allocations: 3.953 kB / 383 MB, free: 1.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003585/0.3953, allocations: 238.6 kB / 383.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3954, allocations: 4 kB / 383.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3954, allocations: 7.938 kB / 383.2 MB, free: 1.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.3955, allocations: 35.7 kB / 383.3 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.3957, allocations: 51.23 kB / 383.3 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.3969, allocations: 1.378 MB / 384.7 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.397, allocations: 11.36 kB / 384.7 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.397, allocations: 11.56 kB / 384.7 MB, free: 40 kB / 266.7 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 () * 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 (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 prepare postOptimizeDAE: time 9.306e-05/0.3971, allocations: 123.5 kB / 384.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.3972, allocations: 15.81 kB / 384.9 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.923e-05/0.3972, allocations: 26.39 kB / 384.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3972, allocations: 4 kB / 384.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3972, allocations: 0 / 384.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3973, allocations: 0 / 384.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007938/0.3981, allocations: 0.6424 MB / 385.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3981, allocations: 4 kB / 385.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.3983, allocations: 43.97 kB / 385.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.3984, allocations: 36.53 kB / 385.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.3984, allocations: 7.609 kB / 385.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.3994, allocations: 1.371 MB / 387 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3995, allocations: 0 / 387 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.3999, allocations: 413.7 kB / 387.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-05/0.4, allocations: 106.8 kB / 387.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.4001, allocations: 7.312 kB / 387.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.4002, allocations: 8 kB / 387.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.4002, allocations: 23.27 kB / 387.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.4003, allocations: 11.25 kB / 387.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.772e-05/0.4004, allocations: 125.2 kB / 387.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4004, allocations: 3.938 kB / 387.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003026/0.4007, allocations: 61.56 kB / 387.7 MB, free: 13.08 MB / 282.7 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 () * 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 (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.0001319/0.4008, allocations: 106.6 kB / 387.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004342/0.4013, allocations: 274.1 kB / 388.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4013, allocations: 0 / 388.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.4015, allocations: 208.8 kB / 388.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.4018, allocations: 39.19 kB / 388.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008843/0.4027, allocations: 0.5357 MB / 388.9 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.4031, allocations: 0.7555 MB / 389.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.424e-05/0.4031, allocations: 18.06 kB / 389.7 MB, free: 11.19 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.4032, allocations: 23.38 kB / 389.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4032, allocations: 4 kB / 389.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of Templates: time 0.004886/0.4081, allocations: 2.165 MB / 391.8 MB, free: 9.012 MB / 282.7 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)