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.001355/0.001355, allocations: 108 kB / 15.6 MB, free: 132 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.001807/0.001807, allocations: 193 kB / 16.53 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.6/1.6, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.001182/0.001182, allocations: 51.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2484, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003441/0.252, allocations: 1.763 MB / 327.1 MB, free: 472 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.253, allocations: 0.6806 MB / 327.7 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.692e-05/0.2532, allocations: 2.156 kB / 327.8 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.2533, allocations: 17.05 kB / 327.8 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.858e-05/0.2534, allocations: 32.3 kB / 327.8 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.2537, allocations: 49 kB / 327.8 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.2539, allocations: 120.6 kB / 328 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.254, allocations: 29.44 kB / 328 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.298e-05/0.2541, allocations: 40.22 kB / 328 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.2543, allocations: 43.62 kB / 328.1 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.2543, allocations: 7.25 kB / 328.1 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.984e-05/0.2544, allocations: 30.64 kB / 328.1 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.2544, allocations: 27.47 kB / 328.1 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.965e-05/0.2545, allocations: 46.92 kB / 328.2 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.2547, allocations: 119.1 kB / 328.3 MB, free: 15.56 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2548, allocations: 8 kB / 328.3 MB, free: 15.55 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2548, allocations: 0 / 328.3 MB, free: 15.55 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.2548, allocations: 0 / 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.0006118/0.2554, allocations: 408.2 kB / 328.7 MB, free: 15.14 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2555, allocations: 9.219 kB / 328.7 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.2557, allocations: 24.2 kB / 328.7 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.2559, allocations: 197.2 kB / 328.9 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.2559, allocations: 8.156 kB / 328.9 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.256, allocations: 14.98 kB / 329 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.2562, allocations: 95.22 kB / 329 MB, free: 14.83 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.2562, allocations: 3.938 kB / 329.1 MB, free: 14.83 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.2562, allocations: 1.438 kB / 329.1 MB, free: 14.83 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2562, allocations: 6.875 kB / 329.1 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.2564, allocations: 58.72 kB / 329.1 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007606/0.2571, allocations: 486.4 kB / 329.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.2575, allocations: 82.69 kB / 329.7 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.2575, allocations: 31.27 kB / 329.7 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.2576, allocations: 4.859 kB / 329.7 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.2576, allocations: 40.97 kB / 329.7 MB, free: 14.21 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.2576, allocations: 0 / 329.7 MB, free: 14.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002505/0.2578, allocations: 87.59 kB / 329.8 MB, free: 14.15 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.2579, allocations: 56.78 kB / 329.9 MB, free: 14.09 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.984e-05/0.258, allocations: 120.1 kB / 330 MB, free: 13.97 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.258, allocations: 27.14 kB / 330 MB, free: 13.94 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.2581, allocations: 111.5 kB / 330.1 MB, free: 13.83 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.2581, allocations: 31.89 kB / 330.2 MB, free: 13.8 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.2582, allocations: 29.34 kB / 330.2 MB, free: 13.78 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2583, allocations: 317.1 kB / 330.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.373e-05/0.2583, allocations: 18.84 kB / 330.5 MB, free: 13.45 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-05/0.2584, allocations: 55.02 kB / 330.6 MB, free: 13.4 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.2585, allocations: 80.11 kB / 330.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2585, allocations: 1.219 kB / 330.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001643/0.2587, allocations: 107.7 kB / 330.8 MB, free: 13.27 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2587, allocations: 5.219 kB / 330.8 MB, free: 13.27 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.2587, allocations: 5.219 kB / 330.8 MB, free: 13.27 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.2588, allocations: 4.875 kB / 330.8 MB, free: 13.27 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.2589, allocations: 24.83 kB / 330.8 MB, free: 13.26 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.2589, allocations: 5.062 kB / 330.8 MB, free: 13.26 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.317e-05/0.259, allocations: 11.53 kB / 330.8 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.259, allocations: 6.406 kB / 330.8 MB, free: 13.25 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 0.0001056/0.2591, allocations: 123 kB / 331 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.2591, allocations: 7.5 kB / 331 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.2592, allocations: 17.45 kB / 331 MB, free: 13.1 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2592, allocations: 1.188 kB / 331 MB, free: 13.1 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2592, allocations: 5.188 kB / 331 MB, free: 13.1 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2592, allocations: 0 / 331 MB, free: 13.1 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.2594, allocations: 202.8 kB / 331.2 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2594, allocations: 4 kB / 331.2 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.2596, allocations: 18.19 kB / 331.2 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2596, allocations: 3.938 kB / 331.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.2596, allocations: 9.047 kB / 331.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2596, allocations: 5.047 kB / 331.2 MB, free: 12.85 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2596, allocations: 3.938 kB / 331.2 MB, free: 12.85 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.2599, allocations: 206.2 kB / 331.4 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.2599, allocations: 78.08 kB / 331.5 MB, free: 12.58 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.26, allocations: 10.03 kB / 331.5 MB, free: 12.57 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.26, allocations: 0 / 331.5 MB, free: 12.57 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.2601, allocations: 6.875 kB / 331.5 MB, free: 12.57 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.2601, allocations: 1.312 kB / 331.5 MB, free: 12.57 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.681e-05/0.2602, allocations: 93.48 kB / 331.6 MB, free: 12.49 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2602, allocations: 0 / 331.6 MB, free: 12.49 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.2604, allocations: 32.53 kB / 331.6 MB, free: 12.48 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 0.000125/0.2605, allocations: 96.14 kB / 331.7 MB, free: 12.38 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.2607, allocations: 69 kB / 331.8 MB, free: 12.35 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2607, allocations: 0 / 331.8 MB, free: 12.35 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.202e-05/0.2608, allocations: 31.92 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.0004011/0.2612, allocations: 12.62 kB / 331.8 MB, free: 12.33 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008004/0.262, allocations: 433.8 kB / 332.3 MB, free: 11.99 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.2623, allocations: 0.6994 MB / 333 MB, free: 11.28 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.295e-05/0.2624, allocations: 12.72 kB / 333 MB, free: 11.27 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.2624, allocations: 11.75 kB / 333 MB, free: 11.27 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2624, allocations: 0 / 333 MB, free: 11.27 MB / 270.1 MB Notification: Performance of Templates: time 0.003594/0.266, allocations: 0.9163 MB / 333.9 MB, free: 10.79 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (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)