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.0006971/0.0006971, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000909/0.001606, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007092/0.0007092, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000882/0.001591, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.002/1.002, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09086/1.093, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.004627/0.004627, allocations: 1.192 MB / 245.2 MB, free: 13.72 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001829/0.006456, allocations: 0.8076 MB / 246 MB, free: 12.91 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.383e-06/1.383e-06, allocations: 0 / 247.2 MB, free: 11.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.135e-05, allocations: 2.312 kB / 247.2 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.DCPMBraking): time 0.008391/0.008412, allocations: 4.484 MB / 251.7 MB, free: 7.121 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005572/0.01398, allocations: 1.46 MB / 253.2 MB, free: 5.652 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003427/0.01433, allocations: 11.94 kB / 253.2 MB, free: 5.641 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.01489, allocations: 222.3 kB / 253.4 MB, free: 5.422 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.01832, allocations: 222.2 kB / 253.6 MB, free: 5.203 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.01859, allocations: 131.8 kB / 253.8 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007255/0.01931, allocations: 0.7036 MB / 254.5 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.01964, allocations: 187 kB / 254.6 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008772/0.02052, allocations: 466 kB / 255.1 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.02079, allocations: 207.3 kB / 255.3 MB, free: 3.52 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.743e-05/0.02086, allocations: 60 kB / 255.4 MB, free: 3.461 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.02103, allocations: 79.98 kB / 255.4 MB, free: 3.383 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.84e-05/0.02111, allocations: 95.69 kB / 255.5 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003203/0.02432, allocations: 183.6 kB / 255.7 MB, free: 3.109 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006351/0.02495, allocations: 426.4 kB / 256.1 MB, free: 2.691 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.835e-05/0.02497, allocations: 0 / 256.1 MB, free: 2.691 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.02497, allocations: 0 / 256.1 MB, free: 2.691 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.897e-05/0.02499, allocations: 0 / 256.1 MB, free: 2.691 MB / 250.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.001097/0.02609, allocations: 0.8892 MB / 257 MB, free: 1.777 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.02612, allocations: 11.98 kB / 257 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002715/0.0264, allocations: 178 kB / 257.2 MB, free: 1.574 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.02681, allocations: 273.4 kB / 257.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/0.02685, allocations: 41.69 kB / 257.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.02696, allocations: 60.5 kB / 257.6 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003477/0.03044, allocations: 428.5 kB / 258 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.03046, allocations: 8.078 kB / 258 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.0305, allocations: 32.12 kB / 258 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.03051, allocations: 12 kB / 258 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.03072, allocations: 130.9 kB / 258.2 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.03232, allocations: 1.261 MB / 259.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.03258, allocations: 157.2 kB / 259.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.328e-05/0.03266, allocations: 48.84 kB / 259.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.03267, allocations: 8 kB / 259.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.0327, allocations: 30.56 kB / 259.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 3.066e-06/0.0327, allocations: 8 kB / 259.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.004247/0.03695, allocations: 0.7265 MB / 260.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.03698, allocations: 59.27 kB / 260.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.03722, allocations: 306.8 kB / 260.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.03724, allocations: 29.7 kB / 260.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.03736, allocations: 257.4 kB / 261 MB, free: 13.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.958e-05/0.03744, allocations: 130.9 kB / 261.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.058e-05/0.03753, allocations: 82.09 kB / 261.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.03764, allocations: 350.7 kB / 261.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.479e-05/0.03769, allocations: 32.98 kB / 261.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.03809, allocations: 162.6 kB / 261.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.03831, allocations: 221.4 kB / 262 MB, free: 12.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.03831, allocations: 3.938 kB / 262 MB, free: 12.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003352/0.03865, allocations: 270 kB / 262.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.03867, allocations: 4 kB / 262.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.03868, allocations: 8.375 kB / 262.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/0.03884, allocations: 40.83 kB / 262.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003332/0.04218, allocations: 103.8 kB / 262.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009017/0.04308, allocations: 1.269 MB / 263.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.04326, allocations: 15.98 kB / 263.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.04327, allocations: 16 kB / 263.7 MB, free: 10.62 MB / 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 0.0001569/0.04343, allocations: 133.7 kB / 263.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.04349, allocations: 39.84 kB / 263.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.609e-05/0.04354, allocations: 44.06 kB / 263.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.04355, allocations: 4 kB / 263.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.04355, allocations: 0 / 263.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.04356, allocations: 3.984 kB / 263.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007575/0.04432, allocations: 0.4976 MB / 264.4 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.04432, allocations: 0 / 264.4 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.04458, allocations: 75.89 kB / 264.5 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.752e-05/0.04466, allocations: 43.75 kB / 264.6 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/0.04477, allocations: 32.81 kB / 264.6 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.04479, allocations: 11.98 kB / 264.6 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007336/0.04552, allocations: 1.221 MB / 265.8 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.04553, allocations: 4 kB / 265.8 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.04589, allocations: 342.4 kB / 266.2 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.04593, allocations: 12 kB / 266.2 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.04606, allocations: 16.03 kB / 266.2 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.04611, allocations: 19.95 kB / 266.2 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.04613, allocations: 11.98 kB / 266.2 MB, free: 7.973 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.04624, allocations: 116.5 kB / 266.3 MB, free: 7.855 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04624, allocations: 0 / 266.3 MB, free: 7.855 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003382/0.04658, allocations: 104 kB / 266.4 MB, free: 7.754 MB / 266.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 0.0001073/0.04669, allocations: 88.36 kB / 266.5 MB, free: 7.656 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000391/0.04708, allocations: 316.3 kB / 266.8 MB, free: 7.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.617e-05/0.0471, allocations: 4 kB / 266.8 MB, free: 7.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.04725, allocations: 211.3 kB / 267 MB, free: 7.105 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.04759, allocations: 101.7 kB / 267.1 MB, free: 7.008 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005368/0.05295, allocations: 1.026 MB / 268.2 MB, free: 5.941 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.014e-05/0.05303, allocations: 122 kB / 268.3 MB, free: 5.805 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.05318, allocations: 39.27 kB / 268.3 MB, free: 5.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.05332, allocations: 115.3 kB / 268.4 MB, free: 5.656 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.05332, allocations: 0 / 268.4 MB, free: 5.656 MB / 266.7 MB Notification: Performance of Templates: time 0.007708/0.06103, allocations: 4.607 MB / 273 MB, free: 1.137 MB / 266.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: 2.7734182868152857]