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.0009162/0.0009162, allocations: 80.89 kB / 19.94 MB, free: 4.551 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.0009953/0.0009953, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9618/0.9618, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.005251/0.005251, allocations: 1.197 MB / 261.5 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.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.133e-06/1.133e-06, allocations: 0 / 278.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.236e-05, allocations: 2.312 kB / 278.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.EddyCurrentBraking): time 0.002423/0.002435, allocations: 2.308 MB / 280.7 MB, free: 8.527 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008711/0.003307, allocations: 0.8295 MB / 281.5 MB, free: 7.695 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.887e-05/0.003395, allocations: 7.938 kB / 281.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.003615, allocations: 71.48 kB / 281.6 MB, free: 7.617 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.511e-05/0.00369, allocations: 63.47 kB / 281.6 MB, free: 7.555 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.00383, allocations: 67.72 kB / 281.7 MB, free: 7.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.003998, allocations: 206.9 kB / 281.9 MB, free: 7.285 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.124e-05/0.00409, allocations: 30.44 kB / 281.9 MB, free: 7.258 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.004244, allocations: 119.6 kB / 282 MB, free: 7.141 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.005e-05/0.004334, allocations: 55.81 kB / 282.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.00436, allocations: 16 kB / 282.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.011e-05/0.004431, allocations: 31.98 kB / 282.1 MB, free: 7.039 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.004454, allocations: 31.84 kB / 282.2 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.004495, allocations: 59.84 kB / 282.2 MB, free: 6.949 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.004667, allocations: 147.4 kB / 282.4 MB, free: 6.805 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004668, allocations: 0 / 282.4 MB, free: 6.805 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004669, allocations: 0 / 282.4 MB, free: 6.805 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.004673, allocations: 0 / 282.4 MB, free: 6.805 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.0003815/0.005054, allocations: 372 kB / 282.7 MB, free: 6.418 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.005082, allocations: 11.97 kB / 282.8 MB, free: 6.406 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.005231, allocations: 52.83 kB / 282.8 MB, free: 6.355 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.005387, allocations: 158.2 kB / 283 MB, free: 6.172 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.005398, allocations: 12.38 kB / 283 MB, free: 6.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.005418, allocations: 16.31 kB / 283 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.005543, allocations: 128.7 kB / 283.1 MB, free: 6.004 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.005553, allocations: 192 / 283.1 MB, free: 6.004 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.005564, allocations: 7.938 kB / 283.1 MB, free: 5.996 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.005569, allocations: 4 kB / 283.1 MB, free: 5.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.616e-05/0.005635, allocations: 43.92 kB / 283.2 MB, free: 5.949 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.006126, allocations: 0.5109 MB / 283.7 MB, free: 5.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.602e-05/0.006212, allocations: 50.55 kB / 283.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.006235, allocations: 16.86 kB / 283.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.906e-06/0.006244, allocations: 3.938 kB / 283.8 MB, free: 5.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.006264, allocations: 38.5 kB / 283.8 MB, free: 5.281 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.006265, allocations: 4 kB / 283.8 MB, free: 5.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001182/0.006384, allocations: 73.8 kB / 283.9 MB, free: 5.199 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.006405, allocations: 51.41 kB / 283.9 MB, free: 5.137 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.936e-05/0.006495, allocations: 170.5 kB / 284.1 MB, free: 4.957 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.006506, allocations: 29.7 kB / 284.1 MB, free: 4.922 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.006562, allocations: 131.7 kB / 284.2 MB, free: 4.789 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.006584, allocations: 35.69 kB / 284.3 MB, free: 4.754 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.006618, allocations: 33.7 kB / 284.3 MB, free: 4.715 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.43e-05/0.006692, allocations: 326.8 kB / 284.6 MB, free: 4.387 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.006708, allocations: 11.98 kB / 284.6 MB, free: 4.375 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.042e-05/0.006749, allocations: 61.98 kB / 284.7 MB, free: 4.293 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.95e-05/0.006818, allocations: 89.78 kB / 284.8 MB, free: 4.184 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.00682, allocations: 0 / 284.8 MB, free: 4.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 9.879e-05/0.006919, allocations: 101.7 kB / 284.9 MB, free: 4.078 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.006929, allocations: 7.938 kB / 284.9 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.006934, allocations: 7.938 kB / 284.9 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.006944, allocations: 0 / 284.9 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.007074, allocations: 39.92 kB / 284.9 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.007079, allocations: 7.984 kB / 284.9 MB, free: 4.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.007121, allocations: 19.88 kB / 285 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.007127, allocations: 4 kB / 285 MB, free: 3.992 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 5.928e-05/0.007186, allocations: 117.8 kB / 285.1 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.00721, allocations: 11.94 kB / 285.1 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.007235, allocations: 21.48 kB / 285.1 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.007238, allocations: 4 kB / 285.1 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.007239, allocations: 0 / 285.1 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.007242, allocations: 0 / 285.1 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.007349, allocations: 101.8 kB / 285.2 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.00735, allocations: 0 / 285.2 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.069e-05/0.007441, allocations: 35.16 kB / 285.3 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.007443, allocations: 3.938 kB / 285.3 MB, free: 3.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.007451, allocations: 3.984 kB / 285.3 MB, free: 3.676 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007452, allocations: 0 / 285.3 MB, free: 3.676 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.007453, allocations: 4 kB / 285.3 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.007581, allocations: 187.4 kB / 285.5 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.007596, allocations: 11.89 kB / 285.5 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.00761, allocations: 7.938 kB / 285.5 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.192e-05/0.007652, allocations: 0 / 285.5 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.007665, allocations: 7.984 kB / 285.5 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.007668, allocations: 0 / 285.5 MB, free: 3.445 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.455e-05/0.007702, allocations: 49.86 kB / 285.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007702, allocations: 0 / 285.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001463/0.007849, allocations: 35.95 kB / 285.6 MB, free: 3.359 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 5.869e-05/0.007907, allocations: 88.3 kB / 285.6 MB, free: 3.262 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.41e-05/0.007991, allocations: 55.89 kB / 285.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.007998, allocations: 8 kB / 285.7 MB, free: 3.199 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.127e-05/0.00802, allocations: 28.78 kB / 285.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.008187, allocations: 28.58 kB / 285.8 MB, free: 3.141 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007558/0.008943, allocations: 472.4 kB / 286.2 MB, free: 2.656 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.042e-05/0.008983, allocations: 79.83 kB / 286.3 MB, free: 2.559 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.21e-05/0.009025, allocations: 9.531 kB / 286.3 MB, free: 2.547 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.276e-05/0.009098, allocations: 75.36 kB / 286.4 MB, free: 2.473 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009098, allocations: 0 / 286.4 MB, free: 2.473 MB / 266.7 MB Notification: Performance of Templates: time 0.002984/0.01208, allocations: 1.57 MB / 288 MB, free: 0.9414 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.510109720285982]