Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.009346/0.009346, allocations: 100.3 kB / 15.73 MB, free: 6.016 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.001415/0.001415, allocations: 189.7 kB / 16.67 MB, free: 5.93 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.582/1.582, allocations: 205.1 MB / 222.6 MB, free: 4.484 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.001145/0.001145, allocations: 50.05 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1056, allocations: 46.63 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003271/0.1089, allocations: 1.763 MB / 374.9 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.11, allocations: 0.6901 MB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.617e-05/0.1102, allocations: 0 / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.1103, allocations: 15.86 kB / 375.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.401e-05/0.1104, allocations: 39.62 kB / 375.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.1106, allocations: 43.88 kB / 375.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.1108, allocations: 115.4 kB / 375.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.111, allocations: 53.23 kB / 375.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.513e-05/0.111, allocations: 39.86 kB / 375.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.1111, allocations: 47.78 kB / 376 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.1112, allocations: 8 kB / 376 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.316e-05/0.1113, allocations: 27.98 kB / 376 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.1113, allocations: 15.92 kB / 376 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.1114, allocations: 55.78 kB / 376.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.1116, allocations: 127.5 kB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1116, allocations: 0 / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1116, allocations: 0 / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1116, allocations: 11.88 kB / 376.2 MB, free: 14.27 MB / 318.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.0005754/0.1122, allocations: 415.1 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.1123, allocations: 8.031 kB / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.1125, allocations: 24.88 kB / 376.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.1127, allocations: 192.2 kB / 376.8 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1128, allocations: 8.5 kB / 376.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.1128, allocations: 20.33 kB / 376.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.113, allocations: 97.53 kB / 376.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1131, allocations: 4 kB / 376.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.1131, allocations: 3.984 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1131, allocations: 4 kB / 377 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.1132, allocations: 59.97 kB / 377 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006626/0.1139, allocations: 451.6 kB / 377.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.1142, allocations: 98.62 kB / 377.6 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.1142, allocations: 32.86 kB / 377.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.1143, allocations: 3.938 kB / 377.6 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.1143, allocations: 34.56 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.1143, allocations: 0 / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001245/0.1155, allocations: 0.5267 MB / 378.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.1156, allocations: 55.41 kB / 378.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.636e-05/0.1157, allocations: 126 kB / 378.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1157, allocations: 25.7 kB / 378.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.1158, allocations: 108 kB / 378.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.1158, allocations: 51.53 kB / 378.5 MB, free: 11.69 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.1159, allocations: 33.7 kB / 378.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.116, allocations: 322.8 kB / 378.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.182e-05/0.116, allocations: 24 kB / 378.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.613e-05/0.1161, allocations: 64.5 kB / 378.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.1163, allocations: 92.19 kB / 379 MB, free: 11.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1163, allocations: 0 / 379 MB, free: 11.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002002/0.1165, allocations: 137.4 kB / 379.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1165, allocations: 12.38 kB / 379.2 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1165, allocations: 0 / 379.2 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1165, allocations: 0 / 379.2 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1167, allocations: 35.98 kB / 379.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1167, allocations: 0 / 379.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.515e-05/0.1168, allocations: 7.938 kB / 379.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1168, allocations: 8 kB / 379.2 MB, free: 10.92 MB / 318.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 9.212e-05/0.1169, allocations: 121.8 kB / 379.3 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.1169, allocations: 11.89 kB / 379.4 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.117, allocations: 20.31 kB / 379.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.117, allocations: 4 kB / 379.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.117, allocations: 0 / 379.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.117, allocations: 3.938 kB / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005724/0.1176, allocations: 428.1 kB / 379.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1176, allocations: 0 / 379.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.1177, allocations: 24.06 kB / 379.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.1177, allocations: 11.94 kB / 379.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.1178, allocations: 7.984 kB / 379.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1178, allocations: 0 / 379.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1178, allocations: 0 / 379.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.1181, allocations: 249.1 kB / 380.1 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.027e-05/0.1182, allocations: 85.06 kB / 380.2 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.1182, allocations: 15.91 kB / 380.2 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-05/0.1183, allocations: 4 kB / 380.2 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.1184, allocations: 8 kB / 380.2 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.1184, allocations: 4 kB / 380.2 MB, free: 9.832 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.623e-05/0.1184, allocations: 91.27 kB / 380.3 MB, free: 9.742 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1184, allocations: 0 / 380.3 MB, free: 9.742 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.1187, allocations: 24 kB / 380.3 MB, free: 9.719 MB / 318.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.0001229/0.1188, allocations: 115.2 kB / 380.4 MB, free: 9.598 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.119, allocations: 75.92 kB / 380.5 MB, free: 9.523 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.119, allocations: 0 / 380.5 MB, free: 9.523 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.899e-05/0.1191, allocations: 39.92 kB / 380.5 MB, free: 9.484 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.1195, allocations: 20.17 kB / 380.6 MB, free: 9.465 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008307/0.1203, allocations: 471.9 kB / 381 MB, free: 8.973 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.1206, allocations: 0.7002 MB / 381.7 MB, free: 8.246 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.589e-05/0.1206, allocations: 16.88 kB / 381.7 MB, free: 8.227 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.1207, allocations: 11.44 kB / 381.7 MB, free: 8.215 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1207, allocations: 0 / 381.7 MB, free: 8.215 MB / 318.1 MB Notification: Performance of Templates: time 0.003772/0.1245, allocations: 1.121 MB / 382.9 MB, free: 7.094 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1)