Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001351/0.001352, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001739/0.001739, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.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.0004772/0.0004773, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2636, allocations: 47.58 MB / 326.5 MB, free: 1.527 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier): time 0.01873/0.2824, allocations: 14.74 MB / 341.2 MB, free: 4.836 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01852/0.3011, allocations: 7.691 MB / 348.9 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003723/0.3048, allocations: 87.62 kB / 349 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003745/0.3086, allocations: 0.944 MB / 349.9 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005654/0.3143, allocations: 1.328 MB / 351.3 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007329/0.3216, allocations: 1.809 MB / 353.1 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008994/0.3306, allocations: 4.955 MB / 358 MB, free: 3.973 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004969/0.3357, allocations: 2.247 MB / 360.3 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003073/0.3388, allocations: 1.541 MB / 361.8 MB, free: 136 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003294/0.3421, allocations: 1.906 MB / 363.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001104/0.3432, allocations: 240 kB / 364 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.3456, allocations: 0.5386 MB / 364.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001552/0.3472, allocations: 0.8678 MB / 365.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002235/0.3495, allocations: 0.8551 MB / 366.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009538/0.359, allocations: 6.104 MB / 372.3 MB, free: 5.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.3591, allocations: 0 / 372.3 MB, free: 5.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3591, allocations: 0 / 372.3 MB, free: 5.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003096/0.3594, allocations: 0 / 372.3 MB, free: 5.59 MB / 302.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.01341/0.3728, allocations: 4.433 MB / 376.8 MB, free: 1.082 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3729, allocations: 8.031 kB / 376.8 MB, free: 1.074 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005503/0.3784, allocations: 0.9979 MB / 377.8 MB, free: 72 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006376/0.3848, allocations: 2.516 MB / 380.3 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/0.3852, allocations: 279.4 kB / 380.6 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001311/0.3865, allocations: 367.9 kB / 380.9 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/0.3994, allocations: 4.697 MB / 385.6 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/0.3996, allocations: 7.984 kB / 385.6 MB, free: 8.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007938/0.4004, allocations: 148 kB / 385.8 MB, free: 7.949 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/0.4006, allocations: 159.3 kB / 385.9 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008602/0.4092, allocations: 3.983 MB / 389.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03105/0.4402, allocations: 16.03 MB / 405.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008123/0.4484, allocations: 7.885 MB / 413.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003102/0.4515, allocations: 1.784 MB / 415.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009724/0.4613, allocations: 5.215 MB / 420.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/0.4614, allocations: 52.56 kB / 420.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=180): time 3.546e-06/0.4614, allocations: 0 / 420.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=183): time 0.01439/0.4758, allocations: 7.214 MB / 428.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.4759, allocations: 176.2 kB / 428.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/0.4799, allocations: 2.242 MB / 430.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002276/0.4802, allocations: 61.7 kB / 430.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001285/0.4815, allocations: 1.69 MB / 432.2 MB, free: 7.684 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006511/0.4821, allocations: 0.6122 MB / 432.9 MB, free: 7.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.4823, allocations: 48 kB / 432.9 MB, free: 7.016 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003181/0.4826, allocations: 390.5 kB / 433.3 MB, free: 6.629 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/0.4841, allocations: 0.8633 MB / 434.1 MB, free: 5.762 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.4861, allocations: 1.509 MB / 435.7 MB, free: 3.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/0.488, allocations: 1.107 MB / 436.8 MB, free: 2.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/0.4881, allocations: 8 kB / 436.8 MB, free: 2.852 MB / 366.1 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.005148/0.4932, allocations: 3.097 MB / 439.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005348/0.4938, allocations: 0.647 MB / 440.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.02e-05/0.4938, allocations: 20.06 kB / 440.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.4948, allocations: 483.8 kB / 441 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/0.4966, allocations: 495.2 kB / 441.5 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007443/0.504, allocations: 8.068 MB / 449.6 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.5059, allocations: 99.95 kB / 449.7 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/0.5061, allocations: 99.97 kB / 449.8 MB, free: 5.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.5061, allocations: 6.812 kB / 449.8 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004454/0.5106, allocations: 2.825 MB / 452.6 MB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.706e-05/0.5107, allocations: 20 kB / 452.6 MB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009555/0.5116, allocations: 468.3 kB / 453.1 MB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/0.5134, allocations: 491.2 kB / 453.5 MB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2281/0.7414, allocations: 8.062 MB / 461.6 MB, free: 101 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/0.7445, allocations: 85.5 kB / 461.7 MB, free: 101 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004368/0.7449, allocations: 96.66 kB / 461.8 MB, free: 101 MB / 382.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 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.003284/0.7482, allocations: 1.149 MB / 462.9 MB, free: 100.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008793/0.7491, allocations: 265.7 kB / 463.2 MB, free: 100.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005444/0.7546, allocations: 2.83 MB / 466 MB, free: 99.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/0.7546, allocations: 17.81 kB / 466 MB, free: 99.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.7546, allocations: 4.938 kB / 466 MB, free: 99.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.7547, allocations: 15.44 kB / 466.1 MB, free: 99.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009902/0.7646, allocations: 6.046 MB / 472.1 MB, free: 96.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.7646, allocations: 2.375 kB / 472.1 MB, free: 96.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.7658, allocations: 260.3 kB / 472.4 MB, free: 96.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/0.7672, allocations: 0.6586 MB / 473 MB, free: 96.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.7673, allocations: 47.64 kB / 473.1 MB, free: 96.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009734/0.777, allocations: 12.62 MB / 485.7 MB, free: 85.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.7771, allocations: 10.89 kB / 485.7 MB, free: 85.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00514/0.7822, allocations: 3.962 MB / 489.7 MB, free: 82.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.7833, allocations: 0.5192 MB / 490.2 MB, free: 82.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002741/0.7836, allocations: 39.94 kB / 490.2 MB, free: 82.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009935/0.7846, allocations: 91.08 kB / 490.3 MB, free: 81.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.7849, allocations: 141 kB / 490.4 MB, free: 81.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.633e-05/0.785, allocations: 55.97 kB / 490.5 MB, free: 81.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00202/0.787, allocations: 1.521 MB / 492 MB, free: 80.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.787, allocations: 0 / 492 MB, free: 80.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003985/0.791, allocations: 1.275 MB / 493.3 MB, free: 78.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004925/0.7915, allocations: 222 kB / 493.5 MB, free: 78.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005757/0.7973, allocations: 4.828 MB / 498.3 MB, free: 73.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.7973, allocations: 0 / 498.3 MB, free: 73.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002129/0.7994, allocations: 1.983 MB / 0.4886 GB, free: 71.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/0.8022, allocations: 0.6608 MB / 0.4892 GB, free: 71.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.8138, allocations: 8.303 MB / 0.4974 GB, free: 62.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001807/0.8156, allocations: 2.508 MB / 0.4998 GB, free: 60.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00261/0.8182, allocations: 0.6063 MB / 0.5004 GB, free: 59.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.8186, allocations: 155.4 kB / 0.5005 GB, free: 59.49 MB / 382.1 MB Notification: Performance of SimCode: time 1.673e-06/0.8186, allocations: 0 / 0.5005 GB, free: 59.49 MB / 382.1 MB Notification: Performance of Templates: time 0.06156/0.8802, allocations: 41.13 MB / 0.5407 GB, free: 18.3 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe 2>&1)