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.001478/0.001478, allocations: 110.2 kB / 17.75 MB, free: 5.352 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.001653/0.001653, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 47.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2562, 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.01742/0.2736, allocations: 16.8 MB / 418.2 MB, free: 8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.2865, allocations: 8.105 MB / 426.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002122/0.2886, allocations: 99.62 kB / 426.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00319/0.2918, allocations: 1.285 MB / 427.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004213/0.2961, allocations: 1.678 MB / 429.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005509/0.3016, allocations: 2.513 MB / 431.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005572/0.3072, allocations: 5.045 MB / 437 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003649/0.3109, allocations: 3.32 MB / 440.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/0.3134, allocations: 2.192 MB / 442.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002591/0.316, allocations: 2.447 MB / 444.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006817/0.3167, allocations: 0.5742 MB / 445.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.3182, allocations: 0.9096 MB / 446.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009983/0.3192, allocations: 1.281 MB / 447.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002234/0.3215, allocations: 2.477 MB / 450.2 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006956/0.3284, allocations: 7.63 MB / 457.8 MB, free: 268 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3285, allocations: 0 / 457.8 MB, free: 268 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3285, allocations: 0 / 457.8 MB, free: 268 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.053e-05/0.3286, allocations: 0 / 457.8 MB, free: 268 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.01075/0.3393, allocations: 5.289 MB / 463.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3394, allocations: 8.031 kB / 463.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005073/0.3444, allocations: 1.005 MB / 464.1 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004811/0.3493, allocations: 2.888 MB / 467 MB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/0.3495, allocations: 275.5 kB / 467.3 MB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005273/0.35, allocations: 383.9 kB / 467.6 MB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007088/0.3571, allocations: 4.716 MB / 472.4 MB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.76e-05/0.3572, allocations: 19.89 kB / 472.4 MB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003216/0.3575, allocations: 148 kB / 472.5 MB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/0.3577, allocations: 155.2 kB / 472.7 MB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006419/0.3641, allocations: 4.018 MB / 476.7 MB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02145/0.3855, allocations: 15.73 MB / 492.4 MB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007355/0.3929, allocations: 7.872 MB / 0.4886 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002694/0.3956, allocations: 1.784 MB / 0.4903 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007955/0.4036, allocations: 5.15 MB / 0.4953 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.4037, allocations: 52.56 kB / 0.4954 GB, free: 13.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=180): time 1.121e-05/0.4037, allocations: 0 / 0.4954 GB, free: 13.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=183): time 0.01302/0.4167, allocations: 7.244 MB / 0.5025 GB, free: 5.672 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.779e-05/0.4168, allocations: 172.2 kB / 0.5026 GB, free: 5.465 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/0.4198, allocations: 2.23 MB / 0.5048 GB, free: 3.211 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.4199, allocations: 57.7 kB / 0.5049 GB, free: 3.148 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001179/0.4211, allocations: 1.73 MB / 0.5065 GB, free: 1.398 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000469/0.4216, allocations: 0.6469 MB / 0.5072 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005923/0.4222, allocations: 412.2 kB / 0.5076 GB, free: 344 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.4223, allocations: 301.1 kB / 0.5079 GB, free: 40 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.4237, allocations: 0.8731 MB / 0.5087 GB, free: 15.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.4255, allocations: 1.509 MB / 0.5102 GB, free: 13.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003337/0.4289, allocations: 2.479 MB / 0.5126 GB, free: 10.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/0.4289, allocations: 8 kB / 0.5126 GB, free: 10.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.004875/0.4338, allocations: 3.114 MB / 0.5157 GB, free: 7.457 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.4338, allocations: 12 kB / 0.5157 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.243e-05/0.4339, allocations: 24.05 kB / 0.5157 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.435, allocations: 472.2 kB / 0.5161 GB, free: 6.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/0.4368, allocations: 483.2 kB / 0.5166 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007939/0.4447, allocations: 8.89 MB / 0.5253 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.4463, allocations: 100 kB / 0.5254 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.4465, allocations: 96 kB / 0.5255 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002838/0.4493, allocations: 1.797 MB / 0.5272 GB, free: 11.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001795/0.4511, allocations: 1.501 MB / 0.5287 GB, free: 9.246 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003196/0.4543, allocations: 2.445 MB / 0.5311 GB, free: 6.543 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.457e-05/0.4544, allocations: 11.94 kB / 0.5311 GB, free: 6.531 MB / 462.1 MB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.004746/0.4591, allocations: 3.086 MB / 0.5341 GB, free: 3.402 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4591, allocations: 15.94 kB / 0.5341 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/0.4592, allocations: 20 kB / 0.5341 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009944/0.4602, allocations: 480.2 kB / 0.5346 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.462, allocations: 479.8 kB / 0.5351 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1804/0.6424, allocations: 8.892 MB / 0.5437 GB, free: 122.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.6443, allocations: 93.58 kB / 0.5438 GB, free: 122.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002376/0.6445, allocations: 94.97 kB / 0.5439 GB, free: 122.1 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.0004718/0.645, allocations: 335.7 kB / 0.5442 GB, free: 121.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004471/0.6455, allocations: 273.1 kB / 0.5445 GB, free: 121.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004131/0.6496, allocations: 2.831 MB / 0.5473 GB, free: 120.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.6497, allocations: 11.2 kB / 0.5473 GB, free: 120.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.6497, allocations: 2.969 kB / 0.5473 GB, free: 120.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000807/0.6505, allocations: 0.5158 MB / 0.5478 GB, free: 120.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003626/0.6508, allocations: 41.59 kB / 0.5478 GB, free: 120.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.6519, allocations: 88.28 kB / 0.5479 GB, free: 120.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/0.6522, allocations: 135.3 kB / 0.548 GB, free: 120.4 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004812/0.657, allocations: 2.757 MB / 0.5507 GB, free: 119.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003551/0.6606, allocations: 3.175 MB / 0.5538 GB, free: 118.2 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009815/0.6616, allocations: 0.9048 MB / 0.5547 GB, free: 117.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001646/0.6632, allocations: 1.505 MB / 0.5562 GB, free: 117.3 MB / 462.1 MB Notification: Performance of Backend: time 3.51e-07/0.6632, allocations: 0 / 0.5562 GB, free: 117.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005372/0.6686, allocations: 4.397 MB / 0.5605 GB, free: 114.9 MB / 462.1 MB Notification: Performance of SimCode: time 0.008238/0.6769, allocations: 7.631 MB / 0.5679 GB, free: 108.1 MB / 462.1 MB Notification: Performance of Templates: time 0.06471/0.7416, allocations: 53.31 MB / 0.62 GB, free: 55.32 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)