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.0008652/0.0008652, allocations: 73.97 kB / 20.65 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.0008949/0.0008949, allocations: 169 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.9102/0.9102, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.005136/0.005136, allocations: 1.192 MB / 262.2 MB, free: 11.75 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.133e-06/1.133e-06, allocations: 0 / 331.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.658e-06/1.079e-05, allocations: 2.312 kB / 331.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.DCPMBraking): time 0.003009/0.00302, allocations: 4.412 MB / 336 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.004313, allocations: 1.398 MB / 337.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.004518, allocations: 15.88 kB / 337.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000455/0.004973, allocations: 214.4 kB / 337.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.005187, allocations: 226.1 kB / 337.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.005323, allocations: 127.8 kB / 337.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.005665, allocations: 0.6957 MB / 338.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.005871, allocations: 185.1 kB / 338.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.006191, allocations: 415 kB / 339.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.006361, allocations: 207.4 kB / 339.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.336e-05/0.006404, allocations: 60 kB / 339.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.695e-05/0.006501, allocations: 79.98 kB / 339.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.006548, allocations: 131.5 kB / 339.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.68e-05/0.006645, allocations: 215.4 kB / 339.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.006978, allocations: 454.3 kB / 340.3 MB, free: 9.992 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.006979, allocations: 4 kB / 340.3 MB, free: 9.988 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.00698, allocations: 0 / 340.3 MB, free: 9.988 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.006985, allocations: 0 / 340.3 MB, free: 9.988 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0006778/0.007663, allocations: 0.8971 MB / 341.2 MB, free: 9.055 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.702e-05/0.00769, allocations: 8.031 kB / 341.2 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.007839, allocations: 128.5 kB / 341.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.00809, allocations: 332.1 kB / 341.7 MB, free: 8.566 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.008115, allocations: 41.69 kB / 341.7 MB, free: 8.523 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-05/0.008186, allocations: 60.5 kB / 341.8 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.008488, allocations: 431.8 kB / 342.2 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.008504, allocations: 4.188 kB / 342.2 MB, free: 8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.008529, allocations: 28.12 kB / 342.2 MB, free: 7.973 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.008537, allocations: 12 kB / 342.3 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.008689, allocations: 150.8 kB / 342.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.009754, allocations: 1.614 MB / 344 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.00994, allocations: 174.9 kB / 344.2 MB, free: 5.949 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.009994, allocations: 71.61 kB / 344.3 MB, free: 5.875 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.01001, allocations: 4 kB / 344.3 MB, free: 5.871 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.01002, allocations: 53.86 kB / 344.3 MB, free: 5.809 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.372e-06/0.01002, allocations: 0 / 344.3 MB, free: 5.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007402/0.01076, allocations: 0.7496 MB / 345.1 MB, free: 4.996 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.229e-05/0.01077, allocations: 55.41 kB / 345.1 MB, free: 4.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.01091, allocations: 358 kB / 345.5 MB, free: 4.562 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.01093, allocations: 37.7 kB / 345.5 MB, free: 4.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.99e-05/0.01101, allocations: 343.4 kB / 345.8 MB, free: 4.176 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.01104, allocations: 126.9 kB / 346 MB, free: 4.051 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.667e-05/0.0111, allocations: 87.77 kB / 346 MB, free: 3.957 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.01115, allocations: 0.5273 MB / 346.6 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4e-05/0.01119, allocations: 36.97 kB / 346.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.238e-05/0.01126, allocations: 207.8 kB / 346.8 MB, free: 3.109 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.01141, allocations: 282.7 kB / 347.1 MB, free: 2.766 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01141, allocations: 0 / 347.1 MB, free: 2.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000249/0.01166, allocations: 320.4 kB / 347.4 MB, free: 2.441 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.01167, allocations: 11.94 kB / 347.4 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01167, allocations: 4 kB / 347.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001109/0.01178, allocations: 44.06 kB / 347.5 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.01193, allocations: 95.83 kB / 347.6 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000495/0.01243, allocations: 1.831 MB / 349.4 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.411e-05/0.01252, allocations: 8 kB / 349.4 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.01253, allocations: 16 kB / 349.4 MB, free: 328 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 8.035e-05/0.01261, allocations: 176.5 kB / 349.6 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.01265, allocations: 55.73 kB / 349.6 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.01269, allocations: 44.06 kB / 349.7 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.01269, allocations: 4 kB / 349.7 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.01269, allocations: 0 / 349.7 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.0127, allocations: 3.984 kB / 349.7 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006087/0.01331, allocations: 0.666 MB / 350.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01331, allocations: 0 / 350.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.01346, allocations: 67.91 kB / 350.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.003e-05/0.01354, allocations: 35.69 kB / 350.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.01355, allocations: 4 kB / 350.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006515/0.0142, allocations: 1.792 MB / 352.3 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.0142, allocations: 4 kB / 352.3 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.01453, allocations: 452.2 kB / 352.7 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.0146, allocations: 55.73 kB / 352.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.01462, allocations: 12 kB / 352.8 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/0.01472, allocations: 11.98 kB / 352.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.01476, allocations: 23.95 kB / 352.8 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.01477, allocations: 8 kB / 352.8 MB, free: 12.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.01488, allocations: 234.9 kB / 353 MB, free: 12.49 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01488, allocations: 0 / 353 MB, free: 12.49 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.01513, allocations: 111.9 kB / 353.1 MB, free: 12.38 MB / 282.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 (32): * Single equations (assignments): 31 * 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 8.413e-05/0.01522, allocations: 107.2 kB / 353.2 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003071/0.01553, allocations: 374.5 kB / 353.6 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01553, allocations: 4.875 kB / 353.6 MB, free: 11.87 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.01568, allocations: 270.1 kB / 353.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.01596, allocations: 65.41 kB / 353.9 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.01722, allocations: 1.038 MB / 355 MB, free: 10.44 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.01737, allocations: 238.2 kB / 355.2 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.01754, allocations: 154.2 kB / 355.4 MB, free: 10.03 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01754, allocations: 0 / 355.4 MB, free: 10.03 MB / 282.7 MB Notification: Performance of Templates: time 0.005736/0.02327, allocations: 7.654 MB / 363 MB, free: 2.391 MB / 282.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 > ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.740362064447254]