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.001234/0.001234, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001368/0.001368, allocations: 193 kB / 16.25 MB, free: 6.617 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.436/1.436, allocations: 205.1 MB / 222.1 MB, free: 4.742 MB / 174.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.001343/0.001344, allocations: 59.86 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2837, allocations: 46.62 MB / 324.8 MB, free: 1.906 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004336/0.2881, allocations: 2.382 MB / 327.2 MB, free: 40 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.2894, allocations: 0.6164 MB / 327.8 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.2896, allocations: 3.812 kB / 327.8 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.2898, allocations: 31.53 kB / 327.9 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.29, allocations: 55.81 kB / 327.9 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.2902, allocations: 47.06 kB / 328 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.2905, allocations: 252.4 kB / 328.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.2908, allocations: 88.17 kB / 328.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.2909, allocations: 101.5 kB / 328.4 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.2911, allocations: 103.9 kB / 328.5 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.2911, allocations: 19 kB / 328.5 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.149e-05/0.2912, allocations: 19.44 kB / 328.6 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.2912, allocations: 50.47 kB / 328.6 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.2914, allocations: 118.2 kB / 328.7 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.2916, allocations: 241.5 kB / 329 MB, free: 14.8 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2917, allocations: 0 / 329 MB, free: 14.8 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2917, allocations: 0 / 329 MB, free: 14.8 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.2917, allocations: 1.281 kB / 329 MB, free: 14.8 MB / 270.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.0007785/0.2925, allocations: 0.515 MB / 329.5 MB, free: 14.31 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2925, allocations: 12.84 kB / 329.5 MB, free: 14.31 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.2926, allocations: 29.25 kB / 329.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.2929, allocations: 239.3 kB / 329.7 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.2929, allocations: 12 kB / 329.8 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.293, allocations: 22.44 kB / 329.8 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004496/0.2934, allocations: 219.7 kB / 330 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.2935, allocations: 1.438 kB / 330 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.2935, allocations: 9.438 kB / 330 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2935, allocations: 4.688 kB / 330 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.2938, allocations: 125.9 kB / 330.1 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.2948, allocations: 0.7095 MB / 330.8 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.2951, allocations: 149.3 kB / 331 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.2953, allocations: 72.55 kB / 331.1 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.2953, allocations: 2.906 kB / 331.1 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.2953, allocations: 36.03 kB / 331.1 MB, free: 13.03 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.2953, allocations: 0 / 331.1 MB, free: 13.03 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.001643/0.297, allocations: 0.882 MB / 332 MB, free: 12.33 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.297, allocations: 54.31 kB / 332 MB, free: 12.27 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.2972, allocations: 184 kB / 332.2 MB, free: 12.12 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.2973, allocations: 31.14 kB / 332.2 MB, free: 12.08 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2974, allocations: 146.4 kB / 332.4 MB, free: 11.95 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.277e-05/0.2975, allocations: 92.38 kB / 332.5 MB, free: 11.86 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.2976, allocations: 46.45 kB / 332.5 MB, free: 11.83 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2977, allocations: 331.5 kB / 332.8 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.2978, allocations: 50.11 kB / 332.9 MB, free: 11.48 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.298, allocations: 98.88 kB / 333 MB, free: 11.41 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.2983, allocations: 170.2 kB / 333.2 MB, free: 11.3 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2983, allocations: 1.156 kB / 333.2 MB, free: 11.3 MB / 270.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004799/0.2988, allocations: 251.7 kB / 333.4 MB, free: 11.16 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.2988, allocations: 4.594 kB / 333.4 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.2988, allocations: 1.438 kB / 333.4 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.2991, allocations: 33.72 kB / 333.4 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.2993, allocations: 51.91 kB / 333.5 MB, free: 11.08 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.3007, allocations: 1.489 MB / 335 MB, free: 9.449 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.3008, allocations: 16.03 kB / 335 MB, free: 9.434 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.3008, allocations: 11.94 kB / 335 MB, free: 9.422 MB / 270.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.0001445/0.301, allocations: 133.8 kB / 335.1 MB, free: 9.281 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.3011, allocations: 23.7 kB / 335.2 MB, free: 9.258 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.912e-05/0.3011, allocations: 25.88 kB / 335.2 MB, free: 9.234 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.3011, allocations: 7.938 kB / 335.2 MB, free: 9.227 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3011, allocations: 0 / 335.2 MB, free: 9.227 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3011, allocations: 0 / 335.2 MB, free: 9.227 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009438/0.3021, allocations: 0.6597 MB / 335.9 MB, free: 8.496 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3021, allocations: 0 / 335.9 MB, free: 8.496 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.3023, allocations: 47.98 kB / 335.9 MB, free: 8.449 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001087/0.3024, allocations: 32.83 kB / 335.9 MB, free: 8.414 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.3025, allocations: 8 kB / 335.9 MB, free: 8.406 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.3035, allocations: 1.481 MB / 337.4 MB, free: 6.785 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3035, allocations: 144 / 337.4 MB, free: 6.785 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000521/0.304, allocations: 410 kB / 337.8 MB, free: 6.359 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.3041, allocations: 92.92 kB / 337.9 MB, free: 6.25 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.3041, allocations: 8.031 kB / 337.9 MB, free: 6.242 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.3043, allocations: 4 kB / 337.9 MB, free: 6.238 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.3043, allocations: 27.92 kB / 337.9 MB, free: 6.211 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.3043, allocations: 7.984 kB / 338 MB, free: 6.203 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.319e-05/0.3044, allocations: 128.8 kB / 338.1 MB, free: 6.078 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3044, allocations: 4 kB / 338.1 MB, free: 6.074 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003191/0.3048, allocations: 56 kB / 338.1 MB, free: 6.02 MB / 270.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.0001398/0.3049, allocations: 95.25 kB / 338.2 MB, free: 5.914 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005678/0.3055, allocations: 310.7 kB / 338.5 MB, free: 5.598 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3055, allocations: 0 / 338.5 MB, free: 5.598 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.3058, allocations: 214.8 kB / 338.7 MB, free: 5.375 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.3063, allocations: 60.34 kB / 338.8 MB, free: 5.316 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.3075, allocations: 0.7562 MB / 339.6 MB, free: 4.531 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.3077, allocations: 0.7404 MB / 340.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.862e-05/0.3078, allocations: 25.94 kB / 340.3 MB, free: 3.742 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.3079, allocations: 19.38 kB / 340.3 MB, free: 3.723 MB / 270.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3079, allocations: 0 / 340.3 MB, free: 3.723 MB / 270.1 MB Notification: Performance of Templates: time 0.005242/0.3131, allocations: 2.356 MB / 342.7 MB, free: 1.367 MB / 270.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)