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.0009406/0.0009406, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0009724/0.0009724, allocations: 173 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 0.9738/0.9738, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.005097/0.005097, allocations: 1.199 MB / 262.2 MB, free: 11.73 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.422e-06/1.422e-06, allocations: 0 / 332.4 MB, free: 18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.401e-05, allocations: 4.703 kB / 332.4 MB, free: 18 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.EddyCurrentBraking): time 0.001985/0.001999, allocations: 2.257 MB / 334.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008208/0.002819, allocations: 0.814 MB / 335.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.002952, allocations: 7.875 kB / 335.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.003189, allocations: 63.55 kB / 335.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.003255, allocations: 59.5 kB / 335.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.003404, allocations: 67.77 kB / 335.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.003543, allocations: 202.9 kB / 335.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.678e-05/0.003639, allocations: 37.72 kB / 335.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.003771, allocations: 115.6 kB / 336 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.381e-05/0.003855, allocations: 63.8 kB / 336 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.003872, allocations: 12 kB / 336.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.449e-05/0.003927, allocations: 32 kB / 336.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.003951, allocations: 35.83 kB / 336.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.003985, allocations: 51.86 kB / 336.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.004142, allocations: 139.5 kB / 336.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.004144, allocations: 4 kB / 336.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004145, allocations: 0 / 336.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.004149, allocations: 0 / 336.3 MB, free: 14.03 MB / 266.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.000368/0.004517, allocations: 0.5035 MB / 336.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.004545, allocations: 16.03 kB / 336.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.004669, allocations: 40.83 kB / 336.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.004803, allocations: 179 kB / 337 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.004814, allocations: 8.375 kB / 337.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.004831, allocations: 16.38 kB / 337.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.004948, allocations: 129.2 kB / 337.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.004959, allocations: 192 / 337.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.004971, allocations: 7.938 kB / 337.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.004978, allocations: 8 kB / 337.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.991e-05/0.005038, allocations: 52.39 kB / 337.3 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.005497, allocations: 0.7155 MB / 338 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.768e-05/0.005585, allocations: 75.05 kB / 338 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.005604, allocations: 23.88 kB / 338.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.005612, allocations: 7.938 kB / 338.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.005626, allocations: 37.33 kB / 338.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.005628, allocations: 7.984 kB / 338.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001372/0.005765, allocations: 85.56 kB / 338.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.005783, allocations: 51.41 kB / 338.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.316e-05/0.005856, allocations: 229.8 kB / 338.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.005866, allocations: 25.7 kB / 338.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.00591, allocations: 186.5 kB / 338.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.005926, allocations: 35.69 kB / 338.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.005958, allocations: 39.36 kB / 338.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.425e-05/0.006002, allocations: 0.4962 MB / 339.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.006018, allocations: 15.98 kB / 339.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.307e-05/0.006051, allocations: 77.78 kB / 339.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.916e-05/0.00611, allocations: 113.6 kB / 339.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006112, allocations: 0 / 339.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 9.513e-05/0.006207, allocations: 129.3 kB / 339.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/0.006216, allocations: 8 kB / 339.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.00622, allocations: 0 / 339.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.00623, allocations: 4 kB / 339.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.907e-05/0.006309, allocations: 31.98 kB / 339.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.006313, allocations: 4 kB / 339.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.948e-05/0.006352, allocations: 11.89 kB / 339.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.006359, allocations: 11.94 kB / 339.7 MB, free: 10.39 MB / 266.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 4.692e-05/0.006406, allocations: 160.8 kB / 339.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.006428, allocations: 23.84 kB / 339.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.006452, allocations: 17.45 kB / 339.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.006454, allocations: 4 kB / 339.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.006455, allocations: 0 / 339.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.006459, allocations: 0 / 339.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.71e-05/0.006556, allocations: 137.2 kB / 340 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.006556, allocations: 0 / 340 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.86e-05/0.006625, allocations: 23.92 kB / 340 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.006626, allocations: 4 kB / 340 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.006634, allocations: 4 kB / 340 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.006635, allocations: 3.938 kB / 340 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.006636, allocations: 4 kB / 340 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.006756, allocations: 239.8 kB / 340.3 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.006769, allocations: 11.91 kB / 340.3 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.006785, allocations: 11.98 kB / 340.3 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.523e-05/0.00683, allocations: 3.938 kB / 340.3 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.006843, allocations: 4 kB / 340.3 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.006845, allocations: 0 / 340.3 MB, free: 9.695 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.508e-05/0.00688, allocations: 168.2 kB / 340.5 MB, free: 9.531 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00688, allocations: 0 / 340.5 MB, free: 9.531 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001602/0.007041, allocations: 39.89 kB / 340.5 MB, free: 9.492 MB / 266.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 4.738e-05/0.007088, allocations: 95.25 kB / 340.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.279e-05/0.007171, allocations: 71.45 kB / 340.7 MB, free: 9.312 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.007172, allocations: 0 / 340.7 MB, free: 9.312 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.019e-05/0.007192, allocations: 31.61 kB / 340.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.007405, allocations: 28.58 kB / 340.7 MB, free: 9.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006991/0.008104, allocations: 0.4888 MB / 341.2 MB, free: 8.734 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.642e-05/0.008131, allocations: 71.83 kB / 341.3 MB, free: 8.645 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.027e-05/0.008171, allocations: 17.48 kB / 341.3 MB, free: 8.625 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.008233, allocations: 90.19 kB / 341.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.008233, allocations: 0 / 341.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of Templates: time 0.002648/0.01088, allocations: 1.525 MB / 342.9 MB, free: 7.055 MB / 266.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.811432276852429]