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.002256/0.002256, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 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.002568/0.002568, allocations: 169.9 kB / 22.45 MB, free: 2.102 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 1.658/1.658, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 178] 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.009484/0.009484, allocations: 1.186 MB / 260.4 MB, free: 12.09 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.913e-06/1.913e-06, allocations: 0 / 383.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.238e-05/3.429e-05, allocations: 2.281 kB / 383.5 MB, free: 13.13 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier): time 0.009284/0.009318, allocations: 5.861 MB / 389.4 MB, free: 7.238 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004772/0.01409, allocations: 2.02 MB / 391.4 MB, free: 5.211 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000756/0.01485, allocations: 47.69 kB / 391.5 MB, free: 5.164 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.01601, allocations: 385.2 kB / 391.8 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.01761, allocations: 0.5315 MB / 392.4 MB, free: 4.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/0.01823, allocations: 255.6 kB / 392.6 MB, free: 4 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002836/0.02107, allocations: 2.057 MB / 394.7 MB, free: 1.934 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.02238, allocations: 0.7489 MB / 395.4 MB, free: 1.137 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.02477, allocations: 1.286 MB / 396.7 MB, free: 15.85 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/0.02683, allocations: 0.908 MB / 397.6 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004173/0.02725, allocations: 224 kB / 397.8 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005711/0.02782, allocations: 247.9 kB / 398.1 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006821/0.0285, allocations: 0.5882 MB / 398.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.02964, allocations: 0.7016 MB / 399.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003984/0.03362, allocations: 2.828 MB / 402.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.03363, allocations: 0 / 402.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.03363, allocations: 4 kB / 402.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.069e-05/0.03372, allocations: 0 / 402.2 MB, free: 10.34 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.005109/0.03883, allocations: 2.079 MB / 404.3 MB, free: 8.223 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.03888, allocations: 8.031 kB / 404.3 MB, free: 8.215 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005539/0.03943, allocations: 211.7 kB / 404.5 MB, free: 8.008 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.0417, allocations: 1.085 MB / 405.6 MB, free: 6.887 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.04182, allocations: 111.1 kB / 405.7 MB, free: 6.777 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002711/0.04209, allocations: 144.3 kB / 405.8 MB, free: 6.637 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004141/0.04623, allocations: 2.14 MB / 408 MB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.274e-05/0.04628, allocations: 0 / 408 MB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.04643, allocations: 63.98 kB / 408 MB, free: 4.348 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.04653, allocations: 66.81 kB / 408.1 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003282/0.04982, allocations: 1.732 MB / 409.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1822/0.232, allocations: 5.413 MB / 415.2 MB, free: 36.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002595/0.2346, allocations: 1.346 MB / 416.6 MB, free: 35.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002328/0.2369, allocations: 0.9764 MB / 417.6 MB, free: 35.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.67e-05/0.237, allocations: 12.45 kB / 417.6 MB, free: 35.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.237, allocations: 45.27 kB / 417.6 MB, free: 35.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=103): time 4.258e-06/0.237, allocations: 2.25 kB / 417.6 MB, free: 35.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=105): time 0.01554/0.2526, allocations: 5.055 MB / 422.7 MB, free: 33.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.2526, allocations: 67.2 kB / 422.7 MB, free: 33.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.2541, allocations: 0.8583 MB / 423.6 MB, free: 33.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.048e-05/0.2542, allocations: 45.86 kB / 423.7 MB, free: 33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004199/0.2546, allocations: 0.6269 MB / 424.3 MB, free: 32.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003024/0.2549, allocations: 369.9 kB / 424.6 MB, free: 32.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003806/0.2553, allocations: 175.8 kB / 424.8 MB, free: 32.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.317e-05/0.2554, allocations: 346 kB / 425.1 MB, free: 31.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.2565, allocations: 0.5343 MB / 425.7 MB, free: 31.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.2576, allocations: 0.6697 MB / 426.4 MB, free: 31.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/0.2598, allocations: 1.238 MB / 427.6 MB, free: 30.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.2598, allocations: 1.062 kB / 427.6 MB, free: 30.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003771/0.2636, allocations: 1.831 MB / 429.4 MB, free: 30.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.2636, allocations: 6.875 kB / 429.4 MB, free: 30.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.2636, allocations: 2.75 kB / 429.4 MB, free: 30.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002153/0.2658, allocations: 0.6966 MB / 430.1 MB, free: 29.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008681/0.2666, allocations: 158.5 kB / 430.3 MB, free: 29.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008836/0.2755, allocations: 8.059 MB / 438.3 MB, free: 23.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007557/0.2762, allocations: 51.94 kB / 438.4 MB, free: 23.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.2763, allocations: 32 kB / 438.4 MB, free: 23.2 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.0007642/0.2771, allocations: 0.5246 MB / 438.9 MB, free: 22.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.2772, allocations: 115.3 kB / 439.1 MB, free: 22.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002612/0.2798, allocations: 1.912 MB / 441 MB, free: 20.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.2798, allocations: 12.75 kB / 441 MB, free: 20.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2798, allocations: 0 / 441 MB, free: 20.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.2799, allocations: 3.984 kB / 441 MB, free: 20.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005187/0.285, allocations: 3.32 MB / 444.3 MB, free: 17.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.285, allocations: 4 kB / 444.3 MB, free: 17.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/0.2856, allocations: 131.8 kB / 444.4 MB, free: 17.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.2869, allocations: 0.6513 MB / 445.1 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.607e-05/0.287, allocations: 20 kB / 445.1 MB, free: 16.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006871/0.2939, allocations: 7.997 MB / 453.1 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.2939, allocations: 7.938 kB / 453.1 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/0.2973, allocations: 2.669 MB / 455.8 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006212/0.2979, allocations: 244.6 kB / 456 MB, free: 5.203 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.2981, allocations: 16 kB / 456 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006431/0.2987, allocations: 59.95 kB / 456.1 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/0.299, allocations: 96.75 kB / 456.2 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/0.2991, allocations: 31.98 kB / 456.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007306/0.2998, allocations: 0.6044 MB / 456.8 MB, free: 4.406 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2998, allocations: 0 / 456.8 MB, free: 4.406 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001407/0.3012, allocations: 380 kB / 457.2 MB, free: 4.035 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.0002236/0.3014, allocations: 141.5 kB / 457.3 MB, free: 3.891 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002707/0.3041, allocations: 1.915 MB / 459.3 MB, free: 1.938 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3041, allocations: 4.375 kB / 459.3 MB, free: 1.934 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001675/0.3058, allocations: 1.303 MB / 460.6 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.3072, allocations: 319.9 kB / 460.9 MB, free: 300 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006826/0.314, allocations: 3.41 MB / 464.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.3154, allocations: 0.8974 MB / 465.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006763/0.3161, allocations: 189 kB / 465.4 MB, free: 11.74 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.3163, allocations: 72.48 kB / 465.4 MB, free: 11.67 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.3163, allocations: 0 / 465.4 MB, free: 11.67 MB / 346.7 MB Notification: Performance of Templates: time 0.04465/0.361, allocations: 23.42 MB / 488.9 MB, free: 4.539 MB / 362.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: 10.72098435787484]