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.0008818/0.0008818, allocations: 81.95 kB / 20.67 MB, free: 3.828 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.0008684/0.0008684, allocations: 169 kB / 24.07 MB, free: 444 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.9657/0.9657, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.004989/0.004989, allocations: 1.19 MB / 262.2 MB, free: 11.73 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.583e-06/1.583e-06, allocations: 0 / 332.4 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.077e-05, allocations: 6.25 kB / 332.4 MB, free: 3.059 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.DCPMBraking): time 0.003887/0.003907, allocations: 4.034 MB / 336.4 MB, free: 15 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.005931, allocations: 1.343 MB / 337.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.00619, allocations: 11.94 kB / 337.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005431/0.006734, allocations: 206.5 kB / 338 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.007037, allocations: 194.3 kB / 338.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.00722, allocations: 115.8 kB / 338.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004927/0.007712, allocations: 0.6297 MB / 338.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.00794, allocations: 159.8 kB / 339.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005423/0.008483, allocations: 359.1 kB / 339.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.008725, allocations: 191.4 kB / 339.6 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.867e-05/0.008774, allocations: 52 kB / 339.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.008882, allocations: 71.98 kB / 339.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.00895, allocations: 115.5 kB / 339.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.009083, allocations: 195.5 kB / 340 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004398/0.009523, allocations: 410.4 kB / 340.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.009526, allocations: 4 kB / 340.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.009526, allocations: 0 / 340.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.009535, allocations: 0 / 340.4 MB, free: 10.97 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0008518/0.01039, allocations: 0.8307 MB / 341.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.01042, allocations: 12.03 kB / 341.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.01061, allocations: 108.6 kB / 341.4 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.01093, allocations: 303.2 kB / 341.7 MB, free: 9.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.01096, allocations: 37.38 kB / 341.7 MB, free: 9.621 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-05/0.01104, allocations: 56.5 kB / 341.8 MB, free: 9.566 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.01141, allocations: 391.7 kB / 342.1 MB, free: 9.148 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.01143, allocations: 4.188 kB / 342.1 MB, free: 9.145 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.01147, allocations: 28.06 kB / 342.2 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.01148, allocations: 12 kB / 342.2 MB, free: 9.105 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.01168, allocations: 134.8 kB / 342.3 MB, free: 8.973 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.013, allocations: 1.521 MB / 343.8 MB, free: 7.379 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.0135, allocations: 159 kB / 344 MB, free: 7.211 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.882e-05/0.01356, allocations: 59.58 kB / 344 MB, free: 7.148 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.01358, allocations: 7.938 kB / 344.1 MB, free: 7.141 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.0136, allocations: 45.39 kB / 344.1 MB, free: 7.086 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.873e-06/0.0136, allocations: 0 / 344.1 MB, free: 7.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003548/0.01396, allocations: 214.8 kB / 344.3 MB, free: 6.867 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.01398, allocations: 59.34 kB / 344.4 MB, free: 6.797 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.01416, allocations: 346 kB / 344.7 MB, free: 6.441 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.01418, allocations: 29.7 kB / 344.7 MB, free: 6.406 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.01431, allocations: 318.9 kB / 345 MB, free: 6.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.01435, allocations: 91.22 kB / 345.1 MB, free: 6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.01441, allocations: 71.11 kB / 345.2 MB, free: 5.922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.01454, allocations: 0.5235 MB / 345.7 MB, free: 5.387 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.269e-05/0.01458, allocations: 31.97 kB / 345.8 MB, free: 5.355 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.503e-05/0.01467, allocations: 163.8 kB / 345.9 MB, free: 5.133 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.01484, allocations: 229.7 kB / 346.1 MB, free: 4.852 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01484, allocations: 7.938 kB / 346.2 MB, free: 4.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002568/0.0151, allocations: 267.4 kB / 346.4 MB, free: 4.574 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.01512, allocations: 11.94 kB / 346.4 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01512, allocations: 0 / 346.4 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000107/0.01523, allocations: 23.67 kB / 346.4 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.01537, allocations: 67.91 kB / 346.5 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007646/0.01613, allocations: 1.721 MB / 348.2 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.01624, allocations: 27.8 kB / 348.3 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.01625, allocations: 15.94 kB / 348.3 MB, free: 2.586 MB / 314.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.0001134/0.01637, allocations: 180.4 kB / 348.5 MB, free: 2.398 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.01641, allocations: 39.81 kB / 348.5 MB, free: 2.359 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.01645, allocations: 34.45 kB / 348.5 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01645, allocations: 0 / 348.5 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.01646, allocations: 3.938 kB / 348.5 MB, free: 2.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.01652, allocations: 51.72 kB / 348.6 MB, free: 2.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.01654, allocations: 8.062 kB / 348.6 MB, free: 2.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.104e-05/0.01663, allocations: 15.98 kB / 348.6 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.01667, allocations: 19.97 kB / 348.6 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003174/0.01699, allocations: 304.5 kB / 348.9 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002824/0.01727, allocations: 494.5 kB / 349.4 MB, free: 1.414 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.339e-05/0.01733, allocations: 55.64 kB / 349.5 MB, free: 1.355 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.01744, allocations: 226.9 kB / 349.7 MB, free: 1.137 MB / 314.7 MB Notification: Performance of Backend: time 4.11e-07/0.01744, allocations: 0 / 349.7 MB, free: 1.137 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005289/0.01797, allocations: 386 kB / 350.1 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of SimCode: time 0.001758/0.01973, allocations: 1.677 MB / 351.7 MB, free: 14.99 MB / 330.7 MB Notification: Performance of Templates: time 0.01029/0.03002, allocations: 4.486 MB / 356.2 MB, free: 10.6 MB / 330.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.8201404688879848]