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.001054/0.001054, allocations: 111.3 kB / 18.41 MB, free: 4.684 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.001034/0.001034, allocations: 187.3 kB / 19.34 MB, free: 3.766 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.253/1.253, 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.001698/0.001698, allocations: 55.92 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0884/0.09011, allocations: 46.61 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier): time 0.1625/0.2526, allocations: 16.76 MB / 392.6 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.2654, allocations: 8.131 MB / 400.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002688/0.2681, allocations: 97.12 kB / 400.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003562/0.2717, allocations: 1.272 MB / 402.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005022/0.2767, allocations: 1.654 MB / 403.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006039/0.2828, allocations: 2.554 MB / 406.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005683/0.2885, allocations: 5.036 MB / 411.4 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003627/0.2921, allocations: 3.257 MB / 414.6 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002817/0.2949, allocations: 2.203 MB / 416.8 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00258/0.2975, allocations: 2.445 MB / 419.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006403/0.2982, allocations: 0.5697 MB / 419.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.2998, allocations: 0.9094 MB / 420.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.3008, allocations: 1.277 MB / 422 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002193/0.303, allocations: 2.477 MB / 424.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006427/0.3095, allocations: 7.59 MB / 432.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3095, allocations: 0 / 432.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3095, allocations: 4 kB / 432.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.289e-05/0.3096, allocations: 4 kB / 432.1 MB, free: 7.312 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.01094/0.3205, allocations: 5.178 MB / 437.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3206, allocations: 8.031 kB / 437.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005207/0.3258, allocations: 0.9755 MB / 438.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004939/0.3307, allocations: 2.761 MB / 441 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.3309, allocations: 275.8 kB / 441.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005169/0.3315, allocations: 371.8 kB / 441.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007484/0.339, allocations: 4.716 MB / 446.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.137e-05/0.339, allocations: 11.84 kB / 446.4 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003535/0.3394, allocations: 152 kB / 446.5 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001433/0.3396, allocations: 163.2 kB / 446.7 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006492/0.346, allocations: 3.991 MB / 450.7 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02125/0.3673, allocations: 15.72 MB / 466.4 MB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007417/0.3747, allocations: 7.878 MB / 474.3 MB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/0.3775, allocations: 1.788 MB / 476.1 MB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008069/0.3856, allocations: 5.136 MB / 481.2 MB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.3856, allocations: 60.55 kB / 481.2 MB, free: 4.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=180): time 3.166e-06/0.3856, allocations: 4 kB / 481.3 MB, free: 4.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=183): time 0.01272/0.3984, allocations: 7.171 MB / 488.4 MB, free: 13.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/0.3984, allocations: 180.2 kB / 488.6 MB, free: 12.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/0.4013, allocations: 2.238 MB / 490.8 MB, free: 10.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.4015, allocations: 57.7 kB / 490.9 MB, free: 10.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.4026, allocations: 1.679 MB / 492.6 MB, free: 8.848 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000466/0.4031, allocations: 0.6277 MB / 493.2 MB, free: 8.211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005846/0.4037, allocations: 400.1 kB / 493.6 MB, free: 7.812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4038, allocations: 305.1 kB / 493.9 MB, free: 7.512 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.4052, allocations: 0.877 MB / 494.8 MB, free: 6.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/0.407, allocations: 1.513 MB / 496.3 MB, free: 4.828 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003283/0.4103, allocations: 2.468 MB / 498.7 MB, free: 2.098 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.4103, allocations: 4 kB / 498.7 MB, free: 2.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.004678/0.415, allocations: 3.104 MB / 0.4901 GB, free: 14.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.415, allocations: 15.28 kB / 0.4901 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/0.4151, allocations: 20 kB / 0.4901 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.4161, allocations: 476.2 kB / 0.4906 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.4179, allocations: 491.2 kB / 0.491 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008111/0.426, allocations: 8.898 MB / 0.4997 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.4279, allocations: 95.86 kB / 0.4998 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/0.428, allocations: 91.98 kB / 0.4999 GB, free: 4.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002869/0.4309, allocations: 1.797 MB / 0.5017 GB, free: 2.516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001735/0.4327, allocations: 1.505 MB / 0.5031 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003119/0.4358, allocations: 2.445 MB / 0.5055 GB, free: 14.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.536e-06/0.4358, allocations: 4 kB / 0.5055 GB, free: 14.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.004629/0.4404, allocations: 3.081 MB / 0.5085 GB, free: 10.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4405, allocations: 15.94 kB / 0.5086 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-05/0.4405, allocations: 23.98 kB / 0.5086 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000993/0.4415, allocations: 467.9 kB / 0.509 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/0.4433, allocations: 495.2 kB / 0.5095 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007933/0.4512, allocations: 8.886 MB / 0.5182 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.4527, allocations: 91.86 kB / 0.5183 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.4528, allocations: 96 kB / 0.5184 GB, free: 276 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.0004473/0.4533, allocations: 339.5 kB / 0.5187 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003366/0.4536, allocations: 252.9 kB / 0.5189 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004804/0.4584, allocations: 2.831 MB / 0.5217 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.4584, allocations: 7.969 kB / 0.5217 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.4585, allocations: 0 / 0.5217 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008862/0.4594, allocations: 0.5134 MB / 0.5222 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003169/0.4597, allocations: 39.98 kB / 0.5222 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.4608, allocations: 79.94 kB / 0.5223 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/0.461, allocations: 133.8 kB / 0.5224 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005679/0.4667, allocations: 2.751 MB / 0.5251 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004334/0.4711, allocations: 3.171 MB / 0.5282 GB, free: 6.023 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001247/0.4723, allocations: 0.9056 MB / 0.5291 GB, free: 5.113 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002082/0.4744, allocations: 1.507 MB / 0.5306 GB, free: 3.594 MB / 462.1 MB Notification: Performance of Backend: time 2.3e-07/0.4744, allocations: 0 / 0.5306 GB, free: 3.594 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006582/0.481, allocations: 4.384 MB / 0.5349 GB, free: 15.05 MB / 478.1 MB Notification: Performance of SimCode: time 0.01051/0.4916, allocations: 7.52 MB / 0.5422 GB, free: 7.473 MB / 478.1 MB Notification: Performance of Templates: time 0.2073/0.6989, allocations: 53.32 MB / 0.5943 GB, free: 125.9 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)