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.0009918/0.0009918, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001074/0.001074, allocations: 177 kB / 23.36 MB, free: 1.137 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.9907/0.9907, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.01372/0.01372, allocations: 1.202 MB / 261.5 MB, free: 11.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.593e-06/1.593e-06, allocations: 0 / 278.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.143e-05, allocations: 2.312 kB / 278.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.DCPMBraking): time 0.005093/0.005114, allocations: 4.078 MB / 282.5 MB, free: 6.766 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.007344, allocations: 1.39 MB / 283.8 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002403/0.007584, allocations: 11.94 kB / 283.9 MB, free: 5.355 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006108/0.008195, allocations: 210.4 kB / 284.1 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.008551, allocations: 202.4 kB / 284.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.008748, allocations: 111.8 kB / 284.4 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005809/0.009329, allocations: 0.6257 MB / 285 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.009599, allocations: 166 kB / 285.2 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004653/0.01006, allocations: 363.1 kB / 285.5 MB, free: 3.691 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/0.01034, allocations: 191.4 kB / 285.7 MB, free: 3.504 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.47e-05/0.0104, allocations: 52 kB / 285.7 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.01055, allocations: 79.91 kB / 285.8 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.01063, allocations: 119.5 kB / 285.9 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.01079, allocations: 191.5 kB / 286.1 MB, free: 3.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005227/0.01132, allocations: 398.6 kB / 286.5 MB, free: 2.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01132, allocations: 0 / 286.5 MB, free: 2.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01132, allocations: 0 / 286.5 MB, free: 2.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.01133, allocations: 0 / 286.5 MB, free: 2.68 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0009206/0.01225, allocations: 0.7099 MB / 287.2 MB, free: 1.945 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.01229, allocations: 8.031 kB / 287.2 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.01251, allocations: 88.88 kB / 287.3 MB, free: 1.852 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.01284, allocations: 252.4 kB / 287.6 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.01287, allocations: 37.38 kB / 287.6 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.929e-05/0.01295, allocations: 48.56 kB / 287.7 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.01328, allocations: 396.4 kB / 288 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.0133, allocations: 8.125 kB / 288 MB, free: 1.066 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.01332, allocations: 24.06 kB / 288.1 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.01333, allocations: 12 kB / 288.1 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.01348, allocations: 118.9 kB / 288.2 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1052/0.1187, allocations: 1.169 MB / 289.4 MB, free: 24.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.1189, allocations: 138.3 kB / 289.5 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.84e-05/0.119, allocations: 47.03 kB / 289.5 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.119, allocations: 7.031 kB / 289.6 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.119, allocations: 37.77 kB / 289.6 MB, free: 24.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 2.905e-06/0.119, allocations: 0 / 289.6 MB, free: 24.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003608/0.1194, allocations: 183.6 kB / 289.8 MB, free: 24.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.611e-05/0.1194, allocations: 54.44 kB / 289.8 MB, free: 24.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.1196, allocations: 275.4 kB / 290.1 MB, free: 24.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1196, allocations: 29.83 kB / 290.1 MB, free: 24.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.606e-05/0.1197, allocations: 245 kB / 290.4 MB, free: 23.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.1197, allocations: 99.53 kB / 290.5 MB, free: 23.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.623e-05/0.1198, allocations: 62.92 kB / 290.5 MB, free: 23.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.011e-05/0.1199, allocations: 345.6 kB / 290.9 MB, free: 23.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.805e-05/0.1199, allocations: 31.38 kB / 290.9 MB, free: 23.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.41e-05/0.12, allocations: 126.5 kB / 291 MB, free: 23.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.1201, allocations: 190.5 kB / 291.2 MB, free: 23.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1201, allocations: 1.344 kB / 291.2 MB, free: 23.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000257/0.1204, allocations: 219.9 kB / 291.4 MB, free: 23.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1204, allocations: 5.5 kB / 291.4 MB, free: 23.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1204, allocations: 6.625 kB / 291.4 MB, free: 23.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001084/0.1205, allocations: 20.39 kB / 291.4 MB, free: 23.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.1208, allocations: 85.28 kB / 291.5 MB, free: 23.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004584/0.1212, allocations: 1.162 MB / 292.7 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.1213, allocations: 31.36 kB / 292.7 MB, free: 22.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1213, allocations: 8.422 kB / 292.7 MB, free: 22.17 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 9.077e-05/0.1214, allocations: 137.4 kB / 292.9 MB, free: 22.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.1215, allocations: 28.59 kB / 292.9 MB, free: 22.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.1215, allocations: 33.73 kB / 292.9 MB, free: 22.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1215, allocations: 4.594 kB / 292.9 MB, free: 22.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.1215, allocations: 5.156 kB / 292.9 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1215, allocations: 1.453 kB / 292.9 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004514/0.122, allocations: 414.1 kB / 293.3 MB, free: 21.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.122, allocations: 1.484 kB / 293.3 MB, free: 21.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.1222, allocations: 69.97 kB / 293.4 MB, free: 21.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.172e-05/0.1222, allocations: 18.73 kB / 293.4 MB, free: 21.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1222, allocations: 6.156 kB / 293.4 MB, free: 21.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003543/0.1226, allocations: 1.166 MB / 294.6 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1226, allocations: 0.75 kB / 294.6 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.1228, allocations: 282.5 kB / 294.9 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.1229, allocations: 39.77 kB / 294.9 MB, free: 20.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.1229, allocations: 9.688 kB / 294.9 MB, free: 20.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.583e-05/0.123, allocations: 12.36 kB / 294.9 MB, free: 20.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.123, allocations: 14.69 kB / 295 MB, free: 20.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.123, allocations: 6.094 kB / 295 MB, free: 20.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.52e-05/0.1231, allocations: 108 kB / 295.1 MB, free: 20.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1231, allocations: 2.438 kB / 295.1 MB, free: 20.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002845/0.1234, allocations: 118.8 kB / 295.2 MB, free: 20.49 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 7.864e-05/0.1235, allocations: 85.61 kB / 295.3 MB, free: 20.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.1238, allocations: 246.1 kB / 295.5 MB, free: 20.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.1238, allocations: 3.344 kB / 295.5 MB, free: 20.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1239, allocations: 178.1 kB / 295.7 MB, free: 20.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.1241, allocations: 69.5 kB / 295.8 MB, free: 20.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.1254, allocations: 0.834 MB / 296.6 MB, free: 19.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.826e-05/0.1254, allocations: 104.8 kB / 296.7 MB, free: 19.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.1256, allocations: 35.81 kB / 296.7 MB, free: 19.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.1257, allocations: 117.4 kB / 296.8 MB, free: 19.61 MB / 266.7 MB Notification: Performance of SimCode: time 1.353e-06/0.1257, allocations: 0 / 296.8 MB, free: 19.61 MB / 266.7 MB Notification: Performance of Templates: time 0.007244/0.133, allocations: 3.857 MB / 300.7 MB, free: 19.23 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7619784232228994]