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.006072/0.006072, allocations: 101.4 kB / 15.73 MB, free: 6.477 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.001589/0.001588, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.664/1.664, allocations: 205.1 MB / 222.6 MB, free: 4.566 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.00151/0.001511, allocations: 45.88 kB / 326.5 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1219, allocations: 46.63 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003738/0.1256, allocations: 1.747 MB / 374.9 MB, free: 15.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.127, allocations: 0.6862 MB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.1272, allocations: 0 / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.1274, allocations: 15.86 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.1276, allocations: 43.58 kB / 375.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.1279, allocations: 39.88 kB / 375.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.1281, allocations: 127.4 kB / 375.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1283, allocations: 27.97 kB / 375.8 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.395e-05/0.1283, allocations: 43.86 kB / 375.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.1285, allocations: 47.78 kB / 375.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.1285, allocations: 8 kB / 375.9 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.868e-05/0.1286, allocations: 19.98 kB / 376 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.294e-05/0.1286, allocations: 27.91 kB / 376 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.948e-05/0.1287, allocations: 51.73 kB / 376 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1289, allocations: 131.5 kB / 376.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.129, allocations: 0 / 376.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.129, allocations: 0 / 376.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.129, allocations: 4 kB / 376.2 MB, free: 14.3 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.0006528/0.1296, allocations: 399.3 kB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.1297, allocations: 8.031 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.1299, allocations: 28.73 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.1303, allocations: 192.3 kB / 376.8 MB, free: 13.6 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.1303, allocations: 8.562 kB / 376.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.1304, allocations: 20.28 kB / 376.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.1306, allocations: 97.53 kB / 376.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.1306, allocations: 4 kB / 376.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.1307, allocations: 0 / 376.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1307, allocations: 0 / 376.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.1308, allocations: 59.97 kB / 377 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000931/0.1318, allocations: 489.2 kB / 377.4 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.1321, allocations: 86.52 kB / 377.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.1322, allocations: 28.89 kB / 377.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.1322, allocations: 0 / 377.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.1322, allocations: 34.56 kB / 377.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.1322, allocations: 0 / 377.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002903/0.1325, allocations: 97.58 kB / 377.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.1326, allocations: 63.33 kB / 377.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1327, allocations: 113.8 kB / 377.9 MB, free: 12.4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.1327, allocations: 25.7 kB / 377.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1329, allocations: 115.8 kB / 378 MB, free: 12.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.1329, allocations: 35.48 kB / 378 MB, free: 12.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.1329, allocations: 25.66 kB / 378.1 MB, free: 12.19 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1331, allocations: 322.8 kB / 378.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.1331, allocations: 27.94 kB / 378.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.019e-05/0.1332, allocations: 51.42 kB / 378.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.1333, allocations: 75.36 kB / 378.5 MB, free: 11.69 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1333, allocations: 0 / 378.5 MB, free: 11.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001922/0.1335, allocations: 117.5 kB / 378.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1336, allocations: 4 kB / 378.6 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1336, allocations: 0 / 378.6 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1336, allocations: 4 kB / 378.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1337, allocations: 23.98 kB / 378.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.1337, allocations: 3.938 kB / 378.7 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/0.1338, allocations: 11.94 kB / 378.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1338, allocations: 4 kB / 378.7 MB, free: 11.52 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.000116/0.134, allocations: 125.9 kB / 378.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.134, allocations: 11.89 kB / 378.8 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.134, allocations: 8.375 kB / 378.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1341, allocations: 0 / 378.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.1341, allocations: 7.938 kB / 378.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1341, allocations: 0 / 378.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.1343, allocations: 197.8 kB / 379 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1343, allocations: 0 / 379 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.1345, allocations: 16 kB / 379.1 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1345, allocations: 4 kB / 379.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1345, allocations: 11.98 kB / 379.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1345, allocations: 4 kB / 379.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1345, allocations: 4.344 kB / 379.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.1348, allocations: 211.3 kB / 379.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.1348, allocations: 84.95 kB / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.1349, allocations: 4 kB / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.1349, allocations: 4 kB / 379.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.135, allocations: 3.938 kB / 379.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.135, allocations: 8.047 kB / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.776e-05/0.135, allocations: 99.58 kB / 379.5 MB, free: 10.63 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.135, allocations: 0 / 379.5 MB, free: 10.63 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.1353, allocations: 27.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.0001218/0.1355, allocations: 103.2 kB / 379.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.1356, allocations: 59.91 kB / 379.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1356, allocations: 0 / 379.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.63e-05/0.1357, allocations: 36.11 kB / 379.7 MB, free: 10.4 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.136, allocations: 12 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.0007999/0.1368, allocations: 418.8 kB / 380.1 MB, free: 9.953 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.1371, allocations: 0.7002 MB / 380.8 MB, free: 9.227 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.956e-05/0.1372, allocations: 12.42 kB / 380.8 MB, free: 9.215 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.1372, allocations: 11.44 kB / 380.8 MB, free: 9.203 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1372, allocations: 0 / 380.8 MB, free: 9.203 MB / 318.1 MB Notification: Performance of Templates: time 0.003626/0.1409, allocations: 0.9337 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)