Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 169.9 kB / 22.45 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.653/1.653, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo): time 0.009283/0.009283, allocations: 1.194 MB / 260.4 MB, free: 12.09 MB / 250.7 MB " [Timeout remaining time 180] Using package ElectricBraking with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ElectricBraking.Examples.Rotational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking") translateModel(ElectricBraking.Examples.Rotational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 383.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.037e-05, allocations: 2.281 kB / 383.5 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.EddyCurrentBraking): time 0.00424/0.00427, allocations: 2.155 MB / 385.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.005824, allocations: 0.7828 MB / 386.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.005941, allocations: 0 / 386.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.00624, allocations: 59.55 kB / 386.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.006373, allocations: 67.44 kB / 386.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.006613, allocations: 59.84 kB / 386.6 MB, free: 10.01 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.006918, allocations: 210.8 kB / 386.9 MB, free: 9.805 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.007055, allocations: 33.78 kB / 386.9 MB, free: 9.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.007311, allocations: 115.6 kB / 387 MB, free: 9.656 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.007451, allocations: 59.81 kB / 387.1 MB, free: 9.598 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.00748, allocations: 12 kB / 387.1 MB, free: 9.586 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.132e-05/0.007571, allocations: 27.98 kB / 387.1 MB, free: 9.559 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.007618, allocations: 39.84 kB / 387.1 MB, free: 9.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.276e-05/0.007701, allocations: 55.84 kB / 387.2 MB, free: 9.465 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.008051, allocations: 195.3 kB / 387.4 MB, free: 9.273 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.008055, allocations: 0 / 387.4 MB, free: 9.273 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.008056, allocations: 0 / 387.4 MB, free: 9.273 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.008063, allocations: 0 / 387.4 MB, free: 9.273 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007646/0.008827, allocations: 404.3 kB / 387.8 MB, free: 8.852 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.008867, allocations: 12.03 kB / 387.8 MB, free: 8.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.00906, allocations: 32.83 kB / 387.8 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.009372, allocations: 182 kB / 388 MB, free: 8.602 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.009389, allocations: 8.375 kB / 388 MB, free: 8.594 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.009428, allocations: 12.38 kB / 388 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.009709, allocations: 144.8 kB / 388.2 MB, free: 8.426 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/0.009739, allocations: 8.125 kB / 388.2 MB, free: 8.418 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.00976, allocations: 7.938 kB / 388.2 MB, free: 8.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.009768, allocations: 8 kB / 388.2 MB, free: 8.402 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.009948, allocations: 75.89 kB / 388.3 MB, free: 8.328 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.01103, allocations: 0.6011 MB / 388.9 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.01125, allocations: 86.59 kB / 388.9 MB, free: 7.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.126e-05/0.01132, allocations: 36.95 kB / 389 MB, free: 7.551 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.01134, allocations: 4 kB / 389 MB, free: 7.547 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.01138, allocations: 34.56 kB / 389 MB, free: 7.504 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.01138, allocations: 0 / 389 MB, free: 7.504 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003205/0.0117, allocations: 105.5 kB / 389.1 MB, free: 7.395 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.01177, allocations: 55.41 kB / 389.2 MB, free: 7.328 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.012, allocations: 175 kB / 389.3 MB, free: 7.148 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.01202, allocations: 29.7 kB / 389.4 MB, free: 7.113 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.01215, allocations: 147.5 kB / 389.5 MB, free: 6.965 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.0122, allocations: 35.69 kB / 389.6 MB, free: 6.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.01226, allocations: 29.72 kB / 389.6 MB, free: 6.895 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.01247, allocations: 322.8 kB / 389.9 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.854e-05/0.01254, allocations: 31.98 kB / 389.9 MB, free: 6.539 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.01268, allocations: 81.91 kB / 390 MB, free: 6.438 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.01287, allocations: 109.9 kB / 390.1 MB, free: 6.309 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.01288, allocations: 4 kB / 390.1 MB, free: 6.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002524/0.01313, allocations: 149.3 kB / 390.3 MB, free: 6.152 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.01315, allocations: 4 kB / 390.3 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.01316, allocations: 4 kB / 390.3 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.01317, allocations: 4.312 kB / 390.3 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.01333, allocations: 35.98 kB / 390.3 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.01334, allocations: 0 / 390.3 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.79e-05/0.01342, allocations: 11.89 kB / 390.3 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.01343, allocations: 11.94 kB / 390.3 MB, free: 6.082 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * 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.0001424/0.01357, allocations: 125.8 kB / 390.5 MB, free: 5.949 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.01361, allocations: 24.06 kB / 390.5 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.01366, allocations: 21.45 kB / 390.5 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.01366, allocations: 0 / 390.5 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.01367, allocations: 0 / 390.5 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01367, allocations: 0 / 390.5 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007868/0.01446, allocations: 157.2 kB / 390.7 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01446, allocations: 0 / 390.7 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.01461, allocations: 23.98 kB / 390.7 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.01461, allocations: 3.938 kB / 390.7 MB, free: 5.699 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.01463, allocations: 4 kB / 390.7 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01463, allocations: 0 / 390.7 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01463, allocations: 7.938 kB / 390.7 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.01493, allocations: 219.4 kB / 390.9 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.01497, allocations: 27.81 kB / 390.9 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.01499, allocations: 0 / 390.9 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-05/0.01507, allocations: 0 / 390.9 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.0151, allocations: 11.92 kB / 390.9 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.0151, allocations: 4 kB / 391 MB, free: 5.414 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.01523, allocations: 123.2 kB / 391.1 MB, free: 5.293 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01523, allocations: 0 / 391.1 MB, free: 5.293 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002833/0.01551, allocations: 32 kB / 391.1 MB, free: 5.262 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (inertiaLoad.w,integrator.y,heatCapacitor.T,eddyCurrentTorque.phi) * 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 (9): * Single equations (assignments): 9 * 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.0001244/0.01563, allocations: 109 kB / 391.2 MB, free: 5.148 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.01581, allocations: 71.84 kB / 391.3 MB, free: 5.078 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01581, allocations: 0 / 391.3 MB, free: 5.078 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.025e-05/0.01587, allocations: 39.95 kB / 391.3 MB, free: 5.039 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.01625, allocations: 32.25 kB / 391.4 MB, free: 5.008 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.01733, allocations: 466.2 kB / 391.8 MB, free: 4.527 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.01749, allocations: 112.1 kB / 391.9 MB, free: 4.391 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.111e-05/0.01756, allocations: 17.48 kB / 391.9 MB, free: 4.375 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.0176, allocations: 16.5 kB / 391.9 MB, free: 4.359 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0176, allocations: 4 kB / 392 MB, free: 4.355 MB / 314.7 MB Notification: Performance of Templates: time 0.00536/0.02296, allocations: 1.35 MB / 393.3 MB, free: 3.035 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9473382802680135]