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.0009257/0.0009257, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.0009967/0.0009967, allocations: 169 kB / 24.06 MB, free: 456 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.9822/0.9822, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.005339/0.005339, allocations: 1.194 MB / 262.2 MB, free: 11.72 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.313e-06/1.313e-06, allocations: 0 / 332.4 MB, free: 18.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.91e-05, allocations: 2.312 kB / 332.4 MB, free: 18.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBrakingRectifier): time 0.005261/0.00528, allocations: 6.722 MB / 339.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002946/0.008226, allocations: 2.149 MB / 341.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004898/0.008716, allocations: 51.62 kB / 341.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006646/0.00938, allocations: 405.4 kB / 341.7 MB, free: 8.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008196/0.0102, allocations: 0.5586 MB / 342.2 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.01052, allocations: 267.6 kB / 342.5 MB, free: 7.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.01159, allocations: 2.139 MB / 344.6 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006021/0.01219, allocations: 0.7809 MB / 345.4 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.01334, allocations: 1.427 MB / 346.8 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006912/0.01403, allocations: 0.9587 MB / 347.8 MB, free: 2.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.0142, allocations: 232 kB / 348 MB, free: 2.219 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.01445, allocations: 244 kB / 348.3 MB, free: 1.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.01471, allocations: 0.6037 MB / 348.9 MB, free: 1.375 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004074/0.01512, allocations: 0.7172 MB / 349.6 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.01653, allocations: 1.678 MB / 351.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.01654, allocations: 0 / 351.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01654, allocations: 0 / 351.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.113e-05/0.01656, allocations: 0 / 351.3 MB, free: 14.97 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.002444/0.019, allocations: 2.211 MB / 353.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.01904, allocations: 8.031 kB / 353.5 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003721/0.01941, allocations: 327.7 kB / 353.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000939/0.02035, allocations: 0.9913 MB / 354.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.455e-05/0.02041, allocations: 107.3 kB / 354.9 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.02055, allocations: 148.4 kB / 355.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.02174, allocations: 1.237 MB / 356.3 MB, free: 9.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.02177, allocations: 7.891 kB / 356.3 MB, free: 9.762 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.591e-05/0.02186, allocations: 64 kB / 356.4 MB, free: 9.699 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.869e-05/0.02193, allocations: 74.86 kB / 356.4 MB, free: 9.625 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006366/0.02256, allocations: 479.9 kB / 356.9 MB, free: 9.145 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00469/0.02725, allocations: 4.961 MB / 361.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007886/0.02804, allocations: 0.7582 MB / 362.6 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006779/0.02872, allocations: 0.5477 MB / 363.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/0.02877, allocations: 17 kB / 363.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.0288, allocations: 46.39 kB / 363.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of pre-optimization done (n=105): time 3.306e-06/0.0288, allocations: 0 / 363.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=109): time 0.00521/0.03401, allocations: 2.849 MB / 366.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.03405, allocations: 64.41 kB / 366.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006627/0.03472, allocations: 0.7684 MB / 366.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.03477, allocations: 45.7 kB / 367 MB, free: 14.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006462/0.03542, allocations: 0.7337 MB / 367.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.03563, allocations: 396.6 kB / 368.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.03583, allocations: 196.5 kB / 368.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.03597, allocations: 0.5315 MB / 368.8 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.03615, allocations: 130.5 kB / 368.9 MB, free: 12.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.03643, allocations: 345.1 kB / 369.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/0.03695, allocations: 0.538 MB / 369.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.03695, allocations: 4 kB / 369.8 MB, free: 11.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001043/0.03799, allocations: 0.8672 MB / 370.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.03801, allocations: 7.984 kB / 370.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.03802, allocations: 4 kB / 370.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00074/0.03876, allocations: 347.1 kB / 371 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.03912, allocations: 163.8 kB / 371.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004621/0.04374, allocations: 7.043 MB / 378.2 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.0441, allocations: 24 kB / 378.2 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.04415, allocations: 31.98 kB / 378.3 MB, free: 2.961 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 (integrator.local_reset,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) * 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.0003852/0.04453, allocations: 220.5 kB / 378.5 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.04468, allocations: 143.3 kB / 378.6 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.04583, allocations: 0.8858 MB / 379.5 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.04584, allocations: 16 kB / 379.5 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.04585, allocations: 4 kB / 379.5 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.04586, allocations: 7.969 kB / 379.5 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/0.04893, allocations: 1.946 MB / 381.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.04894, allocations: 0 / 381.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.04929, allocations: 135.8 kB / 381.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006787/0.04997, allocations: 338.8 kB / 382 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.05001, allocations: 24 kB / 382 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004606/0.05462, allocations: 6.946 MB / 388.9 MB, free: 7.859 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.05462, allocations: 3.938 kB / 388.9 MB, free: 7.855 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.05597, allocations: 1.159 MB / 390.1 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002961/0.05626, allocations: 211.1 kB / 390.3 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.062e-05/0.05634, allocations: 24 kB / 390.3 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.05661, allocations: 39.97 kB / 390.4 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.05676, allocations: 96.77 kB / 390.5 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.0568, allocations: 20 kB / 390.5 MB, free: 6.273 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003246/0.05712, allocations: 462.7 kB / 390.9 MB, free: 5.828 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.05712, allocations: 0 / 390.9 MB, free: 5.828 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000886/0.05801, allocations: 392 kB / 391.3 MB, free: 5.445 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.0001636/0.05817, allocations: 139.1 kB / 391.4 MB, free: 5.301 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.05946, allocations: 1.304 MB / 392.7 MB, free: 3.938 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.05947, allocations: 4 kB / 392.8 MB, free: 3.934 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008583/0.06033, allocations: 1.07 MB / 393.8 MB, free: 2.805 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007802/0.06111, allocations: 338.9 kB / 394.2 MB, free: 2.473 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/0.06511, allocations: 2.999 MB / 397.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.06545, allocations: 437.7 kB / 397.6 MB, free: 14.97 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000313/0.06577, allocations: 113.4 kB / 397.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005018/0.06627, allocations: 374 kB / 398.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.06627, allocations: 0 / 398.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of Templates: time 0.1344/0.2006, allocations: 25.06 MB / 423.1 MB, free: 76.04 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 sys.exit(0), Time elapsed: 6.969615960959345]