Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.007196/0.007196, allocations: 104.1 kB / 15.74 MB, free: 6.059 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.001385/0.001385, allocations: 197.7 kB / 16.68 MB, free: 5.969 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.694/1.694, allocations: 205.1 MB / 222.5 MB, free: 12.27 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.001658/0.001658, allocations: 47.92 kB / 326.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1167, allocations: 46.62 MB / 373.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003848/0.1206, allocations: 1.758 MB / 374.9 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1221, allocations: 0.6901 MB / 375.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.1222, allocations: 4 kB / 375.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.1224, allocations: 11.86 kB / 375.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.1226, allocations: 35.7 kB / 375.6 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.1229, allocations: 47.81 kB / 375.7 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.1232, allocations: 123.4 kB / 375.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.1233, allocations: 23.98 kB / 375.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.1235, allocations: 43.8 kB / 375.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1236, allocations: 51.77 kB / 375.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.1237, allocations: 8 kB / 375.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1238, allocations: 31.98 kB / 376 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.124e-05/0.1238, allocations: 19.92 kB / 376 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.1239, allocations: 39.81 kB / 376 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.1242, allocations: 131.6 kB / 376.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1242, allocations: 0 / 376.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1242, allocations: 7.938 kB / 376.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.1242, allocations: 0 / 376.2 MB, free: 1.543 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.0008194/0.1251, allocations: 407.4 kB / 376.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6e-05/0.1251, allocations: 8.031 kB / 376.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002958/0.1254, allocations: 32.72 kB / 376.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.1259, allocations: 188.2 kB / 376.8 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.1259, allocations: 12.56 kB / 376.8 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.1259, allocations: 8.375 kB / 376.8 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.1262, allocations: 97.58 kB / 376.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.1262, allocations: 0 / 376.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.1263, allocations: 7.984 kB / 376.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.1263, allocations: 4 kB / 376.9 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.1265, allocations: 63.84 kB / 377 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.1276, allocations: 485.2 kB / 377.4 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.128, allocations: 82.58 kB / 377.5 MB, free: 16 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2238/0.3518, allocations: 24.22 kB / 377.6 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.3519, allocations: 1.438 kB / 377.6 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.3519, allocations: 31.56 kB / 377.6 MB, free: 13.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 3.656e-06/0.3519, allocations: 3.562 kB / 377.6 MB, free: 13.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004271/0.3524, allocations: 98.31 kB / 377.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.3524, allocations: 55.77 kB / 377.7 MB, free: 13.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.3525, allocations: 117.3 kB / 377.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.3526, allocations: 27.73 kB / 377.9 MB, free: 12.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.3527, allocations: 110.4 kB / 378 MB, free: 12.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.3527, allocations: 30.02 kB / 378 MB, free: 12.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.3528, allocations: 30.81 kB / 378 MB, free: 12.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.3529, allocations: 322.1 kB / 378.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.814e-05/0.3529, allocations: 22.17 kB / 378.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.157e-05/0.353, allocations: 50.64 kB / 378.4 MB, free: 12.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.3531, allocations: 81.92 kB / 378.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3531, allocations: 1.375 kB / 378.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001934/0.3533, allocations: 112.1 kB / 378.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.3534, allocations: 5.312 kB / 378.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3534, allocations: 1.859 kB / 378.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.3534, allocations: 2.656 kB / 378.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.3536, allocations: 31.69 kB / 378.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.3536, allocations: 0.9062 kB / 378.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.67e-05/0.3537, allocations: 15.73 kB / 378.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.3537, allocations: 3.438 kB / 378.7 MB, free: 12.38 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 (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 9.483e-05/0.3538, allocations: 121.1 kB / 378.8 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.3538, allocations: 8.094 kB / 378.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.3539, allocations: 15.53 kB / 378.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3539, allocations: 0.9062 kB / 378.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3539, allocations: 0.5938 kB / 378.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3539, allocations: 3.578 kB / 378.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.3542, allocations: 208.3 kB / 379 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.3542, allocations: 0.6562 kB / 379 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.3543, allocations: 20.17 kB / 379.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3543, allocations: 0.7031 kB / 379.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3543, allocations: 1.375 kB / 379.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3543, allocations: 0 / 379.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3544, allocations: 2.031 kB / 379.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.3546, allocations: 206.2 kB / 379.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.3547, allocations: 88.05 kB / 379.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.3547, allocations: 1.156 kB / 379.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.3548, allocations: 0.75 kB / 379.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.3548, allocations: 12.16 kB / 379.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.3548, allocations: 4.25 kB / 379.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.962e-05/0.3549, allocations: 92.38 kB / 379.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3549, allocations: 1.375 kB / 379.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.3552, allocations: 34.41 kB / 379.5 MB, free: 11.74 MB / 318.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.0001221/0.3553, allocations: 94.06 kB / 379.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.3555, allocations: 68.31 kB / 379.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3555, allocations: 0 / 379.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.236e-05/0.3556, allocations: 29.38 kB / 379.7 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.3559, allocations: 23.03 kB / 379.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008449/0.3568, allocations: 427.5 kB / 380.1 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.357, allocations: 0.7024 MB / 380.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.97e-05/0.3571, allocations: 10.44 kB / 380.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.3571, allocations: 11.56 kB / 380.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3571, allocations: 0 / 380.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of Templates: time 0.004203/0.3613, allocations: 0.9241 MB / 381.8 MB, free: 10.59 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1)