Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.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.0009432/0.0009432, 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.0009354/0.0009354, allocations: 165 kB / 24.06 MB, free: 456 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.006/1.006, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.004958/0.004958, allocations: 1.204 MB / 262.2 MB, free: 11.76 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.Translational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking") translateModel(ElectricBraking.Examples.Translational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 332.4 MB, free: 3.094 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.562e-05, allocations: 2.312 kB / 332.4 MB, free: 3.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.EddyCurrentBraking): time 0.002447/0.002462, allocations: 2.291 MB / 334.7 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009637/0.003426, allocations: 0.8218 MB / 335.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.003528, allocations: 3.938 kB / 335.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.003748, allocations: 59.56 kB / 335.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.902e-05/0.003827, allocations: 75.36 kB / 335.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.003991, allocations: 59.84 kB / 335.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.004157, allocations: 210.9 kB / 335.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.393e-05/0.004251, allocations: 33.73 kB / 335.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.004394, allocations: 127.6 kB / 336 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.649e-05/0.00449, allocations: 59.75 kB / 336.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.004512, allocations: 16 kB / 336.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.717e-05/0.004569, allocations: 31.97 kB / 336.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.004591, allocations: 35.86 kB / 336.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.004633, allocations: 59.83 kB / 336.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.004809, allocations: 147.4 kB / 336.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.004812, allocations: 4 kB / 336.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004812, allocations: 0 / 336.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.004816, allocations: 0 / 336.4 MB, free: 15.04 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.0004414/0.005258, allocations: 0.5113 MB / 336.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.005289, allocations: 8.031 kB / 336.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.005465, allocations: 52.77 kB / 337 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.005615, allocations: 172.2 kB / 337.1 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.005625, allocations: 12.36 kB / 337.1 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.005647, allocations: 16.38 kB / 337.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.00577, allocations: 125.2 kB / 337.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.00578, allocations: 4.125 kB / 337.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.005791, allocations: 11.94 kB / 337.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.005797, allocations: 4 kB / 337.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.628e-05/0.005864, allocations: 47.95 kB / 337.3 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.006365, allocations: 0.7039 MB / 338 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.006469, allocations: 83.02 kB / 338.1 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.006495, allocations: 23.72 kB / 338.2 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.006503, allocations: 7.938 kB / 338.2 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.006523, allocations: 37.39 kB / 338.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.006524, allocations: 0 / 338.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005853/0.007109, allocations: 357.6 kB / 338.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.007128, allocations: 59.34 kB / 338.6 MB, free: 12.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.007239, allocations: 239.4 kB / 338.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.007249, allocations: 29.7 kB / 338.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.007315, allocations: 183 kB / 339 MB, free: 12.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.007339, allocations: 47.62 kB / 339.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.007386, allocations: 47.3 kB / 339.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.007502, allocations: 0.4962 MB / 339.6 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.007523, allocations: 15.98 kB / 339.7 MB, free: 11.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.439e-05/0.007577, allocations: 85.77 kB / 339.7 MB, free: 11.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.591e-05/0.007663, allocations: 117.7 kB / 339.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.007665, allocations: 3.938 kB / 339.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001268/0.007792, allocations: 129.4 kB / 340 MB, free: 11.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.007804, allocations: 8 kB / 340 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.007808, allocations: 4.156 kB / 340 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.007818, allocations: 7.938 kB / 340 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.112e-05/0.007909, allocations: 35.98 kB / 340 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.007913, allocations: 4 kB / 340 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.007957, allocations: 7.984 kB / 340 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.007965, allocations: 8 kB / 340.1 MB, free: 11.06 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 (21): * Single equations (assignments): 21 * 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.017e-05/0.008036, allocations: 172.4 kB / 340.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.00806, allocations: 15.91 kB / 340.2 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/0.008092, allocations: 25.47 kB / 340.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.008095, allocations: 0 / 340.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.008096, allocations: 7.984 kB / 340.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.008111, allocations: 11.91 kB / 340.3 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.008127, allocations: 8 kB / 340.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.474e-05/0.008172, allocations: 0 / 340.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.008188, allocations: 11.92 kB / 340.3 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001854/0.008373, allocations: 232.5 kB / 340.5 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001941/0.008567, allocations: 393.8 kB / 340.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.695e-05/0.008604, allocations: 31.66 kB / 340.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.963e-05/0.008664, allocations: 169.1 kB / 341.1 MB, free: 9.977 MB / 314.7 MB Notification: Performance of Backend: time 2.81e-07/0.008664, allocations: 7.938 kB / 341.1 MB, free: 9.969 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002914/0.008955, allocations: 155.7 kB / 341.3 MB, free: 9.809 MB / 314.7 MB Notification: Performance of SimCode: time 0.0008907/0.009846, allocations: 1.22 MB / 342.5 MB, free: 8.531 MB / 314.7 MB Notification: Performance of Templates: time 0.003584/0.01343, allocations: 2.172 MB / 344.7 MB, free: 6.398 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7128029288724065]