Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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: 112.7 kB / 17.75 MB, free: 5.332 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.001076/0.001076, allocations: 187 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009411/0.0009412, allocations: 39.94 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2112, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier): time 0.01667/0.2279, allocations: 16.81 MB / 418.2 MB, free: 7.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.24, allocations: 8.101 MB / 426.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/0.2421, allocations: 99.62 kB / 426.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003112/0.2452, allocations: 1.281 MB / 427.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004582/0.2498, allocations: 1.684 MB / 429.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00563/0.2554, allocations: 2.508 MB / 431.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005731/0.2612, allocations: 5.037 MB / 437 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00431/0.2655, allocations: 3.332 MB / 440.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00282/0.2683, allocations: 2.196 MB / 442.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003393/0.2717, allocations: 2.451 MB / 444.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.2729, allocations: 0.5703 MB / 445.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002191/0.2751, allocations: 0.9135 MB / 446.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.2765, allocations: 1.278 MB / 447.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002523/0.2791, allocations: 2.47 MB / 450.2 MB, free: 7.906 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006781/0.2858, allocations: 7.61 MB / 457.8 MB, free: 280 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2859, allocations: 0 / 457.8 MB, free: 280 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2859, allocations: 7.938 kB / 457.8 MB, free: 272 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.241e-05/0.286, allocations: 0 / 457.8 MB, free: 272 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: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.01147/0.2974, allocations: 5.181 MB / 463 MB, free: 11.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2975, allocations: 8.031 kB / 463 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005281/0.3028, allocations: 0.9755 MB / 463.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005476/0.3083, allocations: 2.874 MB / 466.8 MB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.3085, allocations: 279.5 kB / 467.1 MB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00052/0.309, allocations: 367.9 kB / 467.5 MB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007631/0.3166, allocations: 4.724 MB / 472.2 MB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.765e-05/0.3167, allocations: 4 kB / 472.2 MB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003439/0.3171, allocations: 156 kB / 472.3 MB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001427/0.3172, allocations: 159.2 kB / 472.5 MB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006554/0.3238, allocations: 4.014 MB / 476.5 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02206/0.3458, allocations: 15.69 MB / 492.2 MB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007458/0.3533, allocations: 7.868 MB / 0.4883 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002724/0.3561, allocations: 1.788 MB / 0.4901 GB, free: 2.711 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008442/0.3645, allocations: 5.137 MB / 0.4951 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.3646, allocations: 56.56 kB / 0.4952 GB, free: 13.33 MB / 430.1 MB Notification: Performance of pre-optimization done (n=180): time 3.176e-06/0.3646, allocations: 0 / 0.4952 GB, free: 13.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=183): time 0.0132/0.3778, allocations: 7.183 MB / 0.5022 GB, free: 5.934 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.3779, allocations: 176.2 kB / 0.5023 GB, free: 5.723 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003285/0.3812, allocations: 2.23 MB / 0.5045 GB, free: 3.469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.3813, allocations: 57.7 kB / 0.5046 GB, free: 3.406 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.3825, allocations: 1.679 MB / 0.5062 GB, free: 1.703 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004671/0.383, allocations: 0.6161 MB / 0.5068 GB, free: 1.078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006139/0.3836, allocations: 408.1 kB / 0.5072 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.3837, allocations: 301.1 kB / 0.5075 GB, free: 384 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.3852, allocations: 0.877 MB / 0.5083 GB, free: 15.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.387, allocations: 1.509 MB / 0.5098 GB, free: 13.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003353/0.3904, allocations: 2.476 MB / 0.5122 GB, free: 10.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.3904, allocations: 8 kB / 0.5122 GB, free: 10.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.004903/0.3953, allocations: 3.108 MB / 0.5153 GB, free: 7.797 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.3954, allocations: 12 kB / 0.5153 GB, free: 7.785 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.423e-05/0.3954, allocations: 20 kB / 0.5153 GB, free: 7.766 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.3965, allocations: 480.3 kB / 0.5158 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/0.3983, allocations: 487.2 kB / 0.5162 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008164/0.4065, allocations: 8.882 MB / 0.5249 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.408, allocations: 95.86 kB / 0.525 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.4082, allocations: 92 kB / 0.5251 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002871/0.411, allocations: 1.797 MB / 0.5268 GB, free: 11.38 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001797/0.4129, allocations: 1.505 MB / 0.5283 GB, free: 9.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003194/0.4161, allocations: 2.437 MB / 0.5307 GB, free: 6.895 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.407e-05/0.4161, allocations: 11.94 kB / 0.5307 GB, free: 6.883 MB / 462.1 MB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.004759/0.4208, allocations: 3.078 MB / 0.5337 GB, free: 3.762 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4209, allocations: 19.94 kB / 0.5337 GB, free: 3.742 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-05/0.4209, allocations: 20 kB / 0.5337 GB, free: 3.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009781/0.4219, allocations: 479.7 kB / 0.5342 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/0.4236, allocations: 479.3 kB / 0.5347 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1765/0.6001, allocations: 8.882 MB / 0.5433 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.6019, allocations: 95.62 kB / 0.5434 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.6021, allocations: 99.23 kB / 0.5435 GB, free: 122.7 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.0004165/0.6025, allocations: 327.9 kB / 0.5438 GB, free: 122.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/0.6028, allocations: 258.8 kB / 0.5441 GB, free: 122.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003996/0.6068, allocations: 2.832 MB / 0.5468 GB, free: 121.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.6068, allocations: 7.031 kB / 0.5469 GB, free: 121.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.6069, allocations: 0 / 0.5469 GB, free: 121.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007532/0.6076, allocations: 0.5133 MB / 0.5474 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003116/0.6079, allocations: 36.53 kB / 0.5474 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.609, allocations: 82.28 kB / 0.5475 GB, free: 121 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.6092, allocations: 136.7 kB / 0.5476 GB, free: 121 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004758/0.614, allocations: 2.749 MB / 0.5503 GB, free: 120.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003499/0.6175, allocations: 3.166 MB / 0.5534 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009576/0.6185, allocations: 0.9007 MB / 0.5543 GB, free: 118.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00163/0.6201, allocations: 1.514 MB / 0.5557 GB, free: 117.9 MB / 462.1 MB Notification: Performance of Backend: time 3.3e-07/0.6201, allocations: 0 / 0.5557 GB, free: 117.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005281/0.6254, allocations: 4.391 MB / 0.56 GB, free: 115.5 MB / 462.1 MB Notification: Performance of SimCode: time 0.008132/0.6336, allocations: 7.509 MB / 0.5674 GB, free: 108.9 MB / 462.1 MB Notification: Performance of Templates: time 0.06484/0.6984, allocations: 53.32 MB / 0.6194 GB, free: 56.15 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe 2>&1)