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.01105/0.01105, allocations: 101.1 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.002383/0.002383, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.57/1.57, allocations: 205.1 MB / 222.6 MB, free: 4.379 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.001178/0.001178, allocations: 46.86 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1208, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002946/0.1238, allocations: 1.755 MB / 374.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1249, allocations: 0.6862 MB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.99e-05/0.125, allocations: 4 kB / 375.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.1251, allocations: 11.86 kB / 375.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.884e-05/0.1252, allocations: 35.7 kB / 375.6 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.1255, allocations: 47.81 kB / 375.7 MB, free: 14.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.1257, allocations: 131.4 kB / 375.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1258, allocations: 19.98 kB / 375.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.1259, allocations: 43.86 kB / 375.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.654e-05/0.126, allocations: 39.8 kB / 375.9 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.126, allocations: 8 kB / 375.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.454e-05/0.1261, allocations: 27.98 kB / 376 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.1262, allocations: 27.91 kB / 376 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.021e-05/0.1262, allocations: 47.73 kB / 376 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.1265, allocations: 131.5 kB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1265, allocations: 0 / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1265, allocations: 0 / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.1265, 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.000791/0.1273, allocations: 399.4 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.1273, allocations: 8.031 kB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.1276, allocations: 36.66 kB / 376.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.1279, allocations: 196.2 kB / 376.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.128, allocations: 8.562 kB / 376.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.128, allocations: 16.28 kB / 376.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.1282, allocations: 97.59 kB / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.1282, allocations: 0 / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.1283, allocations: 0 / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-06/0.1283, allocations: 7.938 kB / 376.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.1284, allocations: 59.97 kB / 377 MB, free: 13.38 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008298/0.1293, allocations: 489.2 kB / 377.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.1295, allocations: 86.62 kB / 377.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.1296, allocations: 24.86 kB / 377.6 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.1296, allocations: 0 / 377.6 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1297, allocations: 34.5 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.1297, allocations: 0 / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002481/0.1299, allocations: 101.6 kB / 377.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.13, allocations: 55.34 kB / 377.7 MB, free: 12.51 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.1301, allocations: 121.8 kB / 377.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1301, allocations: 25.7 kB / 377.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.1302, allocations: 111.8 kB / 378 MB, free: 12.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.1302, allocations: 31.55 kB / 378 MB, free: 12.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.1303, allocations: 25.72 kB / 378.1 MB, free: 12.17 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1304, allocations: 314.8 kB / 378.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.362e-05/0.1305, allocations: 35.92 kB / 378.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.953e-05/0.1305, allocations: 59.36 kB / 378.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1307, allocations: 71.38 kB / 378.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1307, allocations: 4 kB / 378.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001875/0.1309, allocations: 113.5 kB / 378.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1309, allocations: 7.984 kB / 378.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1309, allocations: 4 kB / 378.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1309, allocations: 0 / 378.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1311, allocations: 23.94 kB / 378.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1311, allocations: 7.938 kB / 378.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.818e-05/0.1311, allocations: 11.92 kB / 378.7 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1312, 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.903e-05/0.1313, allocations: 117.9 kB / 378.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.1313, allocations: 11.84 kB / 378.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.1314, allocations: 16.38 kB / 378.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1314, allocations: 0 / 378.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.1314, allocations: 3.938 kB / 378.8 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.1314, allocations: 0 / 378.8 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.1316, allocations: 197.8 kB / 379 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1316, allocations: 4 kB / 379 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.1317, allocations: 19.98 kB / 379.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1317, allocations: 0 / 379.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.1318, allocations: 8 kB / 379.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1318, allocations: 0 / 379.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.1318, allocations: 11.94 kB / 379.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.132, allocations: 199.4 kB / 379.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.1321, allocations: 92.89 kB / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.1321, allocations: 4 kB / 379.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.175e-05/0.1322, allocations: 0 / 379.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.1322, allocations: 11.97 kB / 379.4 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1322, allocations: 4 kB / 379.4 MB, free: 10.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.015e-05/0.1323, allocations: 95.2 kB / 379.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1323, allocations: 4 kB / 379.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1326, allocations: 27.91 kB / 379.5 MB, free: 10.58 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 9.608e-05/0.1327, allocations: 91.25 kB / 379.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.1328, allocations: 63.91 kB / 379.7 MB, free: 10.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1329, allocations: 0 / 379.7 MB, free: 10.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.251e-05/0.1329, allocations: 36.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.0003095/0.1332, allocations: 16.77 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.0007547/0.134, allocations: 422.8 kB / 380.1 MB, free: 9.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.1343, allocations: 0.6963 MB / 380.8 MB, free: 9.207 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.64e-05/0.1343, allocations: 8.438 kB / 380.8 MB, free: 9.199 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.1344, allocations: 11.44 kB / 380.8 MB, free: 9.188 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1344, allocations: 0 / 380.8 MB, free: 9.188 MB / 318.1 MB Notification: Performance of Templates: time 0.003556/0.1379, allocations: 0.9376 MB / 381.8 MB, free: 8.25 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)