Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001877/0.001877, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002238/0.002238, allocations: 217.3 kB / 24.49 MB, free: 3.93 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.Magnetic.FundamentalWave.Examples.BasicMachines.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.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 55.92 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2077, allocations: 53.36 MB / 432.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier): time 0.01883/0.2265, allocations: 15.13 MB / 447.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.2393, allocations: 7.931 MB / 455.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.2406, allocations: 127.2 kB / 455.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002763/0.2434, allocations: 1.258 MB / 456.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003494/0.2469, allocations: 1.627 MB / 458.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005426/0.2523, allocations: 2.606 MB / 461.1 MB, free: 9.926 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005694/0.258, allocations: 5.085 MB / 466.1 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002796/0.2608, allocations: 1.904 MB / 468 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.2636, allocations: 2.309 MB / 470.3 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003156/0.2667, allocations: 2.565 MB / 472.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007374/0.2675, allocations: 0.5625 MB / 473.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.2691, allocations: 0.9446 MB / 474.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.2702, allocations: 1.262 MB / 475.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002046/0.2723, allocations: 1.953 MB / 477.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007681/0.28, allocations: 7.661 MB / 485.3 MB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.28, allocations: 0 / 485.3 MB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.28, allocations: 0 / 485.3 MB, free: 1.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.097e-05/0.28, allocations: 0 / 485.3 MB, free: 1.535 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.01144/0.2915, allocations: 5.202 MB / 490.5 MB, free: 12.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2915, allocations: 11.97 kB / 490.5 MB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005028/0.2965, allocations: 0.9506 MB / 491.5 MB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005279/0.3018, allocations: 2.684 MB / 494.1 MB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/0.302, allocations: 279.5 kB / 494.4 MB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005948/0.3026, allocations: 368 kB / 494.8 MB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008263/0.3109, allocations: 5.055 MB / 499.8 MB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.421e-05/0.311, allocations: 7.953 kB / 499.8 MB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003768/0.3113, allocations: 152 kB / 500 MB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/0.3115, allocations: 155.2 kB / 0.4884 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00714/0.3186, allocations: 4.014 MB / 0.4923 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02232/0.341, allocations: 13.7 MB / 0.5057 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006373/0.3473, allocations: 3.508 MB / 0.5091 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00288/0.3502, allocations: 1.639 MB / 0.5107 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008456/0.3587, allocations: 4.187 MB / 0.5148 GB, free: 7.117 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.3587, allocations: 52.56 kB / 0.5149 GB, free: 7.059 MB / 430.1 MB Notification: Performance of pre-optimization done (n=180): time 3.907e-06/0.3587, allocations: 0 / 0.5149 GB, free: 7.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=183): time 0.01369/0.3724, allocations: 6.531 MB / 0.5213 GB, free: 500 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.3726, allocations: 201.9 kB / 0.5215 GB, free: 252 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/0.3753, allocations: 1.973 MB / 0.5234 GB, free: 14.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.3755, allocations: 65.69 kB / 0.5234 GB, free: 14.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001403/0.3769, allocations: 1.745 MB / 0.5251 GB, free: 12.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005731/0.3774, allocations: 0.6585 MB / 0.5258 GB, free: 11.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000663/0.3781, allocations: 408.3 kB / 0.5262 GB, free: 11.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3782, allocations: 305.1 kB / 0.5265 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.3797, allocations: 0.8732 MB / 0.5273 GB, free: 10.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/0.3819, allocations: 1.682 MB / 0.529 GB, free: 8.145 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003648/0.3856, allocations: 2.489 MB / 0.5314 GB, free: 5.391 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.3856, allocations: 4 kB / 0.5314 GB, free: 5.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.00529/0.3909, allocations: 3.019 MB / 0.5343 GB, free: 2.344 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.3909, allocations: 16.44 kB / 0.5344 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-05/0.3909, allocations: 24 kB / 0.5344 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.3921, allocations: 467.9 kB / 0.5348 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/0.394, allocations: 495.2 kB / 0.5353 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1764/0.5704, allocations: 8.33 MB / 0.5434 GB, free: 94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.5721, allocations: 95.95 kB / 0.5435 GB, free: 93.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/0.5724, allocations: 98.33 kB / 0.5436 GB, free: 93.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002795/0.5752, allocations: 1.797 MB / 0.5454 GB, free: 93.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00156/0.5767, allocations: 1.674 MB / 0.547 GB, free: 91.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002654/0.5794, allocations: 2.469 MB / 0.5494 GB, free: 90.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.539e-05/0.5794, allocations: 6.328 kB / 0.5494 GB, free: 90.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=291) (initialization_lambda0): time 0.004001/0.5834, allocations: 3.003 MB / 0.5524 GB, free: 89.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.5834, allocations: 14.69 kB / 0.5524 GB, free: 89.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/0.5835, allocations: 18.62 kB / 0.5524 GB, free: 89.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008642/0.5843, allocations: 471.4 kB / 0.5528 GB, free: 88.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.5859, allocations: 482.1 kB / 0.5533 GB, free: 88.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00547/0.5914, allocations: 8.338 MB / 0.5614 GB, free: 82.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.5928, allocations: 97.31 kB / 0.5615 GB, free: 81.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.5929, allocations: 96 kB / 0.5616 GB, free: 81.87 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * 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 (259): * Single equations (assignments): 252 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 1 system {(1,5,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.0003885/0.5933, allocations: 326.5 kB / 0.5619 GB, free: 81.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/0.5936, allocations: 252.3 kB / 0.5622 GB, free: 81.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003966/0.5975, allocations: 2.644 MB / 0.5648 GB, free: 79.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.5976, allocations: 10.83 kB / 0.5648 GB, free: 79.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.5976, allocations: 4 kB / 0.5648 GB, free: 79.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008412/0.5984, allocations: 426 kB / 0.5652 GB, free: 78.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.5987, allocations: 43.47 kB / 0.5652 GB, free: 78.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.5997, allocations: 75.42 kB / 0.5653 GB, free: 78.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/0.5999, allocations: 140.6 kB / 0.5654 GB, free: 78.81 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004835/0.6047, allocations: 2.752 MB / 0.5681 GB, free: 76.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003419/0.6082, allocations: 3.175 MB / 0.5712 GB, free: 73.41 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000965/0.6091, allocations: 0.851 MB / 0.5721 GB, free: 72.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001364/0.6105, allocations: 1.302 MB / 0.5733 GB, free: 71.24 MB / 446.1 MB Notification: Performance of Backend: time 3e-07/0.6105, allocations: 0 / 0.5733 GB, free: 71.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00523/0.6157, allocations: 4.07 MB / 0.5773 GB, free: 67.11 MB / 446.1 MB Notification: Performance of SimCode: time 0.008437/0.6242, allocations: 7.532 MB / 0.5847 GB, free: 59.57 MB / 446.1 MB Notification: Performance of Templates: time 0.07145/0.6956, allocations: 56.34 MB / 0.6397 GB, free: 3.926 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe 2>&1) [Timeout 480] Could not SIGINT process: 447777. Could not SIGINT process: 447778. Could not SIGINT process: 447781. Could not SIGINT process: 447570. [Calling os._exit(0), Time elapsed: 486.24165377199824] 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.excitation.electroMagneticConverter.Phi.re', 'smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'speed.phi', 'speed.w', 'voltageController.I.y'] 0.7030146260003676 0.716161354 0.43313888899999997 Calling exit ...