Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001552/0.001552, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001804/0.001804, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.418/1.418, allocations: 230.4 MB / 258.1 MB, free: 8.168 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 71.83 kB / 378.8 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2208, allocations: 53.31 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier): time 0.01375/0.2345, allocations: 12.1 MB / 444.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.2448, allocations: 6.6 MB / 450.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.246, allocations: 59.75 kB / 450.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.248, allocations: 0.9006 MB / 451.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002069/0.2501, allocations: 0.9821 MB / 452.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004156/0.2543, allocations: 1.95 MB / 454.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004186/0.2584, allocations: 3.445 MB / 458.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.2603, allocations: 1.245 MB / 459.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.2622, allocations: 1.456 MB / 460.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002136/0.2644, allocations: 1.751 MB / 462.6 MB, free: 8.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004631/0.2648, allocations: 360 kB / 462.9 MB, free: 8.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.2658, allocations: 0.5855 MB / 463.5 MB, free: 7.789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009569/0.2668, allocations: 0.9854 MB / 464.5 MB, free: 6.801 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.2684, allocations: 1.664 MB / 466.1 MB, free: 5.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005032/0.2735, allocations: 4.764 MB / 470.9 MB, free: 356 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2735, allocations: 3.938 kB / 470.9 MB, free: 352 kB / 366.1 MB Notification: Performance of FrontEnd: time 4.398e-06/0.2735, allocations: 4 kB / 470.9 MB, free: 348 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.694e-05/0.2736, allocations: 0 / 470.9 MB, free: 348 kB / 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.00695/0.2805, allocations: 3.531 MB / 474.4 MB, free: 12.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2805, allocations: 8.031 kB / 474.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.2819, allocations: 446.7 kB / 474.9 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/0.2852, allocations: 1.767 MB / 476.7 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.2854, allocations: 184.9 kB / 476.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003737/0.2857, allocations: 247.9 kB / 477.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004962/0.2907, allocations: 3.054 MB / 480.1 MB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.065e-05/0.2908, allocations: 11.88 kB / 480.1 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002311/0.291, allocations: 100 kB / 480.2 MB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.2911, allocations: 104.6 kB / 480.3 MB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004317/0.2954, allocations: 2.536 MB / 482.9 MB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0157/0.3111, allocations: 10.17 MB / 493.1 MB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003396/0.3145, allocations: 2.62 MB / 495.7 MB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001942/0.3165, allocations: 1.157 MB / 496.8 MB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002476/0.3167, allocations: 126.4 kB / 497 MB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.3167, allocations: 51.88 kB / 497 MB, free: 5.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=149): time 3.907e-06/0.3168, allocations: 0 / 497 MB, free: 5.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=166): time 0.01745/0.3342, allocations: 8.04 MB / 0.4932 GB, free: 13.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.3343, allocations: 197.2 kB / 0.4934 GB, free: 13.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/0.3371, allocations: 1.882 MB / 0.4952 GB, free: 11.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.3372, allocations: 49.7 kB / 0.4953 GB, free: 11.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009711/0.3382, allocations: 1.187 MB / 0.4964 GB, free: 9.852 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005218/0.3387, allocations: 0.5926 MB / 0.497 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005481/0.3392, allocations: 335.5 kB / 0.4973 GB, free: 8.922 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3394, allocations: 305.1 kB / 0.4976 GB, free: 8.621 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.3408, allocations: 0.8714 MB / 0.4985 GB, free: 7.746 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/0.3427, allocations: 1.331 MB / 0.4998 GB, free: 6.227 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003292/0.3459, allocations: 2.258 MB / 0.502 GB, free: 3.801 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.346, allocations: 4 kB / 0.502 GB, free: 3.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.005441/0.3514, allocations: 3.15 MB / 0.5051 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.3514, allocations: 10.97 kB / 0.5051 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-05/0.3515, allocations: 16 kB / 0.5051 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001931/0.3534, allocations: 0.7877 MB / 0.5059 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.3547, allocations: 363.4 kB / 0.5062 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0142/0.3689, allocations: 13.01 MB / 0.5189 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.3705, allocations: 107.9 kB / 0.519 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.3707, allocations: 71.98 kB / 0.5191 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002468/0.3732, allocations: 1.472 MB / 0.5205 GB, free: 68 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001763/0.3749, allocations: 1.312 MB / 0.5218 GB, free: 14.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003138/0.3781, allocations: 2.235 MB / 0.524 GB, free: 12.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.615e-06/0.3781, allocations: 7.938 kB / 0.524 GB, free: 12.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=242) (initialization_lambda0): time 0.005371/0.3834, allocations: 3.126 MB / 0.527 GB, free: 8.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3835, allocations: 11.94 kB / 0.5271 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/0.3835, allocations: 16.47 kB / 0.5271 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/0.3854, allocations: 0.7895 MB / 0.5278 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.3867, allocations: 359.4 kB / 0.5282 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1939/0.5806, allocations: 13 MB / 0.5409 GB, free: 96.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.5824, allocations: 98.14 kB / 0.541 GB, free: 96.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.5825, allocations: 73.06 kB / 0.541 GB, free: 96.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (191): * Single equations (assignments): 183 * 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.000386/0.5829, allocations: 302.8 kB / 0.5413 GB, free: 96.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/0.5832, allocations: 229 kB / 0.5415 GB, free: 96.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004293/0.5875, allocations: 2.833 MB / 0.5443 GB, free: 95.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.5875, allocations: 8.969 kB / 0.5443 GB, free: 95.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5875, allocations: 3.75 kB / 0.5443 GB, free: 95.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009104/0.5884, allocations: 489.4 kB / 0.5448 GB, free: 94.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.5887, allocations: 38.83 kB / 0.5448 GB, free: 94.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.5898, allocations: 93.14 kB / 0.5449 GB, free: 94.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/0.59, allocations: 137.8 kB / 0.545 GB, free: 94.88 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005246/0.5953, allocations: 2.977 MB / 0.548 GB, free: 93.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003906/0.5992, allocations: 3.33 MB / 0.5512 GB, free: 92.71 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009958/0.6002, allocations: 0.9118 MB / 0.5521 GB, free: 92.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001513/0.6017, allocations: 1.282 MB / 0.5533 GB, free: 91.88 MB / 446.1 MB Notification: Performance of Backend: time 3.01e-07/0.6017, allocations: 0 / 0.5533 GB, free: 91.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006233/0.6079, allocations: 4.55 MB / 0.5578 GB, free: 88.7 MB / 446.1 MB Notification: Performance of SimCode: time 0.006923/0.6149, allocations: 6.054 MB / 0.5637 GB, free: 82.86 MB / 446.1 MB Notification: Performance of Templates: time 0.06173/0.6766, allocations: 49.48 MB / 0.612 GB, free: 33.84 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1) [Timeout 480] Could not SIGINT process: 3456812. Could not SIGINT process: 3456813. Could not SIGINT process: 3456816. Could not SIGINT process: 3456373. [Calling os._exit(0), Time elapsed: 485.95336992526427] 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.6845686221495271 0.69317519 0.41744566600000005 Calling exit ...