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.001004/0.001004, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.0009355/0.0009355, allocations: 165 kB / 24.22 MB, free: 240 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.9449/0.9449, allocations: 177.1 MB / 204.7 MB, free: 5.465 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.004777/0.004777, allocations: 1.195 MB / 262.3 MB, free: 11.75 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.973e-06/1.973e-06, allocations: 3.938 kB / 279.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.818e-05, allocations: 6.25 kB / 279.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBrakingRectifier): time 0.006423/0.006441, allocations: 6.769 MB / 286.1 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003682/0.01012, allocations: 2.242 MB / 288.3 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005126/0.01064, allocations: 51.62 kB / 288.4 MB, free: 1.668 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000809/0.01144, allocations: 424.9 kB / 288.8 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008929/0.01234, allocations: 0.5625 MB / 289.4 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.01267, allocations: 267.6 kB / 289.6 MB, free: 432 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1797/0.1924, allocations: 2.13 MB / 291.8 MB, free: 19.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.1936, allocations: 0.8016 MB / 292.6 MB, free: 19.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002107/0.1957, allocations: 1.407 MB / 294 MB, free: 19.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.1973, allocations: 0.9586 MB / 294.9 MB, free: 19.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000387/0.1977, allocations: 231.3 kB / 295.1 MB, free: 19.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004964/0.1982, allocations: 252.6 kB / 295.4 MB, free: 19.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005358/0.1987, allocations: 0.5944 MB / 296 MB, free: 19.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008215/0.1995, allocations: 0.7158 MB / 296.7 MB, free: 18.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002247/0.2018, allocations: 1.679 MB / 298.4 MB, free: 18.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2018, allocations: 1.375 kB / 298.4 MB, free: 18.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2018, allocations: 0.5 kB / 298.4 MB, free: 18.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.369e-05/0.2018, allocations: 3.062 kB / 298.4 MB, free: 18.18 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.003076/0.2049, allocations: 1.986 MB / 300.4 MB, free: 17.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.205, allocations: 8.953 kB / 300.4 MB, free: 17.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005861/0.2056, allocations: 267.9 kB / 300.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.2067, allocations: 0.7352 MB / 301.4 MB, free: 16.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.2068, allocations: 112 kB / 301.5 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.207, allocations: 151.7 kB / 301.6 MB, free: 16.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.2085, allocations: 1.243 MB / 302.9 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.476e-05/0.2086, allocations: 6.312 kB / 302.9 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.556e-05/0.2087, allocations: 60.81 kB / 302.9 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-05/0.2087, allocations: 73 kB / 303 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007554/0.2095, allocations: 416.6 kB / 303.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003785/0.2133, allocations: 3.799 MB / 307.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/0.214, allocations: 0.6736 MB / 307.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005748/0.2145, allocations: 0.5108 MB / 308.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.253e-05/0.2146, allocations: 21 kB / 308.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.2146, allocations: 43.56 kB / 308.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=105): time 2.615e-06/0.2146, allocations: 3.938 kB / 308.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=109): time 0.004457/0.2191, allocations: 2.667 MB / 311.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.2191, allocations: 64.41 kB / 311.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004148/0.2195, allocations: 0.6346 MB / 311.8 MB, free: 9.957 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/0.2196, allocations: 41.7 kB / 311.9 MB, free: 9.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.2198, allocations: 0.5485 MB / 312.4 MB, free: 9.387 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.2199, allocations: 378.9 kB / 312.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.2201, allocations: 177.6 kB / 313 MB, free: 8.879 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.2201, allocations: 357.9 kB / 313.3 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.2203, allocations: 125.4 kB / 313.4 MB, free: 8.426 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.2205, allocations: 270.5 kB / 313.7 MB, free: 8.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.2209, allocations: 0.4892 MB / 314.2 MB, free: 7.633 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2209, allocations: 4 kB / 314.2 MB, free: 7.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0008719/0.2218, allocations: 0.7084 MB / 314.9 MB, free: 6.934 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.2218, allocations: 8 kB / 314.9 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2218, allocations: 4 kB / 314.9 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006729/0.2225, allocations: 335.1 kB / 315.2 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.2229, allocations: 182.9 kB / 315.4 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/0.2261, allocations: 5.231 MB / 320.7 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.2263, allocations: 24 kB / 320.7 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.2264, allocations: 32 kB / 320.7 MB, free: 0.9688 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.0002587/0.2266, allocations: 179 kB / 320.9 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.2267, allocations: 103.9 kB / 321 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.2278, allocations: 0.7594 MB / 321.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.2278, allocations: 12 kB / 321.8 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2279, allocations: 4 kB / 321.8 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.2279, allocations: 7.969 kB / 321.8 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.23, allocations: 1.621 MB / 323.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.23, allocations: 0 / 323.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.2304, allocations: 167.5 kB / 323.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006541/0.2311, allocations: 355.9 kB / 323.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/0.2311, allocations: 23.98 kB / 323.9 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003756/0.2349, allocations: 5.124 MB / 329 MB, free: 8.547 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2349, allocations: 3.938 kB / 329 MB, free: 8.543 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.236, allocations: 0.9665 MB / 330 MB, free: 7.574 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.2362, allocations: 143.2 kB / 330.2 MB, free: 7.434 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.146e-05/0.2363, allocations: 19.94 kB / 330.2 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.2365, allocations: 43.98 kB / 330.2 MB, free: 7.371 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.2366, allocations: 96.19 kB / 330.3 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.2367, allocations: 16 kB / 330.3 MB, free: 7.266 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002348/0.2369, allocations: 318.8 kB / 330.6 MB, free: 6.992 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2369, allocations: 0 / 330.6 MB, free: 6.992 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000682/0.2376, allocations: 384 kB / 331 MB, free: 6.617 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.0001303/0.2377, allocations: 123 kB / 331.1 MB, free: 6.492 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.2388, allocations: 1.079 MB / 332.2 MB, free: 5.406 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.2388, allocations: 8 kB / 332.2 MB, free: 5.398 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007478/0.2396, allocations: 0.8727 MB / 333.1 MB, free: 4.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006965/0.2403, allocations: 332.8 kB / 333.4 MB, free: 4.211 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/0.2447, allocations: 2.881 MB / 336.3 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.2451, allocations: 373.8 kB / 336.7 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000329/0.2454, allocations: 117.4 kB / 336.8 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/0.2459, allocations: 331.1 kB / 337.1 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2459, allocations: 3 kB / 337.1 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of Templates: time 0.02903/0.2749, allocations: 24.8 MB / 361.9 MB, free: 8.133 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: 6.107812637463212]