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.001088/0.001088, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009622/0.0009622, 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.9704/0.9704, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.005222/0.005222, allocations: 1.204 MB / 261.5 MB, free: 11.77 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.563e-06/1.563e-06, allocations: 0 / 278.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.297e-05, allocations: 2.312 kB / 278.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.EddyCurrentBraking): time 0.002709/0.002732, allocations: 2.347 MB / 280.7 MB, free: 8.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009926/0.003724, allocations: 0.845 MB / 281.6 MB, free: 7.652 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.518e-05/0.003819, allocations: 0 / 281.6 MB, free: 7.652 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.004055, allocations: 71.42 kB / 281.6 MB, free: 7.582 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.089e-05/0.004135, allocations: 59.48 kB / 281.7 MB, free: 7.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.004287, allocations: 67.78 kB / 281.8 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.004459, allocations: 214.8 kB / 282 MB, free: 7.246 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.414e-05/0.004553, allocations: 42.38 kB / 282 MB, free: 7.207 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.004711, allocations: 119.6 kB / 282.1 MB, free: 7.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.69e-05/0.004808, allocations: 59.8 kB / 282.2 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.004828, allocations: 16 kB / 282.2 MB, free: 7.016 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.915e-05/0.004897, allocations: 28 kB / 282.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.00492, allocations: 35.83 kB / 282.3 MB, free: 6.953 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.004962, allocations: 59.83 kB / 282.3 MB, free: 6.895 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.005139, allocations: 151.4 kB / 282.5 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.005141, allocations: 0 / 282.5 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005142, allocations: 0 / 282.5 MB, free: 6.746 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.005145, allocations: 4 kB / 282.5 MB, free: 6.742 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.0004059/0.005551, allocations: 395.8 kB / 282.9 MB, free: 6.332 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.672e-05/0.005577, allocations: 8.031 kB / 282.9 MB, free: 6.324 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.00572, allocations: 40.91 kB / 282.9 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.005877, allocations: 165.5 kB / 283.1 MB, free: 6.098 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.005888, allocations: 8.375 kB / 283.1 MB, free: 6.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.005908, allocations: 16.33 kB / 283.1 MB, free: 6.074 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.006028, allocations: 136.7 kB / 283.2 MB, free: 5.926 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.006041, allocations: 4.188 kB / 283.2 MB, free: 5.922 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.006051, allocations: 7.938 kB / 283.2 MB, free: 5.914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.006057, allocations: 4 kB / 283.2 MB, free: 5.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.148e-05/0.006118, allocations: 43.91 kB / 283.3 MB, free: 5.867 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.006571, allocations: 0.4954 MB / 283.8 MB, free: 5.344 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.477e-05/0.006666, allocations: 66.53 kB / 283.8 MB, free: 5.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.006689, allocations: 20.86 kB / 283.9 MB, free: 5.246 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.006696, allocations: 0 / 283.9 MB, free: 5.246 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.006712, allocations: 34.56 kB / 283.9 MB, free: 5.203 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 7.12e-07/0.006713, allocations: 0 / 283.9 MB, free: 5.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005801/0.007293, allocations: 341.1 kB / 284.2 MB, free: 4.836 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.007318, allocations: 55.34 kB / 284.3 MB, free: 4.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.637e-05/0.007415, allocations: 180.2 kB / 284.5 MB, free: 4.578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.007431, allocations: 25.7 kB / 284.5 MB, free: 4.547 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.007481, allocations: 140.3 kB / 284.6 MB, free: 4.406 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.007505, allocations: 47.58 kB / 284.7 MB, free: 4.359 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.007541, allocations: 33.7 kB / 284.7 MB, free: 4.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.773e-05/0.007609, allocations: 330.8 kB / 285 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.007631, allocations: 12 kB / 285 MB, free: 3.977 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.307e-05/0.007674, allocations: 65.98 kB / 285.1 MB, free: 3.891 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.093e-05/0.007755, allocations: 101.5 kB / 285.2 MB, free: 3.773 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.007759, allocations: 7.938 kB / 285.2 MB, free: 3.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001189/0.007877, allocations: 109.5 kB / 285.3 MB, free: 3.652 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.007888, allocations: 4 kB / 285.3 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.007893, allocations: 4 kB / 285.3 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.007905, allocations: 4 kB / 285.3 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.008038, allocations: 47.3 kB / 285.4 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.008043, allocations: 12.08 kB / 285.4 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.008085, allocations: 8 kB / 285.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.008094, allocations: 11.98 kB / 285.4 MB, free: 3.566 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 (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 6.414e-05/0.008158, allocations: 125.7 kB / 285.5 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.008181, allocations: 11.98 kB / 285.5 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.00821, allocations: 21.47 kB / 285.6 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.008211, allocations: 0 / 285.6 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.008212, allocations: 0 / 285.6 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.008216, allocations: 3.984 kB / 285.6 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.008484, allocations: 300.3 kB / 285.9 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008485, allocations: 0 / 285.9 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.008595, allocations: 43.91 kB / 285.9 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.008598, allocations: 0 / 285.9 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.008605, allocations: 4 kB / 285.9 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008606, allocations: 0 / 285.9 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008607, allocations: 0 / 285.9 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.00875, allocations: 213.1 kB / 286.1 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.008766, allocations: 11.91 kB / 286.1 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.00878, allocations: 8.062 kB / 286.1 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.00883, allocations: 11.94 kB / 286.1 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.008847, allocations: 15.92 kB / 286.2 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.008851, allocations: 0 / 286.2 MB, free: 2.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.989e-05/0.00889, allocations: 50.77 kB / 286.2 MB, free: 2.699 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008891, allocations: 0 / 286.2 MB, free: 2.699 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001515/0.009042, allocations: 32 kB / 286.2 MB, free: 2.668 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (massLoad.s,massLoad.v,integrator.y,heatCapacitor.T) * 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 (13): * Single equations (assignments): 13 * 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 6.867e-05/0.009111, allocations: 80.42 kB / 286.3 MB, free: 2.578 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.009215, allocations: 80.88 kB / 286.4 MB, free: 2.496 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.009219, allocations: 4 kB / 286.4 MB, free: 2.492 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.888e-05/0.009248, allocations: 32.55 kB / 286.4 MB, free: 2.461 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.009446, allocations: 33.06 kB / 286.5 MB, free: 2.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007432/0.01019, allocations: 480.8 kB / 286.9 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.492e-05/0.01023, allocations: 71.98 kB / 287 MB, free: 1.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.306e-05/0.01029, allocations: 17.48 kB / 287 MB, free: 1.824 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.17e-05/0.01037, allocations: 79.36 kB / 287.1 MB, free: 1.746 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01037, allocations: 0 / 287.1 MB, free: 1.746 MB / 266.7 MB Notification: Performance of Templates: time 0.09633/0.1067, allocations: 1.83 MB / 288.9 MB, free: 25.27 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.526089279912412]