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.01151/0.01151, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001959/0.001959, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.583/1.583, allocations: 205.1 MB / 222.6 MB, free: 4.379 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.001261/0.001261, allocations: 58.34 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1028, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003098/0.106, allocations: 1.759 MB / 374.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1071, allocations: 0.694 MB / 375.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.807e-05/0.1072, allocations: 4 kB / 375.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.1073, allocations: 15.8 kB / 375.6 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.772e-05/0.1074, allocations: 35.7 kB / 375.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.1077, allocations: 51.75 kB / 375.7 MB, free: 14.74 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.1078, allocations: 123.4 kB / 375.8 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.108, allocations: 41.31 kB / 375.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.379e-05/0.1081, allocations: 39.86 kB / 375.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.546e-05/0.1082, allocations: 43.84 kB / 376 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.1082, allocations: 11.94 kB / 376 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.64e-05/0.1083, allocations: 20 kB / 376 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.1083, allocations: 19.97 kB / 376 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.1084, allocations: 55.67 kB / 376.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.1086, allocations: 131.6 kB / 376.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1086, allocations: 0 / 376.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1086, allocations: 4 kB / 376.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1086, allocations: 0 / 376.2 MB, free: 14.26 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.0005697/0.1092, allocations: 411.3 kB / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1092, allocations: 8.031 kB / 376.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.1094, allocations: 28.73 kB / 376.6 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.1097, allocations: 192.2 kB / 376.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.1098, allocations: 16.5 kB / 376.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.1098, allocations: 12.38 kB / 376.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.11, allocations: 89.59 kB / 376.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.11, allocations: 3.938 kB / 376.9 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.11, allocations: 8 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1101, allocations: 0 / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.1102, allocations: 67.95 kB / 377 MB, free: 13.35 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006912/0.1109, allocations: 455.5 kB / 377.5 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.1112, allocations: 102.5 kB / 377.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.976e-05/0.1112, allocations: 36.83 kB / 377.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.1113, allocations: 0 / 377.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.1113, allocations: 38.56 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.1113, allocations: 4 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001473/0.1128, allocations: 0.5187 MB / 378.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.1128, allocations: 55.41 kB / 378.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.113, allocations: 129.9 kB / 378.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.113, allocations: 25.7 kB / 378.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.113, allocations: 103.9 kB / 378.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.295e-05/0.1131, allocations: 39.39 kB / 378.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.1132, allocations: 29.72 kB / 378.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.1134, allocations: 318.8 kB / 378.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.775e-05/0.1134, allocations: 43.83 kB / 378.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.1135, allocations: 55.42 kB / 378.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.1137, allocations: 99.3 kB / 379 MB, free: 11.1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1137, allocations: 0 / 379 MB, free: 11.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000249/0.114, allocations: 134.3 kB / 379.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.114, allocations: 4.312 kB / 379.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.114, allocations: 4 kB / 379.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.114, allocations: 0 / 379.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.1142, allocations: 31.98 kB / 379.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1142, allocations: 3.938 kB / 379.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.185e-05/0.1142, allocations: 7.938 kB / 379.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.1143, allocations: 4 kB / 379.2 MB, free: 10.91 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.789e-05/0.1144, allocations: 121.8 kB / 379.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.1144, allocations: 11.97 kB / 379.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.166e-05/0.1145, allocations: 16.36 kB / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1145, allocations: 4 kB / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1145, allocations: 0 / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1145, allocations: 7.875 kB / 379.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.115, allocations: 420.1 kB / 379.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1151, allocations: 64 / 379.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.1152, allocations: 31.98 kB / 379.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1152, allocations: 3.938 kB / 379.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.1152, allocations: 4 kB / 379.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1153, allocations: 7.938 kB / 379.8 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1153, allocations: 0 / 379.8 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.1156, allocations: 245 kB / 380.1 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.1156, allocations: 89.02 kB / 380.2 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.1157, allocations: 7.938 kB / 380.2 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.1158, allocations: 0 / 380.2 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/0.1158, allocations: 19.97 kB / 380.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1159, allocations: 7.938 kB / 380.2 MB, free: 9.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.834e-05/0.1159, allocations: 95.27 kB / 380.3 MB, free: 9.727 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1159, allocations: 0 / 380.3 MB, free: 9.727 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1162, allocations: 24 kB / 380.3 MB, free: 9.703 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.0001072/0.1163, allocations: 103.5 kB / 380.4 MB, free: 9.594 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.1165, allocations: 87.78 kB / 380.5 MB, free: 9.508 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1165, allocations: 0 / 380.5 MB, free: 9.508 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.763e-05/0.1166, allocations: 43.92 kB / 380.5 MB, free: 9.465 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.117, allocations: 24.06 kB / 380.6 MB, free: 9.441 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008573/0.1178, allocations: 464.3 kB / 381 MB, free: 8.957 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1181, allocations: 0.7041 MB / 381.7 MB, free: 8.227 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.799e-05/0.1182, allocations: 8.891 kB / 381.7 MB, free: 8.215 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.1182, allocations: 11.44 kB / 381.7 MB, free: 8.203 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1182, allocations: 0 / 381.7 MB, free: 8.203 MB / 318.1 MB Notification: Performance of Templates: time 0.003923/0.1222, allocations: 1.133 MB / 382.9 MB, free: 7.07 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)