Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 103.7 kB / 18.37 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 184.3 kB / 19.3 MB, free: 3.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 55.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0711/0.07229, allocations: 46.6 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier): time 0.1605/0.2328, allocations: 16.77 MB / 392.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.2455, allocations: 8.134 MB / 400.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002627/0.2482, allocations: 90.84 kB / 400.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003429/0.2516, allocations: 1.254 MB / 402 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004815/0.2565, allocations: 1.604 MB / 403.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006266/0.2628, allocations: 2.544 MB / 406.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006246/0.269, allocations: 5.036 MB / 411.2 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00379/0.2728, allocations: 3.262 MB / 414.5 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/0.2761, allocations: 2.183 MB / 416.7 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004163/0.2803, allocations: 2.44 MB / 419.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001328/0.2816, allocations: 0.5694 MB / 419.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002919/0.2845, allocations: 0.9158 MB / 420.6 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001675/0.2862, allocations: 1.277 MB / 421.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003822/0.2901, allocations: 2.477 MB / 424.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007972/0.298, allocations: 7.587 MB / 431.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2981, allocations: 0 / 431.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2981, allocations: 0 / 431.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001806/0.2983, allocations: 0 / 431.9 MB, free: 7.426 MB / 350.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.01252/0.3108, allocations: 5.174 MB / 437.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3108, allocations: 8.031 kB / 437.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005377/0.3162, allocations: 0.9833 MB / 438.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005046/0.3213, allocations: 2.754 MB / 440.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.3215, allocations: 271.8 kB / 441.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005665/0.3221, allocations: 379.8 kB / 441.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007581/0.3296, allocations: 4.72 MB / 446.2 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.648e-05/0.3297, allocations: 3.906 kB / 446.2 MB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003466/0.3301, allocations: 152 kB / 446.4 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/0.3302, allocations: 151.3 kB / 446.5 MB, free: 8.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006766/0.337, allocations: 3.995 MB / 450.5 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02266/0.3597, allocations: 15.73 MB / 466.2 MB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007411/0.3671, allocations: 7.882 MB / 474.1 MB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002868/0.37, allocations: 1.784 MB / 475.9 MB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008163/0.3782, allocations: 5.14 MB / 481 MB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.3783, allocations: 60.55 kB / 481.1 MB, free: 4.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=180): time 3.537e-06/0.3783, allocations: 0 / 481.1 MB, free: 4.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=183): time 0.01338/0.3917, allocations: 7.168 MB / 488.3 MB, free: 13.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/0.3918, allocations: 176.2 kB / 488.4 MB, free: 12.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/0.3948, allocations: 2.238 MB / 490.7 MB, free: 10.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.3949, allocations: 57.7 kB / 490.7 MB, free: 10.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.396, allocations: 1.679 MB / 492.4 MB, free: 8.969 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004275/0.3964, allocations: 0.6316 MB / 493 MB, free: 8.328 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005712/0.397, allocations: 400.1 kB / 493.4 MB, free: 7.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.264e-05/0.3971, allocations: 305.1 kB / 493.7 MB, free: 7.629 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.3985, allocations: 0.877 MB / 494.6 MB, free: 6.742 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.4003, allocations: 1.513 MB / 496.1 MB, free: 4.945 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/0.4036, allocations: 2.468 MB / 498.6 MB, free: 2.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.4036, allocations: 4 kB / 498.6 MB, free: 2.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.004796/0.4084, allocations: 3.105 MB / 0.4899 GB, free: 15.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.4085, allocations: 12 kB / 0.49 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/0.4085, allocations: 23.98 kB / 0.49 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.4096, allocations: 480 kB / 0.4904 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/0.4114, allocations: 487.2 kB / 0.4909 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007918/0.4194, allocations: 8.894 MB / 0.4996 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.4209, allocations: 107.9 kB / 0.4997 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.4211, allocations: 88 kB / 0.4998 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002825/0.4239, allocations: 1.797 MB / 0.5015 GB, free: 2.625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001751/0.4257, allocations: 1.501 MB / 0.503 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003159/0.4288, allocations: 2.445 MB / 0.5054 GB, free: 14.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.356e-06/0.4289, allocations: 4 kB / 0.5054 GB, free: 14.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.004652/0.4335, allocations: 3.081 MB / 0.5084 GB, free: 11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4335, allocations: 19.27 kB / 0.5084 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.4336, allocations: 20 kB / 0.5084 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.4346, allocations: 472.3 kB / 0.5089 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/0.4364, allocations: 495.2 kB / 0.5094 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007754/0.4442, allocations: 8.878 MB / 0.518 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.4456, allocations: 95.95 kB / 0.5181 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.4458, allocations: 96 kB / 0.5182 GB, free: 396 kB / 446.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.0004203/0.4462, allocations: 331.4 kB / 0.5185 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/0.4465, allocations: 253 kB / 0.5188 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004827/0.4514, allocations: 2.838 MB / 0.5215 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.4514, allocations: 7.969 kB / 0.5215 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.4514, allocations: 0 / 0.5215 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007596/0.4522, allocations: 0.5095 MB / 0.522 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002929/0.4525, allocations: 43.98 kB / 0.5221 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.4536, allocations: 75.94 kB / 0.5222 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/0.4539, allocations: 137.8 kB / 0.5223 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005809/0.4597, allocations: 2.763 MB / 0.525 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0044/0.4641, allocations: 3.16 MB / 0.5281 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001259/0.4654, allocations: 0.9017 MB / 0.529 GB, free: 5.234 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002086/0.4675, allocations: 1.511 MB / 0.5304 GB, free: 3.711 MB / 462.1 MB Notification: Performance of Backend: time 3.81e-07/0.4675, allocations: 0 / 0.5304 GB, free: 3.711 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006571/0.4741, allocations: 4.384 MB / 0.5347 GB, free: 15.17 MB / 478.1 MB Notification: Performance of SimCode: time 0.01028/0.4843, allocations: 7.528 MB / 0.5421 GB, free: 7.582 MB / 478.1 MB Notification: Performance of Templates: time 0.2858/0.7702, allocations: 52.5 MB / 0.5933 GB, free: 126.5 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe 2>&1)