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.001134/0.001134, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009907/0.0009908, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.000423/0.0004231, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2334, allocations: 47.59 MB / 326.4 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.001674/0.2352, allocations: 1.387 MB / 327.8 MB, free: 320 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009989/0.2362, allocations: 0.6242 MB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.2364, allocations: 1.5 kB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.311e-05/0.2364, allocations: 9.953 kB / 328.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.2366, allocations: 44.62 kB / 328.5 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.2369, allocations: 44.97 kB / 328.6 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.2371, allocations: 90.52 kB / 328.6 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.2372, allocations: 18.58 kB / 328.7 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/0.2373, allocations: 41.59 kB / 328.7 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.2374, allocations: 37.25 kB / 328.7 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2375, allocations: 5.938 kB / 328.7 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.785e-05/0.2376, allocations: 28.3 kB / 328.8 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.2376, allocations: 14.42 kB / 328.8 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.2377, allocations: 43.77 kB / 328.8 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.2378, allocations: 90.72 kB / 328.9 MB, free: 15.51 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2379, allocations: 0 / 328.9 MB, free: 15.51 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.2379, allocations: 0.75 kB / 328.9 MB, free: 15.51 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2379, allocations: 0 / 328.9 MB, free: 15.51 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.000586/0.2385, allocations: 386.2 kB / 329.3 MB, free: 15.11 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2385, allocations: 8.438 kB / 329.3 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.2388, allocations: 23.3 kB / 329.3 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.239, allocations: 211.8 kB / 329.5 MB, free: 14.87 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.239, allocations: 7.75 kB / 329.5 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.2391, allocations: 10.75 kB / 329.5 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.2393, allocations: 87.59 kB / 329.6 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2393, allocations: 0 / 329.6 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.2393, allocations: 5.375 kB / 329.6 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.2394, allocations: 2.656 kB / 329.6 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.2395, allocations: 58.72 kB / 329.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000769/0.2403, allocations: 493.1 kB / 330.2 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.2405, allocations: 76.62 kB / 330.3 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.2405, allocations: 1.438 kB / 330.3 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.2406, allocations: 43.92 kB / 330.3 MB, free: 14.2 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.2406, allocations: 0 / 330.3 MB, free: 14.2 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002227/0.2408, allocations: 94.91 kB / 330.4 MB, free: 14.14 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.2409, allocations: 56.81 kB / 330.4 MB, free: 14.07 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.2409, allocations: 120.4 kB / 330.6 MB, free: 13.96 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.241, allocations: 29.7 kB / 330.6 MB, free: 13.92 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.241, allocations: 104.9 kB / 330.7 MB, free: 13.82 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.2411, allocations: 27.34 kB / 330.7 MB, free: 13.8 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.2411, allocations: 9.438 kB / 330.7 MB, free: 13.79 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.2412, allocations: 320.2 kB / 331 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-05/0.2413, allocations: 23.11 kB / 331.1 MB, free: 13.46 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.152e-05/0.2414, allocations: 46.33 kB / 331.1 MB, free: 13.41 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.113e-05/0.2414, allocations: 34.66 kB / 331.1 MB, free: 13.39 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2414, allocations: 5.188 kB / 331.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001695/0.2416, allocations: 106.2 kB / 331.3 MB, free: 13.32 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.2416, allocations: 9.234 kB / 331.3 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2416, allocations: 5.281 kB / 331.3 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2417, allocations: 1.406 kB / 331.3 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.2418, allocations: 24.73 kB / 331.3 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2418, allocations: 1.406 kB / 331.3 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.173e-05/0.2419, allocations: 7.156 kB / 331.3 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.2419, allocations: 8.406 kB / 331.3 MB, free: 13.3 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.242, allocations: 122.5 kB / 331.4 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.2421, allocations: 7.734 kB / 331.4 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.9e-05/0.2421, allocations: 21.5 kB / 331.5 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2421, allocations: 0.9062 kB / 331.5 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.2421, allocations: 0.9375 kB / 331.5 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2421, allocations: 0 / 331.5 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.2424, allocations: 207.5 kB / 331.7 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2424, allocations: 3.938 kB / 331.7 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.2425, allocations: 16.94 kB / 331.7 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2425, allocations: 5.062 kB / 331.7 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.2425, allocations: 5.109 kB / 331.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.2425, allocations: 3.953 kB / 331.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2426, allocations: 1.094 kB / 331.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.2428, allocations: 208 kB / 331.9 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.2429, allocations: 83.36 kB / 332 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.2429, allocations: 1.156 kB / 332 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.461e-05/0.243, allocations: 13.03 kB / 332 MB, free: 12.62 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.243, allocations: 6.859 kB / 332 MB, free: 12.62 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.243, allocations: 6.109 kB / 332 MB, free: 12.62 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.294e-05/0.2431, allocations: 87.53 kB / 332.1 MB, free: 12.54 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2431, allocations: 1.062 kB / 332.1 MB, free: 12.54 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.2434, allocations: 23.81 kB / 332.1 MB, free: 12.54 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001049/0.2435, allocations: 96.77 kB / 332.2 MB, free: 12.44 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.2436, allocations: 67.62 kB / 332.3 MB, free: 12.41 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2436, allocations: 4.062 kB / 332.3 MB, free: 12.41 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.093e-05/0.2437, allocations: 28.19 kB / 332.3 MB, free: 12.39 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.2439, allocations: 14.77 kB / 332.3 MB, free: 12.39 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007366/0.2447, allocations: 0.513 MB / 332.8 MB, free: 11.96 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.2449, allocations: 0.705 MB / 333.5 MB, free: 11.25 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.626e-05/0.245, allocations: 7.812 kB / 333.6 MB, free: 11.24 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.245, allocations: 12.47 kB / 333.6 MB, free: 11.23 MB / 270.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2451, allocations: 0 / 333.6 MB, free: 11.23 MB / 270.1 MB Notification: Performance of Templates: time 0.002823/0.2479, allocations: 0.8349 MB / 334.4 MB, free: 10.8 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: