Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001153/0.001153, allocations: 116.2 kB / 17.06 MB, free: 6 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.00129/0.00129, allocations: 198.9 kB / 18 MB, free: 5.078 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.591/1.591, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.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.001305/0.001305, allocations: 51.94 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1156, allocations: 46.61 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003551/0.1192, allocations: 1.758 MB / 376.2 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1205, allocations: 0.6901 MB / 376.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.605e-05/0.1206, allocations: 4 kB / 376.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.1208, allocations: 11.86 kB / 376.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.09e-05/0.1209, allocations: 35.7 kB / 377 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.1211, allocations: 47.81 kB / 377 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1213, allocations: 123.4 kB / 377.1 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.1215, allocations: 31.97 kB / 377.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.39e-05/0.1216, allocations: 43.8 kB / 377.2 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.1217, allocations: 51.77 kB / 377.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.1217, allocations: 8 kB / 377.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1219, allocations: 24 kB / 377.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.1219, allocations: 23.92 kB / 377.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.607e-05/0.122, allocations: 47.8 kB / 377.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.1223, allocations: 127.6 kB / 377.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1223, allocations: 0 / 377.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1223, allocations: 0 / 377.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1223, allocations: 0 / 377.5 MB, free: 1.539 MB / 318.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.0005872/0.1229, allocations: 407.3 kB / 377.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1229, allocations: 8.031 kB / 377.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.1231, allocations: 36.67 kB / 377.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.1234, allocations: 188.2 kB / 378.1 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1234, allocations: 8.562 kB / 378.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.1235, allocations: 12.38 kB / 378.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.1237, allocations: 101.5 kB / 378.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1237, allocations: 4 kB / 378.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1237, allocations: 4 kB / 378.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1238, allocations: 0 / 378.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.1239, allocations: 55.97 kB / 378.3 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007083/0.1246, allocations: 493.2 kB / 378.8 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.1249, allocations: 82.61 kB / 378.9 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.202/0.3269, allocations: 25.75 kB / 378.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.327, allocations: 3.5 kB / 378.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.3271, allocations: 36.72 kB / 378.9 MB, free: 13.1 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 4.248e-06/0.3271, allocations: 0 / 378.9 MB, free: 13.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004551/0.3276, allocations: 98.59 kB / 379 MB, free: 13.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/0.3277, allocations: 54.97 kB / 379.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.3278, allocations: 120.1 kB / 379.2 MB, free: 12.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.3278, allocations: 30.05 kB / 379.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.3279, allocations: 105.4 kB / 379.3 MB, free: 12.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.328, allocations: 34.69 kB / 379.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.328, allocations: 25.88 kB / 379.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3282, allocations: 319.8 kB / 379.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.645e-05/0.3282, allocations: 22.81 kB / 379.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.527e-05/0.3283, allocations: 52.88 kB / 379.8 MB, free: 12.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.3285, allocations: 76.72 kB / 379.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3285, allocations: 1.281 kB / 379.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001918/0.3287, allocations: 113.5 kB / 379.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.3287, allocations: 5.5 kB / 380 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.3287, allocations: 2.266 kB / 380 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.3288, allocations: 5.219 kB / 380 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.3289, allocations: 28.56 kB / 380 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3289, allocations: 1.375 kB / 380 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.329, allocations: 9.219 kB / 380 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.329, allocations: 4.125 kB / 380 MB, free: 12.36 MB / 318.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 8.922e-05/0.3291, allocations: 123.6 kB / 380.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.3292, allocations: 10.84 kB / 380.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.765e-05/0.3292, allocations: 13.91 kB / 380.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3292, allocations: 1.375 kB / 380.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3292, allocations: 3.219 kB / 380.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3292, allocations: 0.6094 kB / 380.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.3295, allocations: 205 kB / 380.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3295, allocations: 0 / 380.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.3296, allocations: 20.81 kB / 380.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3296, allocations: 1.203 kB / 380.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3296, allocations: 5.688 kB / 380.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3296, allocations: 1.469 kB / 380.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3297, allocations: 0 / 380.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.3299, allocations: 209.4 kB / 380.6 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.3299, allocations: 83.77 kB / 380.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.33, allocations: 1.828 kB / 380.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.162e-05/0.33, allocations: 1.344 kB / 380.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.3301, allocations: 11.8 kB / 380.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.3301, allocations: 2.047 kB / 380.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.453e-05/0.3301, allocations: 96.08 kB / 380.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3301, allocations: 1 kB / 380.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.3304, allocations: 29.56 kB / 380.8 MB, free: 11.73 MB / 318.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.0001114/0.3305, allocations: 97.72 kB / 380.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.3307, allocations: 60.77 kB / 381 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3307, allocations: 288 / 381 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.833e-05/0.3308, allocations: 29.52 kB / 381 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.3311, allocations: 33.88 kB / 381 MB, free: 11.63 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007894/0.3319, allocations: 417.4 kB / 381.4 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.3321, allocations: 0.7059 MB / 382.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.036e-05/0.3322, allocations: 6.766 kB / 382.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.3322, allocations: 11.56 kB / 382.2 MB, free: 10.65 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3323, allocations: 0 / 382.2 MB, free: 10.65 MB / 318.1 MB Notification: Performance of Templates: time 0.004901/0.3372, allocations: 0.9447 MB / 383.1 MB, free: 10.56 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1)