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.001367/0.001367, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001693/0.001693, allocations: 177 kB / 23.36 MB, free: 1.129 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.9412/0.9412, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.00817/0.00817, allocations: 1.197 MB / 261.5 MB, free: 11.79 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.473e-06/1.473e-06, allocations: 0 / 278.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.096e-05, allocations: 2.312 kB / 278.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBrakingRectifier): time 0.005606/0.005627, allocations: 6.726 MB / 285.1 MB, free: 4.156 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003469/0.009095, allocations: 2.242 MB / 287.3 MB, free: 1.906 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005594/0.009655, allocations: 47.62 kB / 287.3 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007929/0.01045, allocations: 405.1 kB / 287.7 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.01147, allocations: 0.5664 MB / 288.3 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.01185, allocations: 267.5 kB / 288.6 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1037/0.1155, allocations: 2.133 MB / 290.7 MB, free: 19.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009595/0.1165, allocations: 0.8009 MB / 291.5 MB, free: 19.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.1184, allocations: 1.412 MB / 292.9 MB, free: 19.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.1197, allocations: 0.956 MB / 293.9 MB, free: 19.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000416/0.1201, allocations: 229.8 kB / 294.1 MB, free: 19.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004198/0.1205, allocations: 252.5 kB / 294.3 MB, free: 19.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004162/0.1209, allocations: 0.5973 MB / 294.9 MB, free: 19.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009297/0.1219, allocations: 0.7127 MB / 295.6 MB, free: 18.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.1236, allocations: 1.679 MB / 297.3 MB, free: 18.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1236, allocations: 1.781 kB / 297.3 MB, free: 18.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1236, allocations: 1.312 kB / 297.3 MB, free: 18.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.345e-05/0.1237, allocations: 0 / 297.3 MB, free: 18.26 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.002787/0.1264, allocations: 1.991 MB / 299.3 MB, free: 17.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1265, allocations: 8.25 kB / 299.3 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000444/0.1269, allocations: 261.8 kB / 299.6 MB, free: 17.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009941/0.1279, allocations: 0.7384 MB / 300.3 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.507e-05/0.128, allocations: 113.5 kB / 300.4 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.1281, allocations: 149 kB / 300.6 MB, free: 16.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.1294, allocations: 1.239 MB / 301.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.1294, allocations: 1.281 kB / 301.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.9e-05/0.1295, allocations: 68.38 kB / 301.9 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.187e-05/0.1296, allocations: 74.17 kB / 302 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006419/0.1302, allocations: 419.6 kB / 302.4 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003669/0.1339, allocations: 3.799 MB / 306.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006361/0.1345, allocations: 0.6735 MB / 306.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/0.1351, allocations: 0.5145 MB / 307.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-05/0.1351, allocations: 17 kB / 307.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.1351, allocations: 43.56 kB / 307.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=105): time 3.036e-06/0.1352, allocations: 0 / 307.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=109): time 0.004249/0.1394, allocations: 2.662 MB / 310.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.1394, allocations: 72.41 kB / 310.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004152/0.1398, allocations: 0.6276 MB / 310.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.1399, allocations: 45.7 kB / 310.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.14, allocations: 0.5497 MB / 311.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.1401, allocations: 379.2 kB / 311.7 MB, free: 9.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.1403, allocations: 177.8 kB / 311.9 MB, free: 9.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.063e-05/0.1403, allocations: 353 kB / 312.3 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.1405, allocations: 125.4 kB / 312.4 MB, free: 8.637 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.1407, allocations: 269.8 kB / 312.6 MB, free: 8.352 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.1411, allocations: 0.4958 MB / 313.1 MB, free: 7.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1411, allocations: 4 kB / 313.1 MB, free: 7.836 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0007548/0.1418, allocations: 0.6998 MB / 313.8 MB, free: 7.148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1418, allocations: 10.03 kB / 313.9 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1418, allocations: 4 kB / 313.9 MB, free: 7.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006351/0.1425, allocations: 339.1 kB / 314.2 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.1428, allocations: 155.3 kB / 314.3 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/0.1454, allocations: 5.217 MB / 319.6 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.1458, allocations: 27.98 kB / 319.6 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.1458, allocations: 28 kB / 319.6 MB, free: 1.215 MB / 266.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.0003603/0.1462, allocations: 179.5 kB / 319.8 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.1463, allocations: 99.89 kB / 319.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008126/0.1471, allocations: 0.7665 MB / 320.7 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1471, allocations: 12 kB / 320.7 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1471, allocations: 0 / 320.7 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.1471, allocations: 7.984 kB / 320.7 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.1492, allocations: 1.618 MB / 322.3 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1492, allocations: 4.188 kB / 322.3 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.1496, allocations: 131.4 kB / 322.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000648/0.1502, allocations: 357 kB / 322.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.091e-05/0.1503, allocations: 23.98 kB / 322.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003193/0.1535, allocations: 5.113 MB / 327.9 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1535, allocations: 3.281 kB / 327.9 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.1546, allocations: 0.9666 MB / 328.9 MB, free: 7.859 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.1549, allocations: 143.2 kB / 329 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/0.155, allocations: 28 kB / 329 MB, free: 7.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.1552, allocations: 31.98 kB / 329.1 MB, free: 7.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.1554, allocations: 96.75 kB / 329.2 MB, free: 7.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.1554, allocations: 20 kB / 329.2 MB, free: 7.547 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002676/0.1557, allocations: 318.4 kB / 329.5 MB, free: 7.273 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1557, allocations: 0 / 329.5 MB, free: 7.273 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009097/0.1566, allocations: 384 kB / 329.9 MB, free: 6.898 MB / 282.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.0001499/0.1567, allocations: 115.4 kB / 330 MB, free: 6.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.158, allocations: 1.094 MB / 331.1 MB, free: 5.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.158, allocations: 12 kB / 331.1 MB, free: 5.668 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007513/0.1588, allocations: 0.8649 MB / 332 MB, free: 4.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007421/0.1595, allocations: 327.7 kB / 332.3 MB, free: 4.496 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.1633, allocations: 2.892 MB / 335.2 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1637, allocations: 381.8 kB / 335.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003485/0.164, allocations: 113.4 kB / 335.7 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004814/0.1645, allocations: 321 kB / 336 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of SimCode: time 1.193e-06/0.1645, allocations: 3.281 kB / 336 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of Templates: time 0.02855/0.193, allocations: 24.59 MB / 360.6 MB, free: 8.605 MB / 314.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: 5.509280471131206]