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.0087/0.0087, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.001161/0.001161, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.578/1.578, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001706/0.001706, allocations: 50.25 kB / 326.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1411, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003783/0.1449, allocations: 1.751 MB / 374.9 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1464, allocations: 0.6785 MB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.1465, allocations: 7.938 kB / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.1467, allocations: 11.86 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.1468, allocations: 43.62 kB / 375.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.1471, allocations: 43.89 kB / 375.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.1474, allocations: 119.4 kB / 375.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.1476, allocations: 31.95 kB / 375.8 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.161e-05/0.1477, allocations: 39.86 kB / 375.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.1479, allocations: 47.78 kB / 375.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.1479, allocations: 8 kB / 375.9 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.1481, allocations: 20 kB / 376 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/0.1481, allocations: 23.91 kB / 376 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1483, allocations: 55.73 kB / 376 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.1486, allocations: 135.5 kB / 376.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1486, allocations: 0 / 376.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1486, allocations: 0 / 376.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1487, allocations: 3.938 kB / 376.2 MB, free: 14.29 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.000861/0.1495, allocations: 399.4 kB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.1496, allocations: 12.03 kB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003056/0.1499, allocations: 32.73 kB / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.1503, allocations: 192.3 kB / 376.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1504, allocations: 8.562 kB / 376.8 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.138e-05/0.1505, allocations: 12.28 kB / 376.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.1507, allocations: 97.53 kB / 376.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1508, allocations: 0 / 376.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.1508, allocations: 4 kB / 376.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.1508, allocations: 4 kB / 376.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.151, allocations: 51.97 kB / 377 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.1521, allocations: 489.2 kB / 377.4 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.1524, allocations: 90.53 kB / 377.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.335e-05/0.1525, allocations: 28.86 kB / 377.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.1525, allocations: 4 kB / 377.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.1526, allocations: 34.56 kB / 377.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.1526, allocations: 0 / 377.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003335/0.1529, allocations: 93.58 kB / 377.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.153, allocations: 59.34 kB / 377.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1531, allocations: 113.8 kB / 377.9 MB, free: 12.4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1532, allocations: 29.7 kB / 377.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.375e-05/0.1533, allocations: 111.8 kB / 378 MB, free: 12.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.1533, allocations: 35.55 kB / 378 MB, free: 12.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.1534, allocations: 25.72 kB / 378.1 MB, free: 12.19 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1536, allocations: 322.8 kB / 378.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.931e-05/0.1536, allocations: 27.98 kB / 378.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.245e-05/0.1537, allocations: 51.36 kB / 378.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.1539, allocations: 83.31 kB / 378.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1539, allocations: 0 / 378.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002372/0.1542, allocations: 113.5 kB / 378.6 MB, free: 11.56 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1542, allocations: 4 kB / 378.6 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1542, allocations: 0 / 378.6 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.1542, allocations: 4 kB / 378.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.1544, allocations: 24 kB / 378.7 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.1545, allocations: 12.02 kB / 378.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.732e-05/0.1545, allocations: 7.938 kB / 378.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1546, allocations: 4 kB / 378.7 MB, free: 11.51 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 0.0001256/0.1547, allocations: 121.8 kB / 378.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.1547, allocations: 7.906 kB / 378.8 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.1548, allocations: 8.375 kB / 378.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1548, allocations: 4 kB / 378.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1548, allocations: 3.938 kB / 378.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1548, allocations: 0 / 378.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.1552, allocations: 205.8 kB / 379 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1552, allocations: 0 / 379 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.1554, allocations: 23.98 kB / 379.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1554, allocations: 0 / 379.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1554, allocations: 4 kB / 379.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1554, allocations: 0 / 379.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.1554, allocations: 4.25 kB / 379.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.1558, allocations: 211.4 kB / 379.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.1559, allocations: 88.95 kB / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.1559, allocations: 4 kB / 379.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1561, allocations: 0 / 379.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.1561, allocations: 7.969 kB / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1561, allocations: 8 kB / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.483e-05/0.1562, allocations: 91.27 kB / 379.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1562, allocations: 3.938 kB / 379.5 MB, free: 10.63 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004287/0.1567, allocations: 23.91 kB / 379.5 MB, free: 10.61 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.0001686/0.1568, allocations: 103.2 kB / 379.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.1571, allocations: 64 kB / 379.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1571, allocations: 192 / 379.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.423e-05/0.1572, allocations: 27.92 kB / 379.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.1577, allocations: 19.92 kB / 379.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.1588, allocations: 423 kB / 380.1 MB, free: 9.949 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.1592, allocations: 0.7041 MB / 380.8 MB, free: 9.219 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.695e-05/0.1593, allocations: 8.422 kB / 380.8 MB, free: 9.211 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.1594, allocations: 11.44 kB / 380.8 MB, free: 9.199 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1594, allocations: 4 kB / 380.8 MB, free: 9.195 MB / 318.1 MB Notification: Performance of Templates: time 0.004763/0.1642, allocations: 0.9261 MB / 381.8 MB, free: 8.27 MB / 318.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)