Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.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.002382/0.002382, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00291/0.00291, allocations: 169.9 kB / 22.45 MB, free: 2.105 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 1.568/1.568, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.009405/0.009405, allocations: 1.196 MB / 260.4 MB, free: 12.1 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.DCPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking") translateModel(ElectricBraking.Examples.Translational.DCPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 383.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.769e-05, allocations: 6.281 kB / 383.5 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.DCPMBraking): time 0.005961/0.005989, allocations: 4.097 MB / 387.6 MB, free: 9.035 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002914/0.008903, allocations: 1.351 MB / 389 MB, free: 7.676 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.009197, allocations: 15.94 kB / 389 MB, free: 7.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007863/0.009984, allocations: 210.4 kB / 389.2 MB, free: 7.453 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005544/0.01054, allocations: 214.2 kB / 389.4 MB, free: 7.242 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.01085, allocations: 135.8 kB / 389.5 MB, free: 7.109 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.01189, allocations: 0.6996 MB / 390.2 MB, free: 6.406 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004251/0.01232, allocations: 181 kB / 390.4 MB, free: 6.227 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000733/0.01305, allocations: 403 kB / 390.8 MB, free: 5.832 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.01348, allocations: 199.4 kB / 391 MB, free: 5.637 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.0136, allocations: 60 kB / 391.1 MB, free: 5.578 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.01381, allocations: 79.94 kB / 391.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.01397, allocations: 127.5 kB / 391.3 MB, free: 5.375 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000334/0.0143, allocations: 215.5 kB / 391.5 MB, free: 5.164 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.0155, allocations: 0.7242 MB / 392.2 MB, free: 4.438 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01551, allocations: 0 / 392.2 MB, free: 4.438 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01551, allocations: 0 / 392.2 MB, free: 4.438 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.01552, allocations: 0 / 392.2 MB, free: 4.438 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001786/0.0173, allocations: 0.7778 MB / 393 MB, free: 3.629 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.01734, allocations: 8.031 kB / 393 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003154/0.01766, allocations: 80.5 kB / 393.1 MB, free: 3.543 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007641/0.01842, allocations: 338.7 kB / 393.4 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-05/0.01849, allocations: 49.62 kB / 393.4 MB, free: 3.133 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.01866, allocations: 60.45 kB / 393.5 MB, free: 3.074 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.01986, allocations: 0.5311 MB / 394 MB, free: 2.512 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.01989, allocations: 4.188 kB / 394 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.596e-05/0.01996, allocations: 24.12 kB / 394.1 MB, free: 2.484 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.01998, allocations: 15.94 kB / 394.1 MB, free: 2.469 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008526/0.02083, allocations: 307.8 kB / 394.4 MB, free: 2.172 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.02446, allocations: 1.483 MB / 395.9 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006823/0.02514, allocations: 247.2 kB / 396.1 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.02546, allocations: 110.2 kB / 396.2 MB, free: 272 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.02549, allocations: 4.281 kB / 396.2 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.02553, allocations: 34.83 kB / 396.2 MB, free: 224 kB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.02553, allocations: 0 / 396.2 MB, free: 224 kB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.003114/0.02864, allocations: 1.105 MB / 397.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.0287, allocations: 55.41 kB / 397.4 MB, free: 14.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005591/0.02926, allocations: 320.5 kB / 397.7 MB, free: 14.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.02931, allocations: 33.7 kB / 397.8 MB, free: 14.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.0296, allocations: 280.9 kB / 398 MB, free: 14.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.02977, allocations: 138.8 kB / 398.2 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.02994, allocations: 78.14 kB / 398.2 MB, free: 14.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002531/0.0302, allocations: 346.8 kB / 398.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.03049, allocations: 101 kB / 398.7 MB, free: 13.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.03089, allocations: 192.1 kB / 398.9 MB, free: 13.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007352/0.03163, allocations: 319 kB / 399.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.03163, allocations: 8 kB / 399.2 MB, free: 13.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001041/0.03267, allocations: 405.4 kB / 399.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.03269, allocations: 8 kB / 399.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.0327, allocations: 4 kB / 399.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002362/0.03294, allocations: 49.11 kB / 399.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/0.03341, allocations: 87.84 kB / 399.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.03539, allocations: 1.41 MB / 401.1 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.03566, allocations: 15.98 kB / 401.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.03569, allocations: 16 kB / 401.2 MB, free: 11 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 (switch.control,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003269/0.03602, allocations: 181.8 kB / 401.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.03612, allocations: 39.77 kB / 401.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.03624, allocations: 43.95 kB / 401.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.03625, allocations: 11.88 kB / 401.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.03625, allocations: 0 / 401.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.03626, allocations: 3.984 kB / 401.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.03818, allocations: 0.7849 MB / 402.2 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.03818, allocations: 3.938 kB / 402.2 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.03864, allocations: 75.92 kB / 402.3 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001535/0.03879, allocations: 32.78 kB / 402.3 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.03883, allocations: 12 kB / 402.3 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/0.04081, allocations: 1.358 MB / 403.7 MB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.04081, allocations: 0 / 403.7 MB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.04203, allocations: 0.5406 MB / 404.2 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.04222, allocations: 63.77 kB / 404.3 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.776e-05/0.04228, allocations: 7.938 kB / 404.3 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.04257, allocations: 16 kB / 404.3 MB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.04266, allocations: 23.95 kB / 404.4 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.04269, allocations: 11.98 kB / 404.4 MB, free: 7.613 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003855/0.04308, allocations: 227.1 kB / 404.6 MB, free: 7.391 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04308, allocations: 0 / 404.6 MB, free: 7.391 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006793/0.04376, allocations: 112 kB / 404.7 MB, free: 7.281 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (massLoad.s,massLoad.v,integrator.y,heatCapacitor.T,dcpm.armatureInductance.i) * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001725/0.04393, allocations: 111.1 kB / 404.8 MB, free: 7.164 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.04493, allocations: 398.2 kB / 405.2 MB, free: 6.762 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.04493, allocations: 0 / 405.2 MB, free: 6.762 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005305/0.04546, allocations: 251.2 kB / 405.4 MB, free: 6.504 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007067/0.04617, allocations: 68.44 kB / 405.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.04876, allocations: 1.02 MB / 406.5 MB, free: 5.387 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.04913, allocations: 238.2 kB / 406.8 MB, free: 5.125 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002149/0.04935, allocations: 43.25 kB / 406.8 MB, free: 5.086 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.04945, allocations: 28.5 kB / 406.8 MB, free: 5.059 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.04945, allocations: 4 kB / 406.8 MB, free: 5.055 MB / 330.7 MB Notification: Performance of Templates: time 0.0137/0.06315, allocations: 4.08 MB / 410.9 MB, free: 1.059 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.873250428121537]