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.001453/0.001453, allocations: 77.14 kB / 20.67 MB, free: 3.836 MB / 18.57 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.0018/0.0018, allocations: 165 kB / 24.06 MB, free: 452 kB / 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.037/1.037, allocations: 177.1 MB / 204.5 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.004891/0.004891, allocations: 1.192 MB / 262.2 MB, free: 11.71 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.513e-06/1.513e-06, allocations: 0 / 332.4 MB, free: 3.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.375e-05, allocations: 8.781 kB / 332.4 MB, free: 3.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.EddyCurrentBraking): time 0.002636/0.00266, allocations: 2.253 MB / 334.6 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.003666, allocations: 0.8257 MB / 335.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.003768, allocations: 0 / 335.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.004002, allocations: 59.56 kB / 335.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.991e-05/0.004082, allocations: 67.42 kB / 335.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.004266, allocations: 59.84 kB / 335.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.004448, allocations: 210.7 kB / 335.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.004557, allocations: 41.73 kB / 335.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.004732, allocations: 119.7 kB / 336 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.162e-05/0.004823, allocations: 51.83 kB / 336 MB, free: 15.37 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.004844, allocations: 12 kB / 336.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.725e-05/0.004911, allocations: 31.97 kB / 336.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.004933, allocations: 27.86 kB / 336.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.533e-05/0.004979, allocations: 59.83 kB / 336.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.005171, allocations: 147.4 kB / 336.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005173, allocations: 0 / 336.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005174, allocations: 0 / 336.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.005179, allocations: 4 kB / 336.3 MB, free: 15.09 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.0004544/0.005633, allocations: 0.4957 MB / 336.8 MB, free: 14.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.005664, allocations: 12.03 kB / 336.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.005803, allocations: 44.78 kB / 336.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.005958, allocations: 169.9 kB / 337 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.00597, allocations: 12.38 kB / 337 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.005995, allocations: 24.36 kB / 337.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.006127, allocations: 129.2 kB / 337.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.00614, allocations: 192 / 337.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.006151, allocations: 11.92 kB / 337.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.00616, allocations: 4 kB / 337.2 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.789e-05/0.006228, allocations: 39.97 kB / 337.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008204/0.007049, allocations: 0.7233 MB / 338 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.007149, allocations: 75.02 kB / 338 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.007171, allocations: 23.66 kB / 338.1 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.615e-06/0.007178, allocations: 0 / 338.1 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.007199, allocations: 45.33 kB / 338.1 MB, free: 13.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.0072, allocations: 0 / 338.1 MB, free: 13.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001386/0.007339, allocations: 77.77 kB / 338.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.808e-05/0.007357, allocations: 51.41 kB / 338.2 MB, free: 13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.007464, allocations: 229.8 kB / 338.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.007476, allocations: 33.69 kB / 338.5 MB, free: 12.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.007547, allocations: 190.3 kB / 338.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.007567, allocations: 35.69 kB / 338.7 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.007605, allocations: 39.34 kB / 338.8 MB, free: 12.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.007719, allocations: 0.5001 MB / 339.3 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.007738, allocations: 15.92 kB / 339.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.832e-05/0.007787, allocations: 83.41 kB / 339.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.862e-05/0.007865, allocations: 105.7 kB / 339.5 MB, free: 11.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.007868, allocations: 3.984 kB / 339.5 MB, free: 11.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001242/0.007992, allocations: 121.3 kB / 339.6 MB, free: 11.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.008006, allocations: 11.94 kB / 339.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.008011, allocations: 0 / 339.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.008026, allocations: 7.984 kB / 339.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.00812, allocations: 32.12 kB / 339.6 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.008126, allocations: 7.984 kB / 339.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.008174, allocations: 15.89 kB / 339.7 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.008181, allocations: 4 kB / 339.7 MB, free: 11.46 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 7.882e-05/0.00826, allocations: 160.6 kB / 339.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.008287, allocations: 23.78 kB / 339.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.008315, allocations: 13.47 kB / 339.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.008321, allocations: 11.98 kB / 339.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.008322, allocations: 0 / 339.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.008341, allocations: 15.91 kB / 339.9 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.008365, allocations: 4 kB / 339.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.008437, allocations: 0 / 339.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.008459, allocations: 7.984 kB / 339.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001928/0.008652, allocations: 208.8 kB / 340.1 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001857/0.008838, allocations: 366.9 kB / 340.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.56e-05/0.008874, allocations: 27.66 kB / 340.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.949e-05/0.008933, allocations: 168.2 kB / 340.6 MB, free: 10.44 MB / 314.7 MB Notification: Performance of Backend: time 3.21e-07/0.008933, allocations: 0 / 340.6 MB, free: 10.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.009246, allocations: 139.6 kB / 340.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of SimCode: time 0.001028/0.01027, allocations: 1.218 MB / 342 MB, free: 9.027 MB / 314.7 MB Notification: Performance of Templates: time 0.003652/0.01393, allocations: 1.949 MB / 343.9 MB, free: 7.109 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: 2.7926095868460834]