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.0105/0.0105, allocations: 101.4 kB / 15.73 MB, free: 5.492 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.001879/0.001879, allocations: 186.2 kB / 16.67 MB, free: 5.422 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.548/1.548, allocations: 205.1 MB / 222.6 MB, free: 4.363 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.001353/0.001353, allocations: 50.02 kB / 326.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.102, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003342/0.1054, allocations: 1.767 MB / 374.9 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1068, allocations: 0.6862 MB / 375.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.107, allocations: 4 kB / 375.6 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.1071, allocations: 11.86 kB / 375.6 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.1073, allocations: 35.7 kB / 375.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.1075, allocations: 47.81 kB / 375.7 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.1078, allocations: 123.4 kB / 375.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.1079, allocations: 37.31 kB / 375.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.041e-05/0.108, allocations: 55.72 kB / 375.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1081, allocations: 39.84 kB / 376 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.1082, allocations: 11.94 kB / 376 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1083, allocations: 24 kB / 376 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.1083, allocations: 19.98 kB / 376 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.285e-05/0.1084, allocations: 55.72 kB / 376.1 MB, free: 14.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.1086, allocations: 127.6 kB / 376.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1087, allocations: 0 / 376.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1087, allocations: 8 kB / 376.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1087, allocations: 0 / 376.2 MB, free: 14.24 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.0005752/0.1093, allocations: 403.3 kB / 376.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1093, allocations: 12.03 kB / 376.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.1095, allocations: 28.73 kB / 376.6 MB, free: 13.76 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.1098, allocations: 196.1 kB / 376.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1098, allocations: 12.56 kB / 376.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.1099, allocations: 4.375 kB / 376.8 MB, free: 13.51 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.1101, allocations: 97.59 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1102, allocations: 3.938 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.1102, allocations: 8 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1102, allocations: 4 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.1103, allocations: 59.91 kB / 377 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006923/0.111, allocations: 455.5 kB / 377.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.1113, allocations: 102.6 kB / 377.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.1114, allocations: 32.84 kB / 377.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.1114, allocations: 0 / 377.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.1114, allocations: 30.56 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1114, allocations: 4 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001304/0.1127, allocations: 0.5265 MB / 378.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.1128, allocations: 55.41 kB / 378.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.1129, allocations: 129.9 kB / 378.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1129, allocations: 25.7 kB / 378.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.113, allocations: 107.9 kB / 378.5 MB, free: 11.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.1131, allocations: 43.39 kB / 378.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.1131, allocations: 25.72 kB / 378.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1132, allocations: 322.8 kB / 378.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.096e-05/0.1133, allocations: 35.89 kB / 378.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/0.1134, allocations: 56.52 kB / 378.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.1135, allocations: 100.2 kB / 379 MB, free: 11.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1135, allocations: 0 / 379 MB, free: 11.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002016/0.1137, allocations: 141.4 kB / 379.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1138, allocations: 4.312 kB / 379.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1138, allocations: 0 / 379.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1138, allocations: 8.031 kB / 379.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.1139, allocations: 31.92 kB / 379.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.114, allocations: 4 kB / 379.2 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.882e-05/0.114, allocations: 3.938 kB / 379.2 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.114, allocations: 8 kB / 379.2 MB, free: 10.89 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 0.0001013/0.1141, allocations: 121.8 kB / 379.3 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.1142, allocations: 11.97 kB / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.1142, allocations: 16.38 kB / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1142, allocations: 3.984 kB / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1142, allocations: 0 / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.1143, allocations: 7.875 kB / 379.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/0.1148, allocations: 420.1 kB / 379.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1148, allocations: 4.062 kB / 379.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.1149, allocations: 27.98 kB / 379.8 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.115, allocations: 7.938 kB / 379.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.115, allocations: 0 / 379.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.115, allocations: 0 / 379.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.115, allocations: 4 kB / 379.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.1153, allocations: 257 kB / 380.1 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.1154, allocations: 81.02 kB / 380.2 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.1154, allocations: 11.94 kB / 380.2 MB, free: 9.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.1155, allocations: 4 kB / 380.2 MB, free: 9.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.1155, allocations: 8.031 kB / 380.2 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1155, allocations: 7.938 kB / 380.2 MB, free: 9.805 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.137e-05/0.1156, allocations: 91.27 kB / 380.3 MB, free: 9.715 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1156, allocations: 0 / 380.3 MB, free: 9.715 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1159, allocations: 28 kB / 380.3 MB, free: 9.688 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.0001194/0.116, allocations: 107.2 kB / 380.4 MB, free: 9.574 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.1162, allocations: 79.91 kB / 380.5 MB, free: 9.496 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1162, allocations: 4 kB / 380.5 MB, free: 9.492 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.916e-05/0.1163, allocations: 43.95 kB / 380.5 MB, free: 9.449 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.1166, allocations: 16.78 kB / 380.6 MB, free: 9.434 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007896/0.1174, allocations: 468.5 kB / 381 MB, free: 8.945 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.1177, allocations: 0.7002 MB / 381.7 MB, free: 8.219 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.655e-05/0.1178, allocations: 16.86 kB / 381.7 MB, free: 8.199 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.1179, allocations: 15.44 kB / 381.7 MB, free: 8.184 MB / 318.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1179, allocations: 0 / 381.7 MB, free: 8.184 MB / 318.1 MB Notification: Performance of Templates: time 0.004059/0.1219, allocations: 1.128 MB / 382.9 MB, free: 7.055 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)