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.000825/0.0008252, allocations: 90.16 kB / 16.65 MB, free: 6.59 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.0009269/0.0009271, allocations: 181.9 kB / 17.56 MB, free: 6.203 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.663/1.663, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0006166/0.0006166, allocations: 12 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1086, allocations: 47.59 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002012/0.1106, allocations: 1.473 MB / 329.8 MB, free: 2.266 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1118, allocations: 0.6632 MB / 330.5 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.773e-05/0.1118, allocations: 4 kB / 330.5 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.112, allocations: 11.92 kB / 330.5 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.504e-05/0.1121, allocations: 27.77 kB / 330.5 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.1123, allocations: 43.83 kB / 330.5 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.1125, allocations: 111.4 kB / 330.6 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.1126, allocations: 23.97 kB / 330.7 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.1128, allocations: 35.86 kB / 330.7 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.646e-05/0.1129, allocations: 39.8 kB / 330.7 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1129, allocations: 8 kB / 330.8 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.96e-05/0.113, allocations: 23.98 kB / 330.8 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.801e-05/0.113, allocations: 23.84 kB / 330.8 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.991e-05/0.1131, allocations: 69.5 kB / 330.9 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.1133, allocations: 123.9 kB / 331 MB, free: 1.051 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1133, allocations: 0 / 331 MB, free: 1.051 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1133, allocations: 0 / 331 MB, free: 1.051 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1133, allocations: 0 / 331 MB, free: 1.051 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.0005775/0.1139, allocations: 391.4 kB / 331.4 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.114, allocations: 16.03 kB / 331.4 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.1142, allocations: 24.73 kB / 331.4 MB, free: 0.582 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1144, allocations: 200.2 kB / 331.6 MB, free: 356 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1144, allocations: 4.562 kB / 331.6 MB, free: 352 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.1145, allocations: 16.28 kB / 331.6 MB, free: 336 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.1147, allocations: 93.59 kB / 331.7 MB, free: 236 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1147, allocations: 0 / 331.7 MB, free: 236 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.1147, allocations: 4 kB / 331.7 MB, free: 232 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1148, allocations: 8 kB / 331.7 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.1149, allocations: 51.97 kB / 331.8 MB, free: 172 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007813/0.1157, allocations: 485.2 kB / 332.3 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.1159, allocations: 94.47 kB / 332.3 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.116, allocations: 28.89 kB / 332.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.497e-06/0.116, allocations: 160 / 332.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.1161, allocations: 30.56 kB / 332.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.133e-06/0.1161, allocations: 0 / 332.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002444/0.1163, allocations: 101.5 kB / 332.5 MB, free: 15.35 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.1164, allocations: 55.34 kB / 332.6 MB, free: 15.29 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.1165, allocations: 125.8 kB / 332.7 MB, free: 15.15 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1165, allocations: 29.7 kB / 332.7 MB, free: 15.12 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.1166, allocations: 111.8 kB / 332.8 MB, free: 15 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.1166, allocations: 31.55 kB / 332.9 MB, free: 14.97 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.1167, allocations: 17.72 kB / 332.9 MB, free: 14.95 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1168, allocations: 318.8 kB / 333.2 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.284e-05/0.1168, allocations: 20 kB / 333.2 MB, free: 14.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.877e-05/0.1169, allocations: 55.42 kB / 333.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.117, allocations: 79.36 kB / 333.3 MB, free: 14.45 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.117, allocations: 0 / 333.3 MB, free: 14.45 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001705/0.1172, allocations: 117.4 kB / 333.4 MB, free: 14.33 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.1172, allocations: 4.094 kB / 333.4 MB, free: 14.33 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.1173, allocations: 8 kB / 333.5 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1173, allocations: 0 / 333.5 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.1174, allocations: 23.98 kB / 333.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.1174, allocations: 11.88 kB / 333.5 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.1175, allocations: 3.938 kB / 333.5 MB, free: 14.28 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1175, allocations: 4 kB / 333.5 MB, free: 14.28 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.0001126/0.1176, allocations: 117.8 kB / 333.6 MB, free: 14.15 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.1177, allocations: 11.89 kB / 333.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.1177, allocations: 20.38 kB / 333.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1177, allocations: 0 / 333.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.1178, allocations: 3.938 kB / 333.7 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1178, allocations: 0 / 333.7 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.118, allocations: 197.6 kB / 333.8 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.118, allocations: 4 kB / 333.8 MB, free: 13.87 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.1182, allocations: 19.94 kB / 333.9 MB, free: 13.85 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.1182, allocations: 3.984 kB / 333.9 MB, free: 13.85 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1182, allocations: 0 / 333.9 MB, free: 13.85 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.1182, allocations: 7.984 kB / 333.9 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1182, allocations: 11.88 kB / 333.9 MB, free: 13.83 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.1185, allocations: 199.8 kB / 334.1 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.1186, allocations: 85.02 kB / 334.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.1186, allocations: 0 / 334.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.1187, allocations: 4 kB / 334.2 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.1187, allocations: 7.938 kB / 334.2 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.1187, allocations: 3.984 kB / 334.2 MB, free: 13.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.803e-05/0.1188, allocations: 95.28 kB / 334.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1188, allocations: 0 / 334.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1191, allocations: 31.84 kB / 334.3 MB, free: 13.38 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.0001536/0.1192, allocations: 95.31 kB / 334.4 MB, free: 13.27 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1194, allocations: 67.89 kB / 334.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1194, allocations: 3.938 kB / 334.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.1195, allocations: 20 kB / 334.5 MB, free: 13.18 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.1199, allocations: 28.39 kB / 334.5 MB, free: 13.15 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008787/0.1208, allocations: 0.5127 MB / 335 MB, free: 12.61 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.1211, allocations: 0.7043 MB / 335.7 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.045e-05/0.1212, allocations: 4.438 kB / 335.7 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.1212, allocations: 15.44 kB / 335.8 MB, free: 11.86 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1212, allocations: 4 kB / 335.8 MB, free: 11.86 MB / 286.1 MB Notification: Performance of Templates: time 0.003857/0.1251, allocations: 0.8664 MB / 336.6 MB, free: 11 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)