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.001143/0.001143, allocations: 89.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009499/0.0009499, allocations: 177.3 kB / 23.02 MB, free: 1.543 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.9357/0.9357, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.004969/0.004969, allocations: 1.197 MB / 261.1 MB, free: 11.91 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.433e-06/1.433e-06, allocations: 0 / 331.1 MB, free: 18.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.14e-05, allocations: 2.312 kB / 331.1 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier): time 0.004737/0.004758, allocations: 6.465 MB / 337.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.006994, allocations: 2.095 MB / 339.7 MB, free: 9.688 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003418/0.007335, allocations: 47.69 kB / 339.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006687/0.008004, allocations: 389.2 kB / 340.1 MB, free: 9.258 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007614/0.008766, allocations: 0.5392 MB / 340.7 MB, free: 8.715 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.009032, allocations: 255.6 kB / 340.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009404/0.009972, allocations: 2.066 MB / 343 MB, free: 6.391 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005649/0.01054, allocations: 0.7645 MB / 343.7 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008767/0.01141, allocations: 1.372 MB / 345.1 MB, free: 4.195 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006175/0.01203, allocations: 0.9275 MB / 346 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.01219, allocations: 224 kB / 346.3 MB, free: 3.047 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.01246, allocations: 244 kB / 346.5 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002865/0.01274, allocations: 0.5881 MB / 347.1 MB, free: 2.219 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000421/0.01317, allocations: 0.6899 MB / 347.8 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.01419, allocations: 1.632 MB / 349.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.0142, allocations: 0 / 349.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.0142, allocations: 0 / 349.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.01421, allocations: 4 kB / 349.4 MB, free: 15.88 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002325/0.01654, allocations: 2.211 MB / 351.6 MB, free: 13.62 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.01658, allocations: 12.03 kB / 351.6 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/0.01694, allocations: 315.8 kB / 351.9 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.01795, allocations: 1.011 MB / 353 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-05/0.01801, allocations: 107.1 kB / 353.1 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.01816, allocations: 148.3 kB / 353.2 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.0197, allocations: 1.301 MB / 354.5 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.01973, allocations: 0 / 354.5 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.508e-05/0.01982, allocations: 56 kB / 354.6 MB, free: 10.56 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.696e-05/0.01988, allocations: 74.8 kB / 354.6 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009616/0.02085, allocations: 0.5745 MB / 355.2 MB, free: 9.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004884/0.02573, allocations: 5.222 MB / 360.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009354/0.02667, allocations: 0.8121 MB / 361.2 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008065/0.02747, allocations: 0.5907 MB / 361.8 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.949e-05/0.02752, allocations: 17 kB / 361.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.02755, allocations: 54.33 kB / 361.9 MB, free: 3.062 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 2.365e-06/0.02755, allocations: 4 kB / 361.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=99): time 0.004053/0.03161, allocations: 2.221 MB / 364.1 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.03164, allocations: 64.41 kB / 364.2 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008719/0.03251, allocations: 0.7729 MB / 365 MB, free: 15.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.03256, allocations: 41.7 kB / 365 MB, free: 15.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.03287, allocations: 0.7064 MB / 365.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.03306, allocations: 353 kB / 366.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.03324, allocations: 176.3 kB / 366.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.03337, allocations: 0.5277 MB / 366.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.03364, allocations: 161.9 kB / 366.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.03399, allocations: 354.7 kB / 367.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006473/0.03464, allocations: 0.5582 MB / 367.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.03464, allocations: 0 / 367.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001227/0.03587, allocations: 0.9218 MB / 368.7 MB, free: 12.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.03589, allocations: 8 kB / 368.8 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.0359, allocations: 4 kB / 368.8 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007726/0.03667, allocations: 367.3 kB / 369.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.03699, allocations: 147.8 kB / 369.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004568/0.04156, allocations: 7.218 MB / 376.5 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.04186, allocations: 95.41 kB / 376.6 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.0419, allocations: 32 kB / 376.6 MB, free: 3.758 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (82): * Single equations (assignments): 78 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0002574/0.04216, allocations: 208.4 kB / 376.8 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.0423, allocations: 147.2 kB / 376.9 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.04353, allocations: 0.9557 MB / 377.9 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.04354, allocations: 12 kB / 377.9 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.04354, allocations: 0 / 377.9 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.04355, allocations: 7.922 kB / 377.9 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/0.04642, allocations: 2.238 MB / 380.2 MB, free: 100 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.04642, allocations: 0 / 380.2 MB, free: 100 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.04675, allocations: 127.8 kB / 380.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006463/0.0474, allocations: 346.9 kB / 380.6 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.04744, allocations: 19.98 kB / 380.6 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005397/0.05284, allocations: 7.135 MB / 387.8 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.05284, allocations: 0 / 387.8 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.05472, allocations: 1.244 MB / 389 MB, free: 6.812 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/0.05507, allocations: 238.9 kB / 389.3 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.05518, allocations: 20 kB / 389.3 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.05553, allocations: 51.95 kB / 389.3 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.05573, allocations: 100.8 kB / 389.4 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.05578, allocations: 24 kB / 389.4 MB, free: 6.387 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004952/0.05628, allocations: 482.9 kB / 389.9 MB, free: 5.918 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05628, allocations: 0 / 389.9 MB, free: 5.918 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009811/0.05726, allocations: 470.9 kB / 390.4 MB, free: 5.457 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (inertiaLoad.w,integrator.y,heatCapacitor.T,smpm.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 (64): * Single equations (assignments): 60 * 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,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.0001572/0.05742, allocations: 136.8 kB / 390.5 MB, free: 5.316 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00173/0.05915, allocations: 1.362 MB / 391.9 MB, free: 3.895 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.05915, allocations: 448 / 391.9 MB, free: 3.895 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.06028, allocations: 1.105 MB / 393 MB, free: 2.727 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.06152, allocations: 333.4 kB / 393.3 MB, free: 2.406 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/0.06555, allocations: 2.895 MB / 396.2 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.0659, allocations: 433.5 kB / 396.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003341/0.06623, allocations: 152.8 kB / 396.8 MB, free: 14.87 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.06639, allocations: 68.48 kB / 396.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of SimCode: time 7.11e-07/0.06639, allocations: 0 / 396.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of Templates: time 0.1322/0.1986, allocations: 23.63 MB / 420.5 MB, free: 76.64 MB / 330.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.1170249646529555]