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.001495/0.001495, allocations: 88.52 kB / 19.94 MB, free: 4.605 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.001713/0.001713, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.9314/0.9314, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.004913/0.004913, allocations: 1.195 MB / 261.1 MB, free: 12.11 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.683e-06/1.683e-06, allocations: 0 / 383.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.275e-05, allocations: 9.094 kB / 383.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.DCPMBraking): time 0.004088/0.004111, allocations: 4.098 MB / 387.6 MB, free: 9.836 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.005687, allocations: 1.343 MB / 389 MB, free: 8.484 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.005924, allocations: 11.94 kB / 389 MB, free: 8.473 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005248/0.006449, allocations: 218.4 kB / 389.2 MB, free: 8.258 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.006707, allocations: 218.2 kB / 389.4 MB, free: 8.043 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.006863, allocations: 131.8 kB / 389.5 MB, free: 7.914 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004759/0.007339, allocations: 0.7074 MB / 390.2 MB, free: 7.203 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.007577, allocations: 177 kB / 390.4 MB, free: 7.027 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003944/0.007972, allocations: 399.1 kB / 390.8 MB, free: 6.637 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.008174, allocations: 199.3 kB / 391 MB, free: 6.441 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.372e-05/0.008228, allocations: 60 kB / 391 MB, free: 6.383 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.008338, allocations: 83.92 kB / 391.1 MB, free: 6.301 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.671e-05/0.008405, allocations: 135.4 kB / 391.3 MB, free: 6.168 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.008678, allocations: 211.5 kB / 391.5 MB, free: 5.961 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005384/0.009217, allocations: 0.7165 MB / 392.2 MB, free: 5.242 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.00922, allocations: 0 / 392.2 MB, free: 5.242 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.009221, allocations: 0 / 392.2 MB, free: 5.242 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.009229, allocations: 4 kB / 392.2 MB, free: 5.238 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.0008516/0.01008, allocations: 0.7778 MB / 393 MB, free: 4.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.01012, allocations: 12.03 kB / 393 MB, free: 4.418 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.01027, allocations: 80.5 kB / 393.1 MB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.01065, allocations: 338.6 kB / 393.4 MB, free: 3.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.01068, allocations: 45.62 kB / 393.4 MB, free: 3.934 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-05/0.01078, allocations: 56.52 kB / 393.5 MB, free: 3.879 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005345/0.01132, allocations: 0.535 MB / 394 MB, free: 3.312 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.01133, allocations: 192 / 394 MB, free: 3.312 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.01137, allocations: 28.12 kB / 394 MB, free: 3.285 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.01137, allocations: 12 kB / 394.1 MB, free: 3.273 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.01175, allocations: 307.8 kB / 394.4 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.0132, allocations: 1.479 MB / 395.8 MB, free: 1.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.01353, allocations: 247.4 kB / 396.1 MB, free: 1.184 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.01366, allocations: 114.2 kB / 396.2 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.01367, allocations: 4.281 kB / 396.2 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.0137, allocations: 38.84 kB / 396.2 MB, free: 1.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 1.432e-06/0.0137, allocations: 3.938 kB / 396.2 MB, free: 1.016 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.001429/0.01513, allocations: 1.093 MB / 397.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.01515, allocations: 59.41 kB / 397.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.0154, allocations: 328.5 kB / 397.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.01541, allocations: 37.64 kB / 397.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.01553, allocations: 280.9 kB / 398 MB, free: 15.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.949e-05/0.01559, allocations: 134.8 kB / 398.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.487e-05/0.01566, allocations: 74.16 kB / 398.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.01585, allocations: 350.7 kB / 398.6 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.01597, allocations: 101 kB / 398.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.01612, allocations: 192.1 kB / 398.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.01642, allocations: 323 kB / 399.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01642, allocations: 0 / 399.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000423/0.01684, allocations: 409.4 kB / 399.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.01686, allocations: 4 kB / 399.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.01687, allocations: 7.984 kB / 399.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001363/0.017, allocations: 41.12 kB / 399.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.01718, allocations: 95.83 kB / 399.7 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008748/0.01805, allocations: 1.406 MB / 401.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.708e-05/0.01815, allocations: 16 kB / 401.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.01816, allocations: 16 kB / 401.2 MB, free: 11.8 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.0001511/0.01832, allocations: 181.6 kB / 401.3 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.01835, allocations: 35.83 kB / 401.4 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.432e-05/0.0184, allocations: 47.95 kB / 401.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.0184, allocations: 11.92 kB / 401.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.01841, allocations: 4 kB / 401.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01841, allocations: 0 / 401.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000789/0.0192, allocations: 0.7888 MB / 402.2 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.0192, allocations: 3.938 kB / 402.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.01937, allocations: 67.91 kB / 402.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.65e-05/0.01945, allocations: 40.86 kB / 402.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.01946, allocations: 4 kB / 402.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006586/0.02012, allocations: 1.362 MB / 403.7 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.02013, allocations: 7.922 kB / 403.7 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004852/0.02061, allocations: 0.5286 MB / 404.2 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-05/0.02069, allocations: 56 kB / 404.3 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.02071, allocations: 19.94 kB / 404.3 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.02082, allocations: 19.97 kB / 404.3 MB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.02086, allocations: 23.95 kB / 404.3 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.02088, allocations: 8 kB / 404.4 MB, free: 8.414 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001525/0.02103, allocations: 231.1 kB / 404.6 MB, free: 8.188 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02103, allocations: 0 / 404.6 MB, free: 8.188 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002697/0.0213, allocations: 108 kB / 404.7 MB, free: 8.082 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 9.384e-05/0.02139, allocations: 111.1 kB / 404.8 MB, free: 7.965 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000475/0.02187, allocations: 402.2 kB / 405.2 MB, free: 7.559 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02187, allocations: 0 / 405.2 MB, free: 7.559 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.02206, allocations: 247.3 kB / 405.4 MB, free: 7.305 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005872/0.02265, allocations: 65.12 kB / 405.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.02387, allocations: 1.056 MB / 406.5 MB, free: 6.148 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.02401, allocations: 238.2 kB / 406.8 MB, free: 5.887 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.02408, allocations: 36.5 kB / 406.8 MB, free: 5.852 MB / 330.7 MB Notification: Performance of SimCode: time 6.22e-07/0.02408, allocations: 0 / 406.8 MB, free: 5.852 MB / 330.7 MB Notification: Performance of Templates: time 0.1279/0.152, allocations: 7.686 MB / 414.5 MB, free: 39.72 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 > ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8633745717816055]