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.01024/0.01024, allocations: 98.09 kB / 15.73 MB, free: 6.02 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.00228/0.00228, allocations: 186.5 kB / 16.67 MB, free: 5.941 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.597/1.597, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.001184/0.001184, allocations: 53.41 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1166, 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.00297/0.1196, allocations: 1.755 MB / 374.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1209, allocations: 0.6823 MB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-05/0.121, allocations: 4 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.1211, allocations: 15.86 kB / 375.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.721e-05/0.1212, allocations: 31.7 kB / 375.6 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.1215, allocations: 43.81 kB / 375.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.1217, allocations: 123.4 kB / 375.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.1219, allocations: 35.97 kB / 375.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.198e-05/0.1219, allocations: 39.86 kB / 375.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1221, allocations: 43.8 kB / 375.9 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.1221, allocations: 8 kB / 375.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.134e-05/0.1222, allocations: 19.98 kB / 376 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.1222, allocations: 27.91 kB / 376 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.008e-05/0.1223, allocations: 51.73 kB / 376 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.1226, allocations: 139.4 kB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1226, allocations: 0 / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1226, allocations: 0 / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1226, allocations: 4 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.0006403/0.1233, allocations: 403.2 kB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1233, allocations: 8.031 kB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.1235, allocations: 24.88 kB / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1239, allocations: 200.2 kB / 376.8 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1239, allocations: 8.547 kB / 376.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.1239, allocations: 12.38 kB / 376.8 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.1241, allocations: 97.59 kB / 376.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1242, allocations: 7.953 kB / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1242, allocations: 0 / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.1242, allocations: 4 kB / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.1243, allocations: 59.91 kB / 377 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007601/0.1251, allocations: 489.3 kB / 377.5 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.1254, allocations: 86.61 kB / 377.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.1254, allocations: 24.86 kB / 377.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.1254, allocations: 0 / 377.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1255, allocations: 42.5 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1255, allocations: 0 / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002389/0.1257, allocations: 97.62 kB / 377.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.1258, allocations: 59.34 kB / 377.8 MB, free: 12.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.481e-05/0.1259, allocations: 117.8 kB / 377.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1259, allocations: 25.7 kB / 377.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.126, allocations: 115.9 kB / 378 MB, free: 12.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.126, allocations: 31.73 kB / 378 MB, free: 12.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.1261, allocations: 21.72 kB / 378.1 MB, free: 12.17 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1262, allocations: 326.8 kB / 378.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/0.1263, allocations: 23.98 kB / 378.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.1264, allocations: 55.36 kB / 378.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1265, allocations: 75.31 kB / 378.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1265, allocations: 0 / 378.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002088/0.1267, allocations: 113.6 kB / 378.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1268, allocations: 9.078 kB / 378.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1268, allocations: 0 / 378.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1268, allocations: 4 kB / 378.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1269, allocations: 23.94 kB / 378.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.1269, allocations: 3.938 kB / 378.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.742e-05/0.127, allocations: 19.88 kB / 378.7 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.127, allocations: 4 kB / 378.7 MB, free: 11.49 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 9.407e-05/0.1271, allocations: 117.9 kB / 378.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.1271, allocations: 11.95 kB / 378.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.067e-05/0.1272, allocations: 12.31 kB / 378.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1272, allocations: 4 kB / 378.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.1272, allocations: 3.938 kB / 378.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1272, allocations: 0 / 378.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.1274, allocations: 197.8 kB / 379 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1275, allocations: 0 / 379 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.1276, allocations: 19.98 kB / 379.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1276, allocations: 4 kB / 379.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1276, allocations: 8 kB / 379.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1276, allocations: 0 / 379.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.1276, allocations: 3.938 kB / 379.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.1279, allocations: 203.8 kB / 379.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.1279, allocations: 85 kB / 379.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.128, allocations: 8.031 kB / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.128, allocations: 4 kB / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.1281, allocations: 11.95 kB / 379.4 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1281, allocations: 8 kB / 379.4 MB, free: 10.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.121e-05/0.1282, allocations: 95.2 kB / 379.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1282, allocations: 0 / 379.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.1284, allocations: 27.95 kB / 379.5 MB, free: 10.59 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.0001139/0.1285, allocations: 95.25 kB / 379.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.1287, allocations: 67.94 kB / 379.7 MB, free: 10.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1287, allocations: 0 / 379.7 MB, free: 10.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.629e-05/0.1288, allocations: 32.11 kB / 379.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.1291, allocations: 20 kB / 379.7 MB, free: 10.37 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008102/0.1299, allocations: 422.2 kB / 380.1 MB, free: 9.926 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1303, allocations: 0.7002 MB / 380.8 MB, free: 9.199 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.73e-05/0.1304, allocations: 8.438 kB / 380.8 MB, free: 9.191 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.1304, allocations: 11.44 kB / 380.9 MB, free: 9.18 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1304, allocations: 0 / 380.9 MB, free: 9.18 MB / 318.1 MB Notification: Performance of Templates: time 0.003491/0.1339, allocations: 0.938 MB / 381.8 MB, free: 8.242 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)