Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, 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.001363/0.001362, allocations: 195.5 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.593/1.593, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001247/0.001247, allocations: 47.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2406, allocations: 46.64 MB / 325.3 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003775/0.2445, allocations: 1.772 MB / 327.1 MB, free: 448 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.2458, allocations: 0.6689 MB / 327.7 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.2459, allocations: 4.969 kB / 327.8 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.2461, allocations: 22.47 kB / 327.8 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.2463, allocations: 31.23 kB / 327.8 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.2466, allocations: 45.12 kB / 327.8 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000277/0.2469, allocations: 126.3 kB / 328 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.2471, allocations: 30.61 kB / 328 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.2472, allocations: 44.42 kB / 328 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.2474, allocations: 51.8 kB / 328.1 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.2474, allocations: 7.531 kB / 328.1 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.2476, allocations: 27.67 kB / 328.1 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.2476, allocations: 14.44 kB / 328.1 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.285e-05/0.2477, allocations: 58.61 kB / 328.2 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.2481, allocations: 123.8 kB / 328.3 MB, free: 15.53 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2481, allocations: 0 / 328.3 MB, free: 15.53 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2481, allocations: 0 / 328.3 MB, free: 15.53 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.2481, allocations: 5.281 kB / 328.3 MB, free: 15.52 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.0008923/0.249, allocations: 414.1 kB / 328.7 MB, free: 15.11 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.2491, allocations: 9.531 kB / 328.7 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.2494, allocations: 22.95 kB / 328.8 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.2497, allocations: 197.3 kB / 329 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.2498, allocations: 8.938 kB / 329 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.089e-05/0.2499, allocations: 13.62 kB / 329 MB, free: 14.87 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.2502, allocations: 96.11 kB / 329.1 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.2502, allocations: 5.094 kB / 329.1 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.2503, allocations: 1.188 kB / 329.1 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2503, allocations: 5.156 kB / 329.1 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.2506, allocations: 65.81 kB / 329.1 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.2518, allocations: 449.1 kB / 329.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005239/0.2523, allocations: 105.2 kB / 329.7 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.2524, allocations: 35.22 kB / 329.7 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.2525, allocations: 0.9375 kB / 329.7 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.2525, allocations: 31.88 kB / 329.8 MB, free: 14.21 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 5.921e-06/0.2525, allocations: 4 kB / 329.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.002479/0.255, allocations: 0.5303 MB / 330.3 MB, free: 13.74 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.2551, allocations: 52.44 kB / 330.3 MB, free: 13.68 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.2553, allocations: 129.9 kB / 330.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.2554, allocations: 26.83 kB / 330.5 MB, free: 13.52 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.2555, allocations: 108.5 kB / 330.6 MB, free: 13.41 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.7e-05/0.2556, allocations: 39.8 kB / 330.6 MB, free: 13.38 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.581e-05/0.2557, allocations: 31.19 kB / 330.7 MB, free: 13.35 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.2559, allocations: 326 kB / 331 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.256, allocations: 27.45 kB / 331 MB, free: 13.02 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.2562, allocations: 54.55 kB / 331.1 MB, free: 12.97 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.2564, allocations: 94.39 kB / 331.2 MB, free: 12.9 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2564, allocations: 0 / 331.2 MB, free: 12.9 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004032/0.2569, allocations: 139.3 kB / 331.3 MB, free: 12.82 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.2569, allocations: 4.531 kB / 331.3 MB, free: 12.82 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.2569, allocations: 5.328 kB / 331.3 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.257, allocations: 2.375 kB / 331.3 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.2572, allocations: 37.39 kB / 331.3 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.2572, allocations: 1.312 kB / 331.3 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.2574, allocations: 5.375 kB / 331.4 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.2574, allocations: 4.469 kB / 331.4 MB, free: 12.8 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 (17): * Single equations (assignments): 17 * 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.0001572/0.2576, allocations: 127.4 kB / 331.5 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.2576, allocations: 7.625 kB / 331.5 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.41e-05/0.2577, allocations: 19.02 kB / 331.5 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2577, allocations: 1.359 kB / 331.5 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.2578, allocations: 3.984 kB / 331.5 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.2578, allocations: 3.938 kB / 331.5 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009259/0.2587, allocations: 431.8 kB / 331.9 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2587, allocations: 1.219 kB / 331.9 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.2591, allocations: 34.14 kB / 332 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/0.2591, allocations: 5.938 kB / 332 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.2591, allocations: 1.031 kB / 332 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.2591, allocations: 2.406 kB / 332 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2591, allocations: 0 / 332 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000547/0.2597, allocations: 253.5 kB / 332.2 MB, free: 12.01 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.765e-05/0.2598, allocations: 83.58 kB / 332.3 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.2599, allocations: 10.06 kB / 332.3 MB, free: 11.9 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.2601, allocations: 1.312 kB / 332.3 MB, free: 11.9 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.2601, allocations: 11.88 kB / 332.3 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.2602, allocations: 7.781 kB / 332.3 MB, free: 11.89 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.779e-05/0.2603, allocations: 92.58 kB / 332.4 MB, free: 11.81 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2603, allocations: 0 / 332.4 MB, free: 11.81 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000514/0.2608, allocations: 29.78 kB / 332.5 MB, free: 11.8 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (12): * Single equations (assignments): 12 * 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.0001734/0.261, allocations: 97.11 kB / 332.6 MB, free: 11.71 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003792/0.2614, allocations: 88.81 kB / 332.6 MB, free: 11.67 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.2614, allocations: 0 / 332.6 MB, free: 11.67 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.2616, allocations: 39.8 kB / 332.7 MB, free: 11.65 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.2622, allocations: 20.11 kB / 332.7 MB, free: 11.64 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.2637, allocations: 470 kB / 333.2 MB, free: 11.27 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.2642, allocations: 0.7057 MB / 333.9 MB, free: 10.56 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.2643, allocations: 5.734 kB / 333.9 MB, free: 10.56 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.2644, allocations: 13.09 kB / 333.9 MB, free: 10.55 MB / 270.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2644, allocations: 4 kB / 333.9 MB, free: 10.55 MB / 270.1 MB Notification: Performance of Templates: time 0.006536/0.271, allocations: 1.106 MB / 335 MB, free: 9.746 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1)