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.001407/0.001407, allocations: 106.6 kB / 16.51 MB, free: 6.707 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.001791/0.001791, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.529/1.529, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001888/0.001888, allocations: 43.92 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1395, allocations: 46.62 MB / 325.9 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.004092/0.1436, allocations: 1.823 MB / 327.8 MB, free: 3.059 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1452, allocations: 0.6748 MB / 328.4 MB, free: 2.375 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.1454, allocations: 0 / 328.4 MB, free: 2.375 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.1457, allocations: 11.92 kB / 328.5 MB, free: 2.363 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.1458, allocations: 35.69 kB / 328.5 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.1461, allocations: 47.88 kB / 328.5 MB, free: 2.281 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.1463, allocations: 111.4 kB / 328.6 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.1465, allocations: 20 kB / 328.7 MB, free: 2.152 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.843e-05/0.1465, allocations: 35.86 kB / 328.7 MB, free: 2.117 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1467, allocations: 51.7 kB / 328.8 MB, free: 2.066 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.1467, allocations: 8 kB / 328.8 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.455e-05/0.1468, allocations: 23.98 kB / 328.8 MB, free: 2.035 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.1468, allocations: 11.92 kB / 328.8 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.1469, allocations: 47.8 kB / 328.8 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.1471, allocations: 119.9 kB / 329 MB, free: 1.859 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1471, allocations: 4 kB / 329 MB, free: 1.855 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1471, allocations: 0 / 329 MB, free: 1.855 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1472, allocations: 0 / 329 MB, free: 1.855 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.0007071/0.1479, allocations: 411.3 kB / 329.4 MB, free: 1.406 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1479, allocations: 8.031 kB / 329.4 MB, free: 1.398 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.1482, allocations: 28.81 kB / 329.4 MB, free: 1.371 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.1484, allocations: 196.1 kB / 329.6 MB, free: 1.141 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.1485, allocations: 16.56 kB / 329.6 MB, free: 1.125 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.1485, allocations: 12.31 kB / 329.6 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.1488, allocations: 93.59 kB / 329.7 MB, free: 1.016 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1488, allocations: 3.984 kB / 329.7 MB, free: 1.012 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.1488, allocations: 4 kB / 329.7 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1488, allocations: 4 kB / 329.7 MB, free: 1.004 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.149, allocations: 55.95 kB / 329.8 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008775/0.1499, allocations: 489.1 kB / 330.3 MB, free: 416 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.1502, allocations: 86.52 kB / 330.3 MB, free: 320 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.1502, allocations: 28.89 kB / 330.4 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.1503, allocations: 4 kB / 330.4 MB, free: 284 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1503, allocations: 34.56 kB / 330.4 MB, free: 240 kB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.1503, allocations: 0 / 330.4 MB, free: 240 kB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002823/0.1506, allocations: 97.53 kB / 330.5 MB, free: 136 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.1506, allocations: 55.34 kB / 330.6 MB, free: 68 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.1508, allocations: 121.8 kB / 330.7 MB, free: 15.94 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1508, allocations: 25.7 kB / 330.7 MB, free: 15.91 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.1509, allocations: 111.9 kB / 330.8 MB, free: 15.79 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.1509, allocations: 31.7 kB / 330.8 MB, free: 15.76 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/0.151, allocations: 33.7 kB / 330.9 MB, free: 15.72 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1511, allocations: 314.8 kB / 331.2 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.674e-05/0.1512, allocations: 23.98 kB / 331.2 MB, free: 15.38 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.946e-05/0.1513, allocations: 47.42 kB / 331.3 MB, free: 15.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.1514, allocations: 79.38 kB / 331.3 MB, free: 15.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1514, allocations: 4 kB / 331.3 MB, free: 15.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001962/0.1516, allocations: 117.4 kB / 331.4 MB, free: 15.11 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1517, allocations: 4 kB / 331.5 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1517, allocations: 4 kB / 331.5 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1517, allocations: 0 / 331.5 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.1518, allocations: 27.92 kB / 331.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.1519, allocations: 7.938 kB / 331.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.665e-05/0.1519, allocations: 11.94 kB / 331.5 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.152, allocations: 4 kB / 331.5 MB, free: 15.05 MB / 286.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.0001311/0.1521, allocations: 121.8 kB / 331.6 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.1521, allocations: 4 kB / 331.6 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.1522, allocations: 16.36 kB / 331.6 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1522, allocations: 0 / 331.6 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.1522, allocations: 3.938 kB / 331.6 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1522, allocations: 0 / 331.6 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.1525, allocations: 205.5 kB / 331.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1525, allocations: 0 / 331.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.1527, allocations: 23.92 kB / 331.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1527, allocations: 0 / 331.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1527, allocations: 0 / 331.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.1527, allocations: 8 kB / 331.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1527, allocations: 3.938 kB / 331.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.153, allocations: 203.4 kB / 332.1 MB, free: 14.4 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.1531, allocations: 89.05 kB / 332.2 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.1531, allocations: 4 kB / 332.2 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.058e-05/0.1532, allocations: 0 / 332.2 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.1532, allocations: 11.94 kB / 332.2 MB, free: 14.28 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1532, allocations: 96 / 332.2 MB, free: 14.28 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.544e-05/0.1533, allocations: 95.27 kB / 332.3 MB, free: 14.18 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1533, allocations: 0 / 332.3 MB, free: 14.18 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1535, allocations: 27.94 kB / 332.3 MB, free: 14.16 MB / 286.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.000115/0.1537, allocations: 99.17 kB / 332.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.1539, allocations: 67.91 kB / 332.5 MB, free: 13.98 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1539, allocations: 0 / 332.5 MB, free: 13.98 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.09e-05/0.1539, allocations: 20 kB / 332.5 MB, free: 13.96 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.1543, allocations: 20.2 kB / 332.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009006/0.1552, allocations: 469.3 kB / 333 MB, free: 13.46 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.1556, allocations: 0.6926 MB / 333.7 MB, free: 12.74 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.759e-05/0.1557, allocations: 16.36 kB / 333.7 MB, free: 12.72 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.1557, allocations: 11.44 kB / 333.7 MB, free: 12.71 MB / 286.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1557, allocations: 0 / 333.7 MB, free: 12.71 MB / 286.1 MB Notification: Performance of Templates: time 0.003553/0.1593, allocations: 0.8705 MB / 334.6 MB, free: 11.84 MB / 286.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)