Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.01109/0.01109, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001747/0.001748, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.638/1.638, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001768/0.001768, allocations: 51.92 kB / 326.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1254, allocations: 46.61 MB / 373.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00362/0.129, allocations: 1.758 MB / 374.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1302, allocations: 0.6901 MB / 375.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.944e-05/0.1303, allocations: 0 / 375.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.1305, allocations: 15.8 kB / 375.6 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.639e-05/0.1305, allocations: 39.69 kB / 375.6 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.1308, allocations: 43.89 kB / 375.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.131, allocations: 127.3 kB / 375.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.1312, allocations: 23.97 kB / 375.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.233e-05/0.1312, allocations: 43.86 kB / 375.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1313, allocations: 43.78 kB / 375.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.1314, allocations: 8 kB / 375.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.48e-05/0.1315, allocations: 28 kB / 376 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.127e-05/0.1315, allocations: 23.91 kB / 376 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.487e-05/0.1316, allocations: 47.8 kB / 376 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.1318, allocations: 131.5 kB / 376.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1318, allocations: 3.938 kB / 376.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1318, allocations: 0 / 376.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1319, allocations: 0 / 376.2 MB, free: 1.547 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.0006197/0.1325, allocations: 403.4 kB / 376.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1325, allocations: 12.03 kB / 376.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.1328, allocations: 28.73 kB / 376.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.1331, allocations: 200.2 kB / 376.8 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1331, allocations: 8.5 kB / 376.8 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.1332, allocations: 8.375 kB / 376.8 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.1334, allocations: 97.59 kB / 376.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.1334, allocations: 3.984 kB / 376.9 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1334, allocations: 0 / 376.9 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1334, allocations: 4 kB / 376.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.1336, allocations: 59.97 kB / 377 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008576/0.1344, allocations: 481.2 kB / 377.4 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.1348, allocations: 90.55 kB / 377.5 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2528/0.3875, allocations: 20.86 kB / 377.5 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.3876, allocations: 2.234 kB / 377.5 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.3876, allocations: 35.56 kB / 377.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 2.795e-06/0.3876, allocations: 0 / 377.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003355/0.388, allocations: 96.27 kB / 377.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.388, allocations: 61.91 kB / 377.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.478e-05/0.3881, allocations: 119.6 kB / 377.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.3881, allocations: 25.7 kB / 377.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.3882, allocations: 111.4 kB / 378 MB, free: 12.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.3882, allocations: 32.03 kB / 378 MB, free: 12.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.3883, allocations: 29.2 kB / 378 MB, free: 12.78 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.602e-05/0.3884, allocations: 317.3 kB / 378.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.694e-05/0.3884, allocations: 22.61 kB / 378.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/0.3885, allocations: 49.53 kB / 378.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.3886, allocations: 80.48 kB / 378.5 MB, free: 12.4 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3886, allocations: 1.094 kB / 378.5 MB, free: 12.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001586/0.3888, allocations: 113.1 kB / 378.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3888, allocations: 9.062 kB / 378.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.3888, allocations: 1.375 kB / 378.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.3888, allocations: 4 kB / 378.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.389, allocations: 30.5 kB / 378.7 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.389, allocations: 1.375 kB / 378.7 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.3891, allocations: 7.141 kB / 378.7 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.3891, allocations: 4.688 kB / 378.7 MB, free: 12.37 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 7.42e-05/0.3891, allocations: 130.6 kB / 378.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.3892, allocations: 8.031 kB / 378.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.3892, allocations: 13.8 kB / 378.8 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3892, allocations: 1.375 kB / 378.8 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3892, allocations: 0 / 378.8 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3893, allocations: 0.6562 kB / 378.8 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.3895, allocations: 208.1 kB / 379 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3895, allocations: 1.312 kB / 379 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.3896, allocations: 19.94 kB / 379.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3896, allocations: 0 / 379.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3896, allocations: 6.875 kB / 379.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3896, allocations: 0 / 379.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3896, allocations: 2.203 kB / 379.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.3899, allocations: 210 kB / 379.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.3899, allocations: 83.27 kB / 379.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.3899, allocations: 3.5 kB / 379.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.39, allocations: 3.188 kB / 379.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.39, allocations: 4.234 kB / 379.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.3901, allocations: 2.125 kB / 379.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.709e-05/0.3901, allocations: 97.77 kB / 379.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3901, allocations: 3.281 kB / 379.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.3904, allocations: 28.69 kB / 379.5 MB, free: 11.74 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 8.734e-05/0.3905, allocations: 102.8 kB / 379.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.3906, allocations: 61.12 kB / 379.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3906, allocations: 0 / 379.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.537e-05/0.3907, allocations: 28.72 kB / 379.7 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.391, allocations: 26.92 kB / 379.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006908/0.3917, allocations: 423.1 kB / 380.1 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.392, allocations: 0.7068 MB / 380.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.841e-05/0.3921, allocations: 5.344 kB / 380.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.3921, allocations: 11.56 kB / 380.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3921, allocations: 1.375 kB / 380.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of Templates: time 0.00394/0.396, allocations: 0.9217 MB / 381.8 MB, free: 10.59 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1)