Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Rotational.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.001219/0.001219, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002/0.003219, allocations: 440 kB / 10.41 MB, free: 284 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.001121/0.001121, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001498/0.002619, allocations: 475.6 kB / 11.8 MB, free: 2.375 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 0.9276/0.9276, allocations: 177.2 MB / 189.7 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08461/1.012, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.00452/0.00452, allocations: 1.185 MB / 245.3 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001469/0.005989, allocations: 0.8232 MB / 246.1 MB, free: 12.78 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.Rotational.DCPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking") translateModel(ElectricBraking.Examples.Rotational.DCPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 247.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.988e-05, allocations: 6.25 kB / 247.5 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.DCPMBraking): time 0.005847/0.005867, allocations: 4.114 MB / 251.6 MB, free: 7.344 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.008548, allocations: 1.39 MB / 253 MB, free: 5.945 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004083/0.008956, allocations: 11.94 kB / 253 MB, free: 5.934 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006633/0.009619, allocations: 202.5 kB / 253.2 MB, free: 5.734 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004783/0.0101, allocations: 202.4 kB / 253.4 MB, free: 5.535 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.01037, allocations: 115.8 kB / 253.5 MB, free: 5.422 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006887/0.01106, allocations: 0.6297 MB / 254.1 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.01138, allocations: 162 kB / 254.3 MB, free: 4.625 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006664/0.01205, allocations: 409.2 kB / 254.7 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.01341, allocations: 191.4 kB / 254.9 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.612e-05/0.01349, allocations: 56 kB / 254.9 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.01369, allocations: 75.92 kB / 255 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.789e-05/0.01376, allocations: 87.69 kB / 255.1 MB, free: 3.82 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.01393, allocations: 159.7 kB / 255.2 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005776/0.0145, allocations: 382.6 kB / 255.6 MB, free: 3.289 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.602e-05/0.01452, allocations: 0 / 255.6 MB, free: 3.289 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.01452, allocations: 0 / 255.6 MB, free: 3.289 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.01454, allocations: 0 / 255.6 MB, free: 3.289 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001127/0.01566, allocations: 0.815 MB / 256.4 MB, free: 2.449 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.0157, allocations: 11.98 kB / 256.4 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002694/0.01597, allocations: 170 kB / 256.6 MB, free: 2.254 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.01636, allocations: 248.4 kB / 256.8 MB, free: 1.988 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/0.01641, allocations: 33.38 kB / 256.9 MB, free: 1.957 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.01653, allocations: 56.5 kB / 256.9 MB, free: 1.902 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.017, allocations: 392.4 kB / 257.3 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.01702, allocations: 192 / 257.3 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.01706, allocations: 24.12 kB / 257.3 MB, free: 1.461 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.01707, allocations: 12 kB / 257.3 MB, free: 1.449 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.01731, allocations: 122.9 kB / 257.5 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.01897, allocations: 1.175 MB / 258.6 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.01928, allocations: 150.4 kB / 258.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.196e-05/0.01936, allocations: 44.84 kB / 258.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.01938, allocations: 4 kB / 258.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.01941, allocations: 34.5 kB / 258.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 2.064e-06/0.01941, allocations: 4 kB / 258.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.000451/0.01986, allocations: 181.3 kB / 259 MB, free: 15.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.01989, allocations: 55.41 kB / 259.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.02016, allocations: 282.8 kB / 259.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.02018, allocations: 33.7 kB / 259.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.02031, allocations: 240.7 kB / 259.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.979e-05/0.02038, allocations: 95.2 kB / 259.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.439e-05/0.02047, allocations: 61.67 kB / 259.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.02058, allocations: 342.7 kB / 260.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-05/0.02064, allocations: 31.77 kB / 260.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.02076, allocations: 132.1 kB / 260.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.02098, allocations: 193.1 kB / 260.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.02098, allocations: 3.938 kB / 260.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000344/0.02133, allocations: 216.4 kB / 260.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.02135, allocations: 8 kB / 260.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.02135, allocations: 0 / 260.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.0215, allocations: 20.84 kB / 260.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.02182, allocations: 92.3 kB / 260.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008114/0.02263, allocations: 1.166 MB / 262 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.0228, allocations: 27.78 kB / 262 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.02282, allocations: 12 kB / 262 MB, free: 12.45 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 39 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.02296, allocations: 133.8 kB / 262.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.02302, allocations: 27.97 kB / 262.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.643e-05/0.02308, allocations: 38.45 kB / 262.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.02308, allocations: 7.938 kB / 262.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.02309, allocations: 0 / 262.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.02309, allocations: 0 / 262.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006126/0.0237, allocations: 412.4 kB / 262.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.02371, allocations: 0 / 262.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.02399, allocations: 71.88 kB / 262.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.02407, allocations: 31.75 kB / 262.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-05/0.02415, allocations: 24.78 kB / 262.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.02417, allocations: 4 kB / 262.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000716/0.02488, allocations: 1.166 MB / 263.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.02489, allocations: 0 / 263.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.02521, allocations: 290.3 kB / 264.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.02525, allocations: 4 kB / 264.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.0254, allocations: 15.94 kB / 264.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.02545, allocations: 19.91 kB / 264.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.02546, allocations: 4 kB / 264.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.02558, allocations: 104.6 kB / 264.3 MB, free: 9.973 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02558, allocations: 3.938 kB / 264.3 MB, free: 9.969 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004042/0.02599, allocations: 119.7 kB / 264.5 MB, free: 9.852 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (inertiaLoad.w,integrator.y,heatCapacitor.T,dcpm.phi,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 (24): * Single equations (assignments): 23 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001123/0.0261, allocations: 84.42 kB / 264.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000376/0.02647, allocations: 247.2 kB / 264.8 MB, free: 9.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/0.02649, allocations: 4 kB / 264.8 MB, free: 9.496 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.02671, allocations: 196.6 kB / 265 MB, free: 9.289 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006095/0.02731, allocations: 0.6347 MB / 265.6 MB, free: 8.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005312/0.03263, allocations: 0.9115 MB / 266.5 MB, free: 7.586 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.163e-05/0.03269, allocations: 112.6 kB / 266.6 MB, free: 7.457 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.03279, allocations: 38.95 kB / 266.7 MB, free: 7.418 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.03293, allocations: 111.3 kB / 266.8 MB, free: 7.309 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.03293, allocations: 0 / 266.8 MB, free: 7.309 MB / 266.7 MB Notification: Performance of Templates: time 0.006176/0.03911, allocations: 3.959 MB / 270.7 MB, free: 3.43 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5689600091427565]