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.002148/0.002148, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.00215/0.00215, allocations: 215 kB / 22.25 MB, free: 3.566 MB / 13.93 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.808/1.808, allocations: 230.6 MB / 256 MB, free: 9.574 MB / 202.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.01026/0.01026, allocations: 1.604 MB / 314 MB, free: 340 kB / 234.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: ElectricBraking requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004807/0.004807, allocations: 73.92 kB / 437.1 MB, free: 46.07 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1134, allocations: 53.78 MB / 490.9 MB, free: 10 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.EddyCurrentBraking): time 0.004748/0.1181, allocations: 2.15 MB / 493 MB, free: 7.836 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.12, allocations: 0.7752 MB / 493.8 MB, free: 7.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.1202, allocations: 7.938 kB / 493.8 MB, free: 7.051 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.1206, allocations: 51.56 kB / 493.9 MB, free: 7 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.1208, allocations: 67.47 kB / 493.9 MB, free: 6.934 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.1211, allocations: 55.86 kB / 494 MB, free: 6.879 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.1215, allocations: 211 kB / 494.2 MB, free: 6.672 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.1216, allocations: 32.73 kB / 494.2 MB, free: 6.641 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.1219, allocations: 83.7 kB / 494.3 MB, free: 6.559 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.1221, allocations: 67.58 kB / 494.4 MB, free: 6.492 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.1221, allocations: 12 kB / 494.4 MB, free: 6.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1222, allocations: 31.98 kB / 494.4 MB, free: 6.449 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.1223, allocations: 35.84 kB / 494.5 MB, free: 6.414 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.984e-05/0.1224, allocations: 67.67 kB / 494.5 MB, free: 6.348 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.1228, allocations: 191.2 kB / 494.7 MB, free: 6.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1228, allocations: 4 kB / 494.7 MB, free: 6.156 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1228, allocations: 4 kB / 494.7 MB, free: 6.152 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1228, allocations: 0 / 494.7 MB, free: 6.152 MB / 346.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.0009555/0.1238, allocations: 405.4 kB / 495.1 MB, free: 5.727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1238, allocations: 8.031 kB / 495.1 MB, free: 5.719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.1241, allocations: 32.83 kB / 495.1 MB, free: 5.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.1244, allocations: 178.9 kB / 495.3 MB, free: 5.484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1245, allocations: 8.375 kB / 495.3 MB, free: 5.477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.1245, allocations: 16.38 kB / 495.3 MB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.1248, allocations: 148.1 kB / 495.5 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.1248, allocations: 7.938 kB / 495.5 MB, free: 5.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.1249, allocations: 4 kB / 495.5 MB, free: 5.289 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1249, allocations: 4 kB / 495.5 MB, free: 5.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.125, allocations: 80.39 kB / 495.6 MB, free: 5.207 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.1265, allocations: 0.6164 MB / 496.2 MB, free: 4.547 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.1267, allocations: 82.61 kB / 496.3 MB, free: 4.457 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.525e-05/0.1268, allocations: 28.84 kB / 496.3 MB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.1268, allocations: 3.984 kB / 496.3 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.1268, allocations: 38.69 kB / 496.4 MB, free: 4.375 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.1268, allocations: 0 / 496.4 MB, free: 4.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002891/0.1271, allocations: 105.5 kB / 496.5 MB, free: 4.266 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.1272, allocations: 51.41 kB / 496.5 MB, free: 4.203 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.1274, allocations: 186.9 kB / 496.7 MB, free: 4.012 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.1274, allocations: 29.7 kB / 496.7 MB, free: 3.977 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.1275, allocations: 139.8 kB / 496.9 MB, free: 3.836 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.445e-05/0.1276, allocations: 35.69 kB / 496.9 MB, free: 3.801 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/0.1276, allocations: 29.72 kB / 496.9 MB, free: 3.766 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.1279, allocations: 326.8 kB / 497.2 MB, free: 3.438 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/0.1279, allocations: 27.98 kB / 497.3 MB, free: 3.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.128, allocations: 70 kB / 497.3 MB, free: 3.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.1282, allocations: 113.9 kB / 497.4 MB, free: 3.188 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.1282, allocations: 4 kB / 497.4 MB, free: 3.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002924/0.1285, allocations: 145.3 kB / 497.6 MB, free: 3.035 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1285, allocations: 4 kB / 497.6 MB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1286, allocations: 4 kB / 497.6 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.1286, allocations: 4.188 kB / 497.6 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.1288, allocations: 43.91 kB / 497.6 MB, free: 2.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1288, allocations: 4 kB / 497.6 MB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1289, allocations: 11.89 kB / 497.7 MB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.1289, allocations: 8 kB / 497.7 MB, free: 2.957 MB / 346.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.0001534/0.129, allocations: 133.7 kB / 497.8 MB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.1291, allocations: 7.953 kB / 497.8 MB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.76e-05/0.1291, allocations: 21.39 kB / 497.8 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1292, allocations: 0 / 497.8 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1292, allocations: 0 / 497.8 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1292, allocations: 0 / 497.8 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.1294, allocations: 169.2 kB / 498 MB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1294, allocations: 0 / 498 MB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.1296, allocations: 24.36 kB / 498 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1296, allocations: 0 / 498 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1296, allocations: 4 kB / 498 MB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1296, allocations: 0 / 498 MB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1296, allocations: 3.938 kB / 498 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.1299, allocations: 223.4 kB / 498.2 MB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.13, allocations: 23.83 kB / 498.3 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.13, allocations: 0 / 498.3 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.976e-05/0.1301, allocations: 0 / 498.3 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.1301, allocations: 23.86 kB / 498.3 MB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.1301, allocations: 0 / 498.3 MB, free: 2.273 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.1302, allocations: 127.2 kB / 498.4 MB, free: 2.148 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1302, allocations: 0 / 498.4 MB, free: 2.148 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002891/0.1305, allocations: 31.95 kB / 498.4 MB, free: 2.117 MB / 346.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.0001185/0.1306, allocations: 101.1 kB / 498.5 MB, free: 2.012 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.1308, allocations: 71.84 kB / 498.6 MB, free: 1.941 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1308, allocations: 384 / 498.6 MB, free: 1.941 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.389e-05/0.1309, allocations: 35.98 kB / 498.6 MB, free: 1.906 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.1313, allocations: 30.11 kB / 498.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.1325, allocations: 0.5624 MB / 499.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.1326, allocations: 112 kB / 499.4 MB, free: 1.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.906e-05/0.1327, allocations: 17.41 kB / 499.4 MB, free: 1.145 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.1327, allocations: 11.44 kB / 499.4 MB, free: 1.133 MB / 346.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1327, allocations: 4 kB / 499.4 MB, free: 1.129 MB / 346.7 MB Notification: Performance of Templates: time 0.005353/0.1381, allocations: 1.548 MB / 0.4892 GB, free: 15.61 MB / 362.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: 5.384220913052559]