Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 89.39 kB / 16.32 MB, free: 6.457 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.001206/0.001206, allocations: 180.2 kB / 17.21 MB, free: 6.328 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.899/1.899, allocations: 205.4 MB / 223.4 MB, free: 5.531 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.0005864/0.0005864, allocations: 8 kB / 280.2 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3496, allocations: 47.58 MB / 327.7 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.01268/0.3623, allocations: 10.55 MB / 338.3 MB, free: 8.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01362/0.376, allocations: 6.263 MB / 344.5 MB, free: 2.652 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003193/0.3792, allocations: 51.75 kB / 344.6 MB, free: 2.602 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003349/0.3826, allocations: 0.7109 MB / 345.3 MB, free: 1.887 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00468/0.3873, allocations: 0.7959 MB / 346.1 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005525/0.3929, allocations: 1.396 MB / 347.5 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00652/0.3994, allocations: 3.476 MB / 351 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003681/0.4031, allocations: 1.372 MB / 352.4 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002938/0.4061, allocations: 1.12 MB / 353.5 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003141/0.4092, allocations: 1.412 MB / 354.9 MB, free: 8.258 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001069/0.4103, allocations: 156 kB / 355 MB, free: 8.105 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.4124, allocations: 343.7 kB / 355.4 MB, free: 7.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001929/0.4144, allocations: 0.7474 MB / 356.1 MB, free: 7.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002405/0.4168, allocations: 0.5783 MB / 356.7 MB, free: 6.434 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007354/0.4242, allocations: 3.72 MB / 360.4 MB, free: 2.703 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.4242, allocations: 0 / 360.4 MB, free: 2.703 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.147e-06/0.4242, allocations: 0 / 360.4 MB, free: 2.703 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0003377/0.4246, allocations: 0 / 360.4 MB, free: 2.703 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.00939/0.434, allocations: 2.973 MB / 363.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.434, allocations: 8.031 kB / 363.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002297/0.4363, allocations: 428 kB / 363.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005327/0.4417, allocations: 1.602 MB / 365.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/0.4419, allocations: 176.8 kB / 365.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009028/0.4428, allocations: 243.9 kB / 365.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007372/0.4502, allocations: 3.03 MB / 368.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-05/0.4503, allocations: 11.92 kB / 368.9 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002441/0.4506, allocations: 96 kB / 369 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.4507, allocations: 108.5 kB / 369.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004701/0.4554, allocations: 2.52 MB / 371.6 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0169/0.4723, allocations: 10.33 MB / 381.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005068/0.4775, allocations: 2.724 MB / 384.6 MB, free: 9.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003024/0.4805, allocations: 1.227 MB / 385.9 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003841/0.481, allocations: 130.4 kB / 386 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.724e-05/0.4811, allocations: 51.88 kB / 386.1 MB, free: 8.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=149): time 5.671e-06/0.4811, allocations: 0 / 386.1 MB, free: 8.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=166): time 0.03009/0.5112, allocations: 8.189 MB / 394.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.5114, allocations: 175.5 kB / 394.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006306/0.5177, allocations: 1.854 MB / 396.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003609/0.5181, allocations: 57.64 kB / 396.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001755/0.5199, allocations: 1.153 MB / 397.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001242/0.5212, allocations: 0.5622 MB / 398 MB, free: 12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/0.5215, allocations: 43.94 kB / 398.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003618/0.5219, allocations: 381.9 kB / 398.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002969/0.5249, allocations: 0.8589 MB / 399.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003444/0.5284, allocations: 1.315 MB / 400.6 MB, free: 9.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003393/0.5318, allocations: 1.04 MB / 401.7 MB, free: 8.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.891e-05/0.5318, allocations: 4 kB / 401.7 MB, free: 8.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.01059/0.5424, allocations: 3.148 MB / 404.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006091/0.5431, allocations: 463.2 kB / 405.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.471e-05/0.5432, allocations: 19.95 kB / 405.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00388/0.5471, allocations: 0.7895 MB / 406.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/0.55, allocations: 363.4 kB / 406.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01821/0.5683, allocations: 11.84 MB / 418.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/0.5705, allocations: 107.9 kB / 418.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004152/0.571, allocations: 76.05 kB / 418.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.571, allocations: 7.281 kB / 418.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006154/0.5772, allocations: 2.903 MB / 421.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.519e-05/0.5773, allocations: 12 kB / 421.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/0.5792, allocations: 0.7984 MB / 422.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.5806, allocations: 359.4 kB / 422.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/0.5945, allocations: 11.83 MB / 434.4 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/0.5968, allocations: 99.95 kB / 434.5 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003955/0.5972, allocations: 72 kB / 434.5 MB, free: 5.691 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (191): * Single equations (assignments): 183 * 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: 5 * 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: 2 {(3,100.0%) 16,(1,100.0%) 6} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002143/0.5994, allocations: 0.7933 MB / 435.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007264/0.6001, allocations: 229.3 kB / 435.5 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00552/0.6056, allocations: 2.853 MB / 438.4 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.6057, allocations: 16 kB / 438.4 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.6057, allocations: 4 kB / 438.4 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/0.6057, allocations: 12.02 kB / 438.4 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/0.6172, allocations: 5.68 MB / 444.1 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.6173, allocations: 11.94 kB / 444.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009856/0.6183, allocations: 236.1 kB / 444.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002184/0.6205, allocations: 0.8205 MB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/0.6207, allocations: 43.98 kB / 445.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2285/0.8492, allocations: 13.29 MB / 458.5 MB, free: 106.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.8492, allocations: 9.281 kB / 458.5 MB, free: 106.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006495/0.8558, allocations: 4.037 MB / 462.5 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.8568, allocations: 486.4 kB / 463 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/0.8571, allocations: 43.3 kB / 463.1 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009781/0.8581, allocations: 97.23 kB / 463.2 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003142/0.8584, allocations: 135.8 kB / 463.3 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.48e-05/0.8585, allocations: 47.12 kB / 463.3 MB, free: 105.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001798/0.8603, allocations: 1.267 MB / 464.6 MB, free: 104.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8603, allocations: 1.125 kB / 464.6 MB, free: 104.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00322/0.8635, allocations: 1.08 MB / 465.7 MB, free: 104.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],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 (120): * Single equations (assignments): 114 * 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 {(3,100.0%) 16,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003955/0.8639, allocations: 215.9 kB / 465.9 MB, free: 104.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006094/0.87, allocations: 5.259 MB / 471.2 MB, free: 102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.87, allocations: 1.859 kB / 471.2 MB, free: 102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002392/0.8724, allocations: 2.089 MB / 473.2 MB, free: 100.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/0.875, allocations: 0.5598 MB / 473.8 MB, free: 100.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008017/0.883, allocations: 6.573 MB / 480.4 MB, free: 94.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/0.8845, allocations: 1.982 MB / 482.4 MB, free: 92.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001634/0.8861, allocations: 0.4974 MB / 482.9 MB, free: 92.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/0.8865, allocations: 119.4 kB / 483 MB, free: 91.98 MB / 382.1 MB Notification: Performance of SimCode: time 1.273e-06/0.8865, allocations: 4 kB / 483 MB, free: 91.98 MB / 382.1 MB Notification: Performance of Templates: time 0.05289/0.9394, allocations: 39.8 MB / 0.5105 GB, free: 52.13 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1)