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.0005944/0.0005944, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009502/0.001545, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000657/0.000657, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009694/0.001626, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.035/1.035, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08757/1.122, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.004649/0.004649, allocations: 1.181 MB / 245.3 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001595/0.006244, allocations: 0.8307 MB / 246.2 MB, free: 12.77 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.222e-06/1.222e-06, allocations: 0 / 247.5 MB, free: 11.47 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.737e-05, allocations: 2.312 kB / 247.5 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBrakingRectifier): time 0.00553/0.005547, allocations: 6.816 MB / 254.3 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.007755, allocations: 2.242 MB / 256.5 MB, free: 2.371 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003241/0.008079, allocations: 55.62 kB / 256.6 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005911/0.00867, allocations: 416.9 kB / 257 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007208/0.009391, allocations: 0.5508 MB / 257.5 MB, free: 1.352 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005028/0.009894, allocations: 271.5 kB / 257.8 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.01122, allocations: 2.139 MB / 259.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006679/0.01189, allocations: 0.8121 MB / 260.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.01322, allocations: 1.512 MB / 262.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.01423, allocations: 0.9587 MB / 263.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003062/0.01453, allocations: 232 kB / 263.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.01486, allocations: 252 kB / 263.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002946/0.01516, allocations: 482.7 kB / 264.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004688/0.01563, allocations: 0.5966 MB / 264.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.01714, allocations: 1.573 MB / 266.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.01715, allocations: 0 / 266.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01715, allocations: 0 / 266.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.342e-05/0.01718, allocations: 0 / 266.3 MB, free: 8.465 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.002276/0.01946, allocations: 2.355 MB / 268.7 MB, free: 6.074 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.01949, allocations: 15.98 kB / 268.7 MB, free: 6.059 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003837/0.01987, allocations: 341.8 kB / 269 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008735/0.02074, allocations: 0.7386 MB / 269.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.167e-05/0.02081, allocations: 107.3 kB / 269.9 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.02096, allocations: 148.3 kB / 270 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.02214, allocations: 1.252 MB / 271.3 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.02217, allocations: 3.984 kB / 271.3 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.763e-05/0.02226, allocations: 60 kB / 271.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.078e-05/0.02232, allocations: 70.94 kB / 271.4 MB, free: 3.207 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005974/0.02291, allocations: 416 kB / 271.8 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1225/0.1454, allocations: 3.819 MB / 275.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009237/0.1463, allocations: 0.6743 MB / 276.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007825/0.1471, allocations: 0.5041 MB / 276.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.873e-05/0.1472, allocations: 18.19 kB / 276.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.1472, allocations: 48.55 kB / 276.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=105): time 2.765e-06/0.1472, allocations: 0.7812 kB / 276.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=109): time 0.005967/0.1532, allocations: 2.731 MB / 279.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.1532, allocations: 69.31 kB / 279.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005503/0.1537, allocations: 0.6263 MB / 280.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.1538, allocations: 43.14 kB / 280.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.154, allocations: 0.5486 MB / 280.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.1542, allocations: 385.9 kB / 281.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.1544, allocations: 179.3 kB / 281.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.611e-05/0.1544, allocations: 352.9 kB / 281.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.1546, allocations: 127.4 kB / 281.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.1549, allocations: 263.4 kB / 282.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005686/0.1555, allocations: 0.5108 MB / 282.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.1555, allocations: 1.438 kB / 282.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0009534/0.1564, allocations: 0.7045 MB / 283.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1564, allocations: 6.453 kB / 283.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1564, allocations: 3.594 kB / 283.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007394/0.1572, allocations: 337.6 kB / 283.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.1576, allocations: 202.7 kB / 283.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003108/0.1607, allocations: 5.208 MB / 289.1 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.161, allocations: 27.38 kB / 289.2 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.1611, allocations: 30.8 kB / 289.2 MB, free: 7.09 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.0002537/0.1613, allocations: 173.6 kB / 289.4 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.1614, allocations: 103.5 kB / 289.5 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009047/0.1623, allocations: 0.7635 MB / 290.2 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.1623, allocations: 17.72 kB / 290.2 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1623, allocations: 6.312 kB / 290.2 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.1624, allocations: 7.734 kB / 290.3 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.1641, allocations: 1.618 MB / 291.9 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1641, allocations: 4.031 kB / 291.9 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.1645, allocations: 175.3 kB / 292 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.1647, allocations: 144.8 kB / 292.2 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006073/0.1653, allocations: 348.1 kB / 292.5 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/0.1654, allocations: 24.28 kB / 292.5 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002509/0.1679, allocations: 5.135 MB / 297.7 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1679, allocations: 0 / 297.7 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009016/0.1688, allocations: 0.9721 MB / 298.7 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.515e-05/0.1689, allocations: 23.58 kB / 298.7 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.1691, allocations: 42 kB / 298.7 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.1692, allocations: 86.39 kB / 298.8 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.1692, allocations: 21.73 kB / 298.8 MB, free: 2.422 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001808/0.1694, allocations: 317.3 kB / 299.1 MB, free: 2.398 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1694, allocations: 0 / 299.1 MB, free: 2.398 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006399/0.1701, allocations: 385.9 kB / 299.5 MB, free: 2.398 MB / 266.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.0001273/0.1702, allocations: 118.8 kB / 299.6 MB, free: 2.324 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009867/0.1712, allocations: 1.102 MB / 300.7 MB, free: 1.781 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/0.1712, allocations: 22.12 kB / 300.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000643/0.1718, allocations: 0.9121 MB / 301.7 MB, free: 1.152 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.1733, allocations: 3.494 MB / 305.2 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.1846, allocations: 3.057 MB / 308.2 MB, free: 9.914 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.1849, allocations: 391.2 kB / 308.6 MB, free: 9.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002895/0.1852, allocations: 117.5 kB / 308.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000529/0.1857, allocations: 329.1 kB / 309 MB, free: 9.059 MB / 282.7 MB Notification: Performance of SimCode: time 1.343e-06/0.1857, allocations: 0 / 309 MB, free: 9.059 MB / 282.7 MB Notification: Performance of Templates: time 0.02771/0.2134, allocations: 26.11 MB / 335.1 MB, free: 15.38 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.27106991969049]