Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.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.001614/0.001614, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001937/0.001937, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 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.496/1.496, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=11000,variableFilter="time|capacitor1.v|capacitor2.v|filter.x.1.|filter.x.2.|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=11000,variableFilter="time|capacitor1.v|capacitor2.v|filter.x.1.|filter.x.2.|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 47.91 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2153, allocations: 53.36 MB / 432.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier): time 0.0135/0.2288, allocations: 10.51 MB / 442.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.2397, allocations: 6.16 MB / 449 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.2413, allocations: 75.5 kB / 449.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.2434, allocations: 0.8504 MB / 450 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002385/0.2458, allocations: 0.986 MB / 450.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004317/0.2501, allocations: 2.008 MB / 452.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00423/0.2544, allocations: 3.464 MB / 456.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001855/0.2562, allocations: 1.242 MB / 457.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.2583, allocations: 1.542 MB / 459.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002173/0.2605, allocations: 1.716 MB / 460.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004989/0.261, allocations: 348 kB / 461.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.2621, allocations: 0.6049 MB / 461.9 MB, free: 9.062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000945/0.2631, allocations: 0.9658 MB / 462.8 MB, free: 8.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001451/0.2645, allocations: 1.326 MB / 464.1 MB, free: 6.762 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004965/0.2695, allocations: 4.78 MB / 468.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2695, allocations: 0 / 468.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2695, allocations: 0 / 468.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.829e-05/0.2696, allocations: 0 / 468.9 MB, free: 1.965 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.006507/0.2761, allocations: 3.405 MB / 472.3 MB, free: 14.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2761, allocations: 8.031 kB / 472.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.2772, allocations: 406.8 kB / 472.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003255/0.2805, allocations: 1.66 MB / 474.4 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.2806, allocations: 188.8 kB / 474.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003792/0.281, allocations: 243.9 kB / 474.8 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005337/0.2863, allocations: 3.343 MB / 478.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.908e-05/0.2864, allocations: 8 kB / 478.2 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.2866, allocations: 104 kB / 478.3 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.2867, allocations: 96.53 kB / 478.4 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004278/0.291, allocations: 2.532 MB / 480.9 MB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/0.3055, allocations: 8.934 MB / 489.8 MB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.3084, allocations: 1.86 MB / 491.7 MB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/0.3104, allocations: 1.137 MB / 492.8 MB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/0.3106, allocations: 53.22 kB / 492.9 MB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.3106, allocations: 59.86 kB / 492.9 MB, free: 9.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=149): time 3.507e-06/0.3106, allocations: 0 / 492.9 MB, free: 9.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=166): time 0.01736/0.328, allocations: 7.485 MB / 0.4887 GB, free: 1.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.3281, allocations: 201.2 kB / 0.4889 GB, free: 1.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/0.3304, allocations: 1.59 MB / 0.4904 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.3305, allocations: 53.7 kB / 0.4905 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009319/0.3314, allocations: 1.194 MB / 0.4917 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005196/0.3319, allocations: 0.5887 MB / 0.4922 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005588/0.3325, allocations: 343.4 kB / 0.4926 GB, free: 13.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3326, allocations: 309.1 kB / 0.4929 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.334, allocations: 0.8714 MB / 0.4937 GB, free: 12.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/0.3359, allocations: 1.47 MB / 0.4951 GB, free: 10.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003243/0.3392, allocations: 2.264 MB / 0.4974 GB, free: 8.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.3392, allocations: 4 kB / 0.4974 GB, free: 8.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.005355/0.3445, allocations: 3.047 MB / 0.5003 GB, free: 5.402 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3446, allocations: 8 kB / 0.5003 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.272e-05/0.3446, allocations: 23.98 kB / 0.5004 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/0.3465, allocations: 0.7741 MB / 0.5011 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.3479, allocations: 371.3 kB / 0.5015 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.3619, allocations: 12.26 MB / 0.5134 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.3634, allocations: 108 kB / 0.5135 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.3635, allocations: 75.92 kB / 0.5136 GB, free: 7.277 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002434/0.366, allocations: 1.476 MB / 0.5151 GB, free: 5.797 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001818/0.3678, allocations: 1.458 MB / 0.5165 GB, free: 4.121 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00317/0.371, allocations: 2.24 MB / 0.5187 GB, free: 1.711 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-05/0.371, allocations: 4 kB / 0.5187 GB, free: 1.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.005374/0.3763, allocations: 3.028 MB / 0.5216 GB, free: 14.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3764, allocations: 12.06 kB / 0.5216 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/0.3764, allocations: 23.92 kB / 0.5217 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/0.3783, allocations: 0.7759 MB / 0.5224 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.3797, allocations: 359.4 kB / 0.5228 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/0.3942, allocations: 12.26 MB / 0.5347 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.3959, allocations: 95.92 kB / 0.5348 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/0.396, allocations: 79.98 kB / 0.5349 GB, free: 0.5312 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 184 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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 {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004621/0.3965, allocations: 299.7 kB / 0.5352 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/0.3969, allocations: 210.7 kB / 0.5354 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1919/0.5888, allocations: 2.736 MB / 0.5381 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/0.5888, allocations: 12.14 kB / 0.5381 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.5888, allocations: 1.438 kB / 0.5381 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.5899, allocations: 384.2 kB / 0.5385 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.5902, allocations: 34.72 kB / 0.5385 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009684/0.5911, allocations: 94 kB / 0.5386 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002635/0.5914, allocations: 132.5 kB / 0.5387 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00531/0.5967, allocations: 2.95 MB / 0.5416 GB, free: 99.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003477/0.6002, allocations: 3.311 MB / 0.5448 GB, free: 98.53 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009362/0.6011, allocations: 0.9041 MB / 0.5457 GB, free: 98.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001103/0.6022, allocations: 1.062 MB / 0.5467 GB, free: 97.82 MB / 446.1 MB Notification: Performance of Backend: time 2.8e-07/0.6022, allocations: 0 / 0.5467 GB, free: 97.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005678/0.6079, allocations: 4.418 MB / 0.5511 GB, free: 94.73 MB / 446.1 MB Notification: Performance of SimCode: time 0.006093/0.614, allocations: 5.911 MB / 0.5568 GB, free: 89.37 MB / 446.1 MB Notification: Performance of Templates: time 0.05308/0.6671, allocations: 49.54 MB / 0.6052 GB, free: 40.58 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1) [Timeout 480] Could not SIGINT process: 438090. Could not SIGINT process: 438091. Could not SIGINT process: 438094. Could not SIGINT process: 437619. [Calling os._exit(0), Time elapsed: 485.99513500899775] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v', 'filter.x[1]', 'filter.x[2]', 'smee.is[1]', 'smee.is[2]', 'smee.idq_dr[1]', 'smee.idq_rr[2]', 'smee.idq_sr[1]', 'smee.idq_sr[2]', 'smee.lesigma.i', 'speed.phi', 'speed.w', 'voltageController.I.y'] 0.6747748740017414 0.683225031 0.411505381 Calling exit ...