Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=22000,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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=22000,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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001492/0.001492, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001799/0.001799, allocations: 214.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2113, allocations: 50.54 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier): time 0.0172/0.2285, allocations: 17.42 MB / 427.4 MB, free: 80 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.2413, allocations: 8.413 MB / 435.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/0.2434, allocations: 99.62 kB / 435.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002807/0.2462, allocations: 1.286 MB / 437.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003815/0.25, allocations: 1.584 MB / 438.8 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005354/0.2554, allocations: 2.565 MB / 441.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005445/0.2609, allocations: 5.078 MB / 446.4 MB, free: 13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003914/0.2648, allocations: 3.324 MB / 449.7 MB, free: 9.609 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002864/0.2677, allocations: 2.212 MB / 451.9 MB, free: 7.391 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/0.2705, allocations: 2.576 MB / 454.5 MB, free: 4.805 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006843/0.2712, allocations: 0.5703 MB / 455.1 MB, free: 4.234 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.2728, allocations: 0.9447 MB / 456 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009987/0.2738, allocations: 1.27 MB / 457.3 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002215/0.276, allocations: 2.493 MB / 459.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006592/0.2826, allocations: 7.645 MB / 467.4 MB, free: 7.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.2827, allocations: 4 kB / 467.5 MB, free: 7.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2827, allocations: 0 / 467.5 MB, free: 7.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.344e-05/0.2827, allocations: 0 / 467.5 MB, free: 7.84 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.01089/0.2936, allocations: 5.212 MB / 472.7 MB, free: 2.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2937, allocations: 8.031 kB / 472.7 MB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00509/0.2988, allocations: 0.9793 MB / 473.7 MB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005096/0.3039, allocations: 2.886 MB / 476.5 MB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/0.3041, allocations: 279.5 kB / 476.8 MB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005/0.3046, allocations: 375.9 kB / 477.2 MB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007046/0.3116, allocations: 4.729 MB / 481.9 MB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.687e-05/0.3117, allocations: 4 kB / 481.9 MB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003423/0.3121, allocations: 152 kB / 482.1 MB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/0.3122, allocations: 155.3 kB / 482.2 MB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006331/0.3185, allocations: 4.014 MB / 486.2 MB, free: 4.855 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02088/0.3394, allocations: 15.79 MB / 0.4902 GB, free: 4.629 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007382/0.3468, allocations: 8.145 MB / 0.4982 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002692/0.3496, allocations: 1.792 MB / 0.5 GB, free: 9.777 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008215/0.3578, allocations: 5.721 MB / 0.5055 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.3578, allocations: 56.56 kB / 0.5056 GB, free: 3.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=180): time 3.066e-06/0.3578, allocations: 0 / 0.5056 GB, free: 3.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=183): time 0.01282/0.3707, allocations: 7.172 MB / 0.5126 GB, free: 12.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/0.3708, allocations: 201.9 kB / 0.5128 GB, free: 12.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002905/0.3737, allocations: 2.262 MB / 0.515 GB, free: 9.766 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.3738, allocations: 57.7 kB / 0.5151 GB, free: 9.703 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.3749, allocations: 1.687 MB / 0.5167 GB, free: 7.996 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004084/0.3753, allocations: 0.6161 MB / 0.5173 GB, free: 7.371 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005624/0.3759, allocations: 408.1 kB / 0.5177 GB, free: 6.965 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.256e-05/0.376, allocations: 305.1 kB / 0.518 GB, free: 6.664 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.3773, allocations: 0.8731 MB / 0.5188 GB, free: 5.781 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.379, allocations: 1.522 MB / 0.5203 GB, free: 3.973 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003122/0.3822, allocations: 2.468 MB / 0.5227 GB, free: 1.246 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.3822, allocations: 8 kB / 0.5227 GB, free: 1.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.004601/0.3868, allocations: 3.104 MB / 0.5258 GB, free: 14.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.3868, allocations: 12 kB / 0.5258 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.58e-05/0.3869, allocations: 23.98 kB / 0.5258 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.3879, allocations: 476.3 kB / 0.5263 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/0.3897, allocations: 487.2 kB / 0.5267 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007896/0.3977, allocations: 8.875 MB / 0.5354 GB, free: 3.672 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.3991, allocations: 99.86 kB / 0.5355 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.3993, allocations: 92.09 kB / 0.5356 GB, free: 3.484 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002739/0.402, allocations: 1.804 MB / 0.5373 GB, free: 1.672 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.1743/0.5763, allocations: 1.505 MB / 0.5388 GB, free: 120.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00339/0.5797, allocations: 2.445 MB / 0.5412 GB, free: 120 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.103e-05/0.5797, allocations: 10.59 kB / 0.5412 GB, free: 120 MB / 462.1 MB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.0042/0.5839, allocations: 3.087 MB / 0.5442 GB, free: 118.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.584, allocations: 16.62 kB / 0.5442 GB, free: 118.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.584, allocations: 23.12 kB / 0.5443 GB, free: 118.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008803/0.5849, allocations: 466.4 kB / 0.5447 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.5865, allocations: 481 kB / 0.5452 GB, free: 118.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005593/0.5921, allocations: 8.895 MB / 0.5538 GB, free: 111.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.5937, allocations: 93.44 kB / 0.5539 GB, free: 111.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.5939, allocations: 92.5 kB / 0.554 GB, free: 111.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * 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 (258): * Single equations (assignments): 251 * 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.0003693/0.5943, allocations: 337.6 kB / 0.5543 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000297/0.5946, allocations: 266.7 kB / 0.5546 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004041/0.5986, allocations: 2.828 MB / 0.5574 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.5986, allocations: 11.3 kB / 0.5574 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.5986, allocations: 0 / 0.5574 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008473/0.5995, allocations: 0.5107 MB / 0.5579 GB, free: 109.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/0.5998, allocations: 35 kB / 0.5579 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.6008, allocations: 80.17 kB / 0.558 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.6011, allocations: 142.9 kB / 0.5581 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004709/0.6058, allocations: 2.75 MB / 0.5608 GB, free: 108.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003554/0.6094, allocations: 3.17 MB / 0.5639 GB, free: 107.3 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009703/0.6103, allocations: 0.8944 MB / 0.5648 GB, free: 106.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001733/0.6121, allocations: 1.521 MB / 0.5663 GB, free: 105.3 MB / 462.1 MB Notification: Performance of Backend: time 7.02e-07/0.6121, allocations: 0 / 0.5663 GB, free: 105.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005552/0.6177, allocations: 4.407 MB / 0.5706 GB, free: 100.8 MB / 462.1 MB Notification: Performance of SimCode: time 0.008935/0.6266, allocations: 7.558 MB / 0.5779 GB, free: 93.3 MB / 462.1 MB Notification: Performance of Templates: time 0.06643/0.6931, allocations: 53.69 MB / 0.6304 GB, free: 40.06 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe 2>&1)