Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001592/0.001592, allocations: 110.8 kB / 16.62 MB, free: 6.812 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.001989/0.00199, allocations: 190 kB / 17.55 MB, free: 5.934 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.546/1.546, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.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.001211/0.001211, allocations: 43.94 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09874/0.09997, allocations: 46.62 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003733/0.1038, allocations: 1.827 MB / 328 MB, free: 2.953 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.1049, allocations: 0.671 MB / 328.6 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.807e-05/0.105, allocations: 4 kB / 328.6 MB, free: 2.27 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.1051, allocations: 11.86 kB / 328.6 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.84e-05/0.1052, allocations: 27.77 kB / 328.7 MB, free: 2.23 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.1055, allocations: 43.89 kB / 328.7 MB, free: 2.188 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1057, allocations: 115.4 kB / 328.8 MB, free: 2.074 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.1058, allocations: 27.98 kB / 328.9 MB, free: 2.047 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.971e-05/0.1059, allocations: 47.78 kB / 328.9 MB, free: 2 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.241e-05/0.106, allocations: 47.78 kB / 328.9 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.106, allocations: 8 kB / 329 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.794e-05/0.1061, allocations: 24 kB / 329 MB, free: 1.922 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.1061, allocations: 19.92 kB / 329 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.318e-05/0.1062, allocations: 43.8 kB / 329 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.1064, allocations: 135.9 kB / 329.2 MB, free: 1.727 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.1064, allocations: 0 / 329.2 MB, free: 1.727 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1064, allocations: 0 / 329.2 MB, free: 1.727 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1064, allocations: 4 kB / 329.2 MB, free: 1.723 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.0005828/0.107, allocations: 407.2 kB / 329.6 MB, free: 1.277 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.107, allocations: 15.97 kB / 329.6 MB, free: 1.262 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.1072, allocations: 24.83 kB / 329.6 MB, free: 1.238 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.1074, allocations: 192.2 kB / 329.8 MB, free: 1.012 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1074, allocations: 8.562 kB / 329.8 MB, free: 1.004 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.1075, allocations: 8.375 kB / 329.8 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1077, allocations: 101.5 kB / 329.9 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1077, allocations: 0 / 329.9 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.1077, allocations: 4 kB / 329.9 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1077, allocations: 4 kB / 329.9 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.1079, allocations: 59.89 kB / 330 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007553/0.1086, allocations: 493.1 kB / 330.5 MB, free: 284 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.1089, allocations: 82.62 kB / 330.5 MB, free: 192 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.1089, allocations: 20.86 kB / 330.6 MB, free: 168 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.109, allocations: 7.938 kB / 330.6 MB, free: 160 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.109, allocations: 34.56 kB / 330.6 MB, free: 116 kB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.073e-06/0.109, allocations: 4 kB / 330.6 MB, free: 112 kB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002324/0.1092, allocations: 101.7 kB / 330.7 MB, free: 4 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.1093, allocations: 55.34 kB / 330.8 MB, free: 15.94 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.481e-05/0.1094, allocations: 117.8 kB / 330.9 MB, free: 15.81 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1094, allocations: 25.7 kB / 330.9 MB, free: 15.78 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.1095, allocations: 111.9 kB / 331 MB, free: 15.67 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.1095, allocations: 31.55 kB / 331 MB, free: 15.64 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.1096, allocations: 25.72 kB / 331.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1097, allocations: 322.8 kB / 331.4 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.485e-05/0.1097, allocations: 27.98 kB / 331.4 MB, free: 15.25 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.892e-05/0.1098, allocations: 51.36 kB / 331.5 MB, free: 15.19 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.1099, allocations: 75.38 kB / 331.5 MB, free: 15.11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1099, allocations: 7.938 kB / 331.5 MB, free: 15.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001553/0.1101, allocations: 109.5 kB / 331.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1101, allocations: 4 kB / 331.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1101, allocations: 3.984 kB / 331.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1101, allocations: 4 kB / 331.7 MB, free: 14.97 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1103, allocations: 24 kB / 331.7 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1103, allocations: 3.938 kB / 331.7 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.1103, allocations: 15.83 kB / 331.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.1104, allocations: 8.094 kB / 331.7 MB, free: 14.92 MB / 286.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.0001022/0.1105, allocations: 121.8 kB / 331.8 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.1105, allocations: 4 kB / 331.8 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.1105, allocations: 12.38 kB / 331.8 MB, free: 14.78 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1106, allocations: 0 / 331.8 MB, free: 14.78 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.1106, allocations: 3.938 kB / 331.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1106, allocations: 3.938 kB / 331.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.1108, allocations: 201.5 kB / 332.1 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1108, allocations: 0 / 332.1 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.111, allocations: 27.98 kB / 332.1 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.111, allocations: 0 / 332.1 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.111, allocations: 4 kB / 332.1 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.111, allocations: 0 / 332.1 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.111, allocations: 7.938 kB / 332.1 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.1113, allocations: 207.4 kB / 332.3 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.1113, allocations: 85.02 kB / 332.4 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.1113, allocations: 0 / 332.4 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.1114, allocations: 4 kB / 332.4 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.1115, allocations: 11.97 kB / 332.4 MB, free: 14.15 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.1115, allocations: 4.094 kB / 332.4 MB, free: 14.14 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.711e-05/0.1115, allocations: 95.27 kB / 332.5 MB, free: 14.05 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1115, allocations: 0 / 332.5 MB, free: 14.05 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1118, allocations: 23.94 kB / 332.5 MB, free: 14.03 MB / 286.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.000123/0.1119, allocations: 99.23 kB / 332.6 MB, free: 13.92 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.1121, allocations: 64.05 kB / 332.7 MB, free: 13.86 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1121, allocations: 288 / 332.7 MB, free: 13.86 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.195e-05/0.1122, allocations: 31.92 kB / 332.7 MB, free: 13.82 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.1126, allocations: 19.92 kB / 332.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007646/0.1133, allocations: 455.4 kB / 333.2 MB, free: 13.33 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.1136, allocations: 0.7002 MB / 333.9 MB, free: 12.61 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.508e-05/0.1137, allocations: 12.42 kB / 333.9 MB, free: 12.59 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.1137, allocations: 11.44 kB / 333.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1137, allocations: 0 / 333.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of Templates: time 0.003221/0.1169, allocations: 0.9109 MB / 334.8 MB, free: 11.68 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1)