Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.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.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.009126/0.009126, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.745/1.745, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.000508/0.0005085, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2833, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002012/0.2854, allocations: 1.471 MB / 328.5 MB, free: 256 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2865, allocations: 0.6789 MB / 329.2 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.48e-05/0.2866, allocations: 2.562 kB / 329.2 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.2867, allocations: 8.953 kB / 329.2 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.899e-05/0.2868, allocations: 31.42 kB / 329.2 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.287, allocations: 44.08 kB / 329.3 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.2872, allocations: 116.4 kB / 329.4 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.2874, allocations: 21.78 kB / 329.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.679e-05/0.2874, allocations: 35.34 kB / 329.4 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.2875, allocations: 43.94 kB / 329.5 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.2876, allocations: 4.531 kB / 329.5 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.972e-05/0.2877, allocations: 18.36 kB / 329.5 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.801e-05/0.2877, allocations: 26.53 kB / 329.5 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.36e-05/0.2878, allocations: 64.05 kB / 329.6 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.288, allocations: 130.7 kB / 329.7 MB, free: 15.35 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.288, allocations: 0 / 329.7 MB, free: 15.35 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.2881, allocations: 0 / 329.7 MB, free: 15.35 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.2881, allocations: 0 / 329.7 MB, free: 15.35 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007018/0.2888, allocations: 386.1 kB / 330.1 MB, free: 14.95 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.2888, allocations: 8.375 kB / 330.1 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.2891, allocations: 28.78 kB / 330.1 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.2893, allocations: 196 kB / 330.3 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.2893, allocations: 5.25 kB / 330.3 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.2894, allocations: 10.44 kB / 330.3 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.2896, allocations: 91.28 kB / 330.4 MB, free: 14.65 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.2896, allocations: 9.25 kB / 330.4 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.2897, allocations: 0 / 330.4 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.2897, allocations: 6.328 kB / 330.4 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.2898, allocations: 55.03 kB / 330.5 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008733/0.2907, allocations: 488.2 kB / 331 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.291, allocations: 85.92 kB / 331.1 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.151e-05/0.2911, allocations: 23.73 kB / 331.1 MB, free: 14.08 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.2911, allocations: 4.938 kB / 331.1 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.2911, allocations: 40 kB / 331.1 MB, free: 14.03 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.2911, allocations: 7.875 kB / 331.1 MB, free: 14.02 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.000259/0.2914, allocations: 100.1 kB / 331.2 MB, free: 13.95 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.2914, allocations: 56.25 kB / 331.3 MB, free: 13.89 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/0.2915, allocations: 120.7 kB / 331.4 MB, free: 13.77 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.2916, allocations: 26.92 kB / 331.4 MB, free: 13.74 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.2916, allocations: 108.5 kB / 331.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.2917, allocations: 31.72 kB / 331.6 MB, free: 13.61 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.2917, allocations: 20.52 kB / 331.6 MB, free: 13.59 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.2918, allocations: 312.2 kB / 331.9 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.2919, allocations: 24.3 kB / 331.9 MB, free: 13.26 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.818e-05/0.292, allocations: 50.89 kB / 332 MB, free: 13.21 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.2921, allocations: 75.88 kB / 332 MB, free: 13.16 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2921, allocations: 1.406 kB / 332 MB, free: 13.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001704/0.2923, allocations: 114.3 kB / 332.1 MB, free: 13.08 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2923, allocations: 5.812 kB / 332.2 MB, free: 13.08 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2923, allocations: 1.094 kB / 332.2 MB, free: 13.08 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.2923, allocations: 2.344 kB / 332.2 MB, free: 13.08 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.2925, allocations: 23.36 kB / 332.2 MB, free: 13.08 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.2925, allocations: 14.22 kB / 332.2 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.366e-05/0.2926, allocations: 11.09 kB / 332.2 MB, free: 13.06 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.2926, allocations: 3.312 kB / 332.2 MB, free: 13.06 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.2927, allocations: 118.1 kB / 332.3 MB, free: 12.94 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.2928, allocations: 8.344 kB / 332.3 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.2928, allocations: 13.38 kB / 332.3 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.2928, allocations: 1.094 kB / 332.3 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.2928, allocations: 9.141 kB / 332.4 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2929, allocations: 4.094 kB / 332.4 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.2931, allocations: 198.3 kB / 332.5 MB, free: 12.69 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2931, allocations: 5.094 kB / 332.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.2933, allocations: 21.7 kB / 332.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2933, allocations: 0 / 332.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.2933, allocations: 5.062 kB / 332.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2933, allocations: 5.719 kB / 332.6 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2933, allocations: 7.875 kB / 332.6 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.2936, allocations: 204.7 kB / 332.8 MB, free: 12.49 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.2936, allocations: 83.08 kB / 332.9 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.2937, allocations: 5.109 kB / 332.9 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.2937, allocations: 5.109 kB / 332.9 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.2938, allocations: 7.156 kB / 332.9 MB, free: 12.38 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-06/0.2938, allocations: 1.031 kB / 332.9 MB, free: 12.38 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.594e-05/0.2938, allocations: 93.58 kB / 333 MB, free: 12.3 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2938, allocations: 0 / 333 MB, free: 12.3 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.2941, allocations: 28.97 kB / 333 MB, free: 12.29 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/0.2942, allocations: 100.3 kB / 333.1 MB, free: 12.2 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.2944, allocations: 63.66 kB / 333.2 MB, free: 12.17 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2944, allocations: 0 / 333.2 MB, free: 12.17 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.2945, allocations: 29.02 kB / 333.2 MB, free: 12.16 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.2948, allocations: 19.98 kB / 333.2 MB, free: 12.14 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008311/0.2957, allocations: 0.5299 MB / 333.7 MB, free: 11.7 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.296, allocations: 0.6961 MB / 334.4 MB, free: 11 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.415e-05/0.296, allocations: 12.02 kB / 334.5 MB, free: 10.99 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.2961, allocations: 11.69 kB / 334.5 MB, free: 10.98 MB / 270.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2961, allocations: 3.938 kB / 334.5 MB, free: 10.98 MB / 270.1 MB Notification: Performance of Templates: time 0.003721/0.2998, allocations: 0.8625 MB / 335.3 MB, free: 10.54 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1)