Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.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.001096/0.001096, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001544/0.001544, allocations: 173 kB / 23.02 MB, free: 1.551 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 1.03/1.03, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.005481/0.005481, allocations: 1.195 MB / 261.1 MB, free: 11.89 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.SMPMBrakingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier") translateModel(ElectricBraking.Examples.Translational.SMPMBrakingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 331.1 MB, free: 18.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.469e-05, allocations: 2.312 kB / 331.1 MB, free: 18.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBrakingRectifier): time 0.005201/0.005226, allocations: 6.845 MB / 338 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003411/0.008637, allocations: 2.161 MB / 340.1 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007532/0.00939, allocations: 47.69 kB / 340.2 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008806/0.01027, allocations: 401.4 kB / 340.6 MB, free: 8.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.01154, allocations: 0.5587 MB / 341.1 MB, free: 8.227 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.01203, allocations: 279.5 kB / 341.4 MB, free: 7.953 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001653/0.01368, allocations: 2.139 MB / 343.6 MB, free: 5.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008737/0.01456, allocations: 0.7809 MB / 344.3 MB, free: 4.969 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.01622, allocations: 1.415 MB / 345.8 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009815/0.0172, allocations: 0.9548 MB / 346.7 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002761/0.01748, allocations: 232 kB / 346.9 MB, free: 2.367 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003488/0.01783, allocations: 248 kB / 347.2 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003271/0.01816, allocations: 0.5998 MB / 347.8 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006294/0.01879, allocations: 0.7133 MB / 348.5 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.02045, allocations: 1.675 MB / 350.2 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.02046, allocations: 4 kB / 350.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.02046, allocations: 0 / 350.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.629e-05/0.02049, allocations: 0 / 350.2 MB, free: 15.12 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.003336/0.02383, allocations: 2.274 MB / 352.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.02388, allocations: 12.03 kB / 352.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005327/0.02441, allocations: 331.7 kB / 352.8 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.02587, allocations: 1.046 MB / 353.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.226e-05/0.02597, allocations: 107.3 kB / 353.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.02616, allocations: 144.4 kB / 354.1 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.02837, allocations: 1.35 MB / 355.4 MB, free: 9.688 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.898e-05/0.02841, allocations: 3.953 kB / 355.4 MB, free: 9.684 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.02852, allocations: 60 kB / 355.5 MB, free: 9.625 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.605e-05/0.02861, allocations: 74.92 kB / 355.6 MB, free: 9.551 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.03001, allocations: 0.5987 MB / 356.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006656/0.03667, allocations: 5.309 MB / 361.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.03799, allocations: 0.8376 MB / 362.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.03903, allocations: 0.5947 MB / 362.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-05/0.03908, allocations: 17 kB / 362.9 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.03912, allocations: 54.39 kB / 363 MB, free: 1.984 MB / 282.7 MB Notification: Performance of pre-optimization done (n=105): time 4.579e-06/0.03913, allocations: 0 / 363 MB, free: 1.984 MB / 282.7 MB Notification: Performance of matching and sorting (n=109): time 0.008387/0.04752, allocations: 3.74 MB / 366.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.04756, allocations: 68.41 kB / 366.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008826/0.04844, allocations: 0.7884 MB / 367.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.064e-05/0.0485, allocations: 45.7 kB / 367.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/0.04893, allocations: 0.7143 MB / 368.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.04919, allocations: 400.7 kB / 368.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/0.04944, allocations: 184.5 kB / 368.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.0496, allocations: 0.5277 MB / 369.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.04998, allocations: 174.5 kB / 369.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/0.05048, allocations: 381.3 kB / 370 MB, free: 10.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000919/0.0514, allocations: 0.6239 MB / 370.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.0514, allocations: 0 / 370.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001721/0.05312, allocations: 0.9882 MB / 371.6 MB, free: 9.078 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.05314, allocations: 8 kB / 371.6 MB, free: 9.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.05316, allocations: 4 kB / 371.6 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.05421, allocations: 379.3 kB / 372 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.0547, allocations: 163.7 kB / 372.1 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006168/0.06086, allocations: 7.331 MB / 379.4 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004821/0.06135, allocations: 47.95 kB / 379.5 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.06141, allocations: 32 kB / 379.5 MB, free: 0.7344 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 (rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off,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 (91): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006367/0.06204, allocations: 220.6 kB / 379.7 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.06223, allocations: 151.2 kB / 379.9 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.06398, allocations: 1.011 MB / 380.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.06399, allocations: 15.94 kB / 380.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.06399, allocations: 4 kB / 380.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.064, allocations: 3.984 kB / 380.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003644/0.06764, allocations: 2.332 MB / 383.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.06765, allocations: 0 / 383.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004726/0.06812, allocations: 135.8 kB / 383.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009312/0.06905, allocations: 370.8 kB / 383.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.017e-05/0.06911, allocations: 16 kB / 383.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005678/0.07479, allocations: 7.206 MB / 391 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.07479, allocations: 0 / 391 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.07674, allocations: 1.315 MB / 392.3 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.07705, allocations: 227.2 kB / 392.5 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.537e-05/0.07712, allocations: 24 kB / 392.5 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.0774, allocations: 55.89 kB / 392.6 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.07757, allocations: 100.8 kB / 392.7 MB, free: 3.047 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.07761, allocations: 28 kB / 392.7 MB, free: 3.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004149/0.07802, allocations: 494.9 kB / 393.2 MB, free: 2.543 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07802, allocations: 4 kB / 393.2 MB, free: 2.539 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007881/0.07881, allocations: 384 kB / 393.6 MB, free: 2.164 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 7 (massLoad.s,massLoad.v,integrator.y,heatCapacitor.T,smpm.clarkeParkConverter.idq[1],smpm.clarkeParkConverter.idq[2],smpm.clarkeParkConverter.i0) * Number of discrete variables: 7 (switch.control,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000156/0.07897, allocations: 147.1 kB / 393.7 MB, free: 2.012 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.08077, allocations: 1.43 MB / 395.1 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.08077, allocations: 0 / 395.1 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009683/0.08174, allocations: 1.132 MB / 396.3 MB, free: 15.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007744/0.08251, allocations: 335 kB / 396.6 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003858/0.08637, allocations: 3.02 MB / 399.6 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.08671, allocations: 437.7 kB / 400.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003435/0.08705, allocations: 165.3 kB / 400.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.08719, allocations: 76.48 kB / 400.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of SimCode: time 1.463e-06/0.08719, allocations: 0 / 400.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of Templates: time 0.1349/0.222, allocations: 24.2 MB / 424.5 MB, free: 76.75 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.300190607085824]