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.001323/0.001323, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.472/1.472, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.001161/0.001161, allocations: 47.94 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2276, allocations: 46.65 MB / 325.3 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00268/0.2304, allocations: 1.756 MB / 327.1 MB, free: 468 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008386/0.2312, allocations: 0.6792 MB / 327.7 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.484e-05/0.2313, allocations: 2.312 kB / 327.7 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.2314, allocations: 18.05 kB / 327.8 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.351e-05/0.2315, allocations: 31.14 kB / 327.8 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.2317, allocations: 45.62 kB / 327.8 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.2319, allocations: 120.3 kB / 328 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.232, allocations: 30.12 kB / 328 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.202e-05/0.2321, allocations: 46.77 kB / 328 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.713e-05/0.2321, allocations: 48.17 kB / 328.1 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.2322, allocations: 7.344 kB / 328.1 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.931e-05/0.2323, allocations: 31.39 kB / 328.1 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.2323, allocations: 18.62 kB / 328.1 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.2323, allocations: 46.58 kB / 328.2 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.2325, allocations: 127.6 kB / 328.3 MB, free: 15.55 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2325, allocations: 4 kB / 328.3 MB, free: 15.55 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2325, allocations: 0 / 328.3 MB, free: 15.55 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2326, allocations: 1.281 kB / 328.3 MB, free: 15.55 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.0005063/0.2331, allocations: 406.7 kB / 328.7 MB, free: 15.14 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.2331, allocations: 13.16 kB / 328.7 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.2333, allocations: 24.52 kB / 328.7 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.2335, allocations: 196.7 kB / 328.9 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.2336, allocations: 4.031 kB / 328.9 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.2336, allocations: 11.62 kB / 329 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.2338, allocations: 94.91 kB / 329 MB, free: 14.83 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2338, allocations: 7.938 kB / 329.1 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.2338, allocations: 1.062 kB / 329.1 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2338, allocations: 2.594 kB / 329.1 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.234, allocations: 58.81 kB / 329.1 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007366/0.2347, allocations: 495.2 kB / 329.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.2349, allocations: 86.06 kB / 329.7 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.235, allocations: 23.64 kB / 329.7 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.235, allocations: 1.062 kB / 329.7 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.235, allocations: 35.62 kB / 329.7 MB, free: 14.21 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.2351, allocations: 1.062 kB / 329.7 MB, free: 14.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002127/0.2353, allocations: 95.95 kB / 329.8 MB, free: 14.14 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.2353, allocations: 60.45 kB / 329.9 MB, free: 14.07 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.2354, allocations: 116.6 kB / 330 MB, free: 13.96 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.2354, allocations: 25.7 kB / 330 MB, free: 13.93 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.2355, allocations: 113.3 kB / 330.1 MB, free: 13.82 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.2355, allocations: 30.83 kB / 330.2 MB, free: 13.8 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.2356, allocations: 29.58 kB / 330.2 MB, free: 13.77 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2357, allocations: 312.9 kB / 330.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.2357, allocations: 27.83 kB / 330.5 MB, free: 13.44 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.526e-05/0.2358, allocations: 54.83 kB / 330.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.2359, allocations: 71.88 kB / 330.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2359, allocations: 1.125 kB / 330.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001653/0.2361, allocations: 119.3 kB / 330.8 MB, free: 13.26 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2361, allocations: 5.281 kB / 330.8 MB, free: 13.26 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.2361, allocations: 5.406 kB / 330.8 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2361, allocations: 1.312 kB / 330.8 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.2363, allocations: 24.55 kB / 330.8 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2363, allocations: 5.094 kB / 330.8 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.365e-05/0.2363, allocations: 7 kB / 330.8 MB, free: 13.24 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.2363, allocations: 2.969 kB / 330.8 MB, free: 13.24 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.323e-05/0.2364, allocations: 126.9 kB / 331 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.2365, allocations: 6.875 kB / 331 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.2365, allocations: 14.62 kB / 331 MB, free: 13.1 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2365, allocations: 1.156 kB / 331 MB, free: 13.1 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.2365, allocations: 3.938 kB / 331 MB, free: 13.09 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2365, allocations: 9.047 kB / 331 MB, free: 13.09 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.2368, allocations: 194.6 kB / 331.2 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2368, allocations: 3.938 kB / 331.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.2369, allocations: 21.8 kB / 331.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2369, allocations: 4 kB / 331.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.2369, allocations: 5.312 kB / 331.2 MB, free: 12.85 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2369, allocations: 1.25 kB / 331.2 MB, free: 12.85 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.2369, allocations: 3.938 kB / 331.2 MB, free: 12.85 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.2372, allocations: 205.3 kB / 331.4 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.2372, allocations: 79.58 kB / 331.5 MB, free: 12.58 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.2373, allocations: 5.125 kB / 331.5 MB, free: 12.58 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.2374, allocations: 1.125 kB / 331.5 MB, free: 12.58 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.2374, allocations: 14.5 kB / 331.5 MB, free: 12.57 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.2374, allocations: 1 kB / 331.5 MB, free: 12.57 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.421e-05/0.2375, allocations: 97.14 kB / 331.6 MB, free: 12.48 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2375, allocations: 0 / 331.6 MB, free: 12.48 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.2377, allocations: 31.62 kB / 331.6 MB, free: 12.47 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.65e-05/0.2378, allocations: 93.41 kB / 331.7 MB, free: 12.38 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.238, allocations: 60.08 kB / 331.8 MB, free: 12.36 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.238, allocations: 192 / 331.8 MB, free: 12.36 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.552e-05/0.238, allocations: 37.02 kB / 331.8 MB, free: 12.34 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.2384, allocations: 20.7 kB / 331.8 MB, free: 12.32 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007108/0.2391, allocations: 434.2 kB / 332.3 MB, free: 11.98 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.2394, allocations: 0.6992 MB / 333 MB, free: 11.27 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.922e-05/0.2394, allocations: 7.359 kB / 333 MB, free: 11.27 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.2395, allocations: 15.94 kB / 333 MB, free: 11.26 MB / 270.1 MB Notification: Performance of SimCode: time 2e-07/0.2395, allocations: 0 / 333 MB, free: 11.26 MB / 270.1 MB Notification: Performance of Templates: time 0.00302/0.2425, allocations: 0.9122 MB / 333.9 MB, free: 10.79 MB / 270.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)