Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Rotational.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.0009661/0.0009661, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.0009657/0.0009657, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.9391/0.9391, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.004892/0.004892, allocations: 1.189 MB / 261.1 MB, free: 12.11 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.Rotational.SMPMBrakingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier") translateModel(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 383.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.314e-05, allocations: 10.22 kB / 383.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier): time 0.007938/0.007961, allocations: 5.853 MB / 389.4 MB, free: 8.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.01021, allocations: 2.024 MB / 391.4 MB, free: 6.039 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003441/0.01055, allocations: 43.69 kB / 391.4 MB, free: 5.996 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000678/0.01123, allocations: 389.2 kB / 391.8 MB, free: 5.613 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007734/0.01201, allocations: 0.5392 MB / 392.4 MB, free: 5.07 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.01227, allocations: 255.6 kB / 392.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.01351, allocations: 2.061 MB / 394.7 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000652/0.01416, allocations: 0.7529 MB / 395.4 MB, free: 1.949 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009477/0.0151, allocations: 1.271 MB / 396.7 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007613/0.01587, allocations: 0.9079 MB / 397.6 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.01606, allocations: 232 kB / 397.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.01633, allocations: 247.9 kB / 398.1 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003366/0.01667, allocations: 0.592 MB / 398.7 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004833/0.01715, allocations: 0.6938 MB / 399.4 MB, free: 14.01 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.01875, allocations: 2.84 MB / 402.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01876, allocations: 0 / 402.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01876, allocations: 0 / 402.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.01877, allocations: 0 / 402.2 MB, free: 11.16 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002142/0.02092, allocations: 2.075 MB / 404.3 MB, free: 9.043 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.02094, allocations: 8.031 kB / 404.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.02121, allocations: 203.8 kB / 404.5 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.02231, allocations: 1.093 MB / 405.6 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-05/0.02237, allocations: 103.2 kB / 405.7 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.02252, allocations: 140.3 kB / 405.8 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.0245, allocations: 2.143 MB / 408 MB, free: 5.238 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.02453, allocations: 4 kB / 408 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.854e-05/0.02462, allocations: 56 kB / 408 MB, free: 5.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-05/0.02467, allocations: 74.8 kB / 408.1 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.02643, allocations: 1.732 MB / 409.8 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.13/0.1565, allocations: 5.416 MB / 415.2 MB, free: 36.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.1579, allocations: 1.348 MB / 416.6 MB, free: 35.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.159, allocations: 0.9739 MB / 417.6 MB, free: 35.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.365e-05/0.159, allocations: 13.03 kB / 417.6 MB, free: 35.4 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.1591, allocations: 44.39 kB / 417.6 MB, free: 35.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=103): time 2.866e-06/0.1591, allocations: 1.156 kB / 417.6 MB, free: 35.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=105): time 0.006728/0.1658, allocations: 5.057 MB / 422.7 MB, free: 33.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.1658, allocations: 63.36 kB / 422.7 MB, free: 33.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008217/0.1667, allocations: 0.8568 MB / 423.6 MB, free: 33.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.1667, allocations: 45.98 kB / 423.6 MB, free: 33.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.1669, allocations: 0.6258 MB / 424.3 MB, free: 32.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.1671, allocations: 368.2 kB / 424.6 MB, free: 32.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.1672, allocations: 177 kB / 424.8 MB, free: 32.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.872e-05/0.1673, allocations: 348.1 kB / 425.1 MB, free: 32.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005433/0.1678, allocations: 0.535 MB / 425.7 MB, free: 31.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/0.1684, allocations: 0.67 MB / 426.3 MB, free: 31.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.1695, allocations: 1.237 MB / 427.6 MB, free: 31.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1695, allocations: 1.438 kB / 427.6 MB, free: 31.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001703/0.1712, allocations: 1.831 MB / 429.4 MB, free: 30.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1713, allocations: 10.94 kB / 429.4 MB, free: 30.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1713, allocations: 4.859 kB / 429.4 MB, free: 30.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009302/0.1722, allocations: 0.6858 MB / 430.1 MB, free: 30.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.1725, allocations: 158.2 kB / 430.3 MB, free: 30.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004481/0.177, allocations: 8.072 MB / 438.3 MB, free: 23.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.1773, allocations: 51.69 kB / 438.4 MB, free: 23.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.1773, allocations: 31.44 kB / 438.4 MB, free: 23.68 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (87): * Single equations (assignments): 83 * 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 {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0004351/0.1778, allocations: 0.5301 MB / 439 MB, free: 23.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-05/0.1779, allocations: 114.1 kB / 439.1 MB, free: 23.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.1795, allocations: 1.909 MB / 441 MB, free: 21.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1795, allocations: 12 kB / 441 MB, free: 21.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1795, allocations: 0 / 441 MB, free: 21.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1795, allocations: 3.984 kB / 441 MB, free: 21.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.1824, allocations: 3.309 MB / 444.3 MB, free: 18.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1824, allocations: 0 / 444.3 MB, free: 18.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.1827, allocations: 135.8 kB / 444.4 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007559/0.1834, allocations: 0.6616 MB / 445.1 MB, free: 17.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.259e-05/0.1835, allocations: 16 kB / 445.1 MB, free: 17.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004112/0.1876, allocations: 8.001 MB / 453.1 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1876, allocations: 4 kB / 453.1 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.1896, allocations: 2.665 MB / 455.8 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002813/0.1898, allocations: 247.7 kB / 456 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.65e-05/0.1899, allocations: 16 kB / 456 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.1902, allocations: 67.88 kB / 456.1 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.1903, allocations: 88.83 kB / 456.2 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.1904, allocations: 31.98 kB / 456.2 MB, free: 5.922 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003888/0.1908, allocations: 0.6044 MB / 456.8 MB, free: 5.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1908, allocations: 0 / 456.8 MB, free: 5.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006077/0.1914, allocations: 376 kB / 457.2 MB, free: 4.953 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (inertiaLoad.w,integrator.y,heatCapacitor.T,smpm.inertiaRotor.phi,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 (70): * Single equations (assignments): 66 * 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 {(2,1,100.0%), (1,1,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.0001167/0.1915, allocations: 137.4 kB / 457.3 MB, free: 4.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.193, allocations: 1.913 MB / 459.2 MB, free: 2.855 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.193, allocations: 0 / 459.2 MB, free: 2.855 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00091/0.1939, allocations: 1.309 MB / 460.5 MB, free: 1.516 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007186/0.1946, allocations: 321.1 kB / 460.9 MB, free: 1.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.1979, allocations: 3.434 MB / 464.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/0.1986, allocations: 0.8723 MB / 465.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.1988, allocations: 76.48 kB / 465.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1988, allocations: 3.938 kB / 465.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of Templates: time 0.03226/0.2311, allocations: 48.98 MB / 0.5022 GB, free: 11.83 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.sim & ./ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier > ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.608193516731262]