Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.0008842/0.0008843, allocations: 91.77 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.0009691/0.0009693, 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.813/1.813, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0004933/0.0004934, allocations: 10.81 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3098, allocations: 47.59 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.01169/0.3215, allocations: 10.55 MB / 337 MB, free: 8.922 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.3366, allocations: 6.248 MB / 343.3 MB, free: 2.66 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004053/0.3407, allocations: 51.75 kB / 343.3 MB, free: 2.609 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00387/0.3446, allocations: 0.707 MB / 344 MB, free: 1.898 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005024/0.3496, allocations: 0.8037 MB / 344.8 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005053/0.3547, allocations: 1.404 MB / 346.2 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006111/0.3608, allocations: 3.476 MB / 349.7 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/0.3633, allocations: 1.372 MB / 351.1 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002397/0.3658, allocations: 1.124 MB / 352.2 MB, free: 9.668 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/0.3682, allocations: 1.412 MB / 353.6 MB, free: 8.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004818/0.3687, allocations: 152 kB / 353.8 MB, free: 8.102 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.3699, allocations: 347.7 kB / 354.1 MB, free: 7.762 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007979/0.3707, allocations: 0.7435 MB / 354.9 MB, free: 7.016 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009114/0.3716, allocations: 0.5783 MB / 355.4 MB, free: 6.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003975/0.3756, allocations: 3.732 MB / 359.2 MB, free: 2.688 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3756, allocations: 0 / 359.2 MB, free: 2.688 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3756, allocations: 0 / 359.2 MB, free: 2.688 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001672/0.3758, allocations: 0 / 359.2 MB, free: 2.688 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.006765/0.3826, allocations: 2.961 MB / 362.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3826, allocations: 8.031 kB / 362.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/0.3842, allocations: 431.8 kB / 362.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/0.3875, allocations: 1.594 MB / 364.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.3877, allocations: 180.8 kB / 364.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/0.3881, allocations: 247.9 kB / 364.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005447/0.3936, allocations: 3.037 MB / 367.6 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-05/0.3936, allocations: 3.938 kB / 367.6 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/0.3939, allocations: 104 kB / 367.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.394, allocations: 100.6 kB / 367.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00475/0.3987, allocations: 2.524 MB / 370.3 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0214/0.4202, allocations: 10.32 MB / 380.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004093/0.4243, allocations: 2.728 MB / 383.4 MB, free: 9.711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/0.4265, allocations: 1.22 MB / 384.6 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/0.4268, allocations: 134.3 kB / 384.7 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.919e-05/0.4269, allocations: 51.88 kB / 384.8 MB, free: 8.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=149): time 6.462e-06/0.4269, allocations: 0 / 384.8 MB, free: 8.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=166): time 0.02005/0.447, allocations: 8.193 MB / 393 MB, free: 15.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.4472, allocations: 171.5 kB / 393.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004843/0.452, allocations: 1.85 MB / 395 MB, free: 13.81 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002162/0.4523, allocations: 57.7 kB / 395.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.4536, allocations: 1.157 MB / 396.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007109/0.4543, allocations: 0.5583 MB / 396.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.4545, allocations: 47.94 kB / 396.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.4547, allocations: 381.9 kB / 397.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/0.4565, allocations: 0.855 MB / 398 MB, free: 10.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.4586, allocations: 1.315 MB / 399.4 MB, free: 9.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.4605, allocations: 1.044 MB / 400.4 MB, free: 8.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/0.4605, allocations: 4 kB / 400.4 MB, free: 8.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.005811/0.4663, allocations: 3.152 MB / 403.6 MB, free: 4.984 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003589/0.4667, allocations: 463.1 kB / 404 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.664e-05/0.4668, allocations: 16 kB / 404 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/0.4687, allocations: 0.7856 MB / 404.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.4701, allocations: 363.4 kB / 405.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/0.4844, allocations: 11.84 MB / 417 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/0.4871, allocations: 111.9 kB / 417.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004089/0.4875, allocations: 72 kB / 417.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.4876, allocations: 4 kB / 417.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005886/0.4935, allocations: 2.895 MB / 420.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.095e-05/0.4935, allocations: 16 kB / 420.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001868/0.4954, allocations: 0.8023 MB / 420.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.4967, allocations: 363.4 kB / 421.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/0.5099, allocations: 11.83 MB / 433.1 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.5118, allocations: 95.92 kB / 433.2 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003811/0.5122, allocations: 71.98 kB / 433.3 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.001902/0.5141, allocations: 0.7972 MB / 434.1 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007644/0.5149, allocations: 221.3 kB / 434.3 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005271/0.5202, allocations: 2.849 MB / 437.1 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.5202, allocations: 16 kB / 437.1 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.5202, allocations: 4 kB / 437.1 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-05/0.5203, allocations: 11.92 kB / 437.2 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.5305, allocations: 5.688 MB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.5305, allocations: 7.938 kB / 442.9 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009738/0.5315, allocations: 236.1 kB / 443.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002123/0.5337, allocations: 0.8244 MB / 443.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.5338, allocations: 47.98 kB / 444 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2345/0.7684, allocations: 13.28 MB / 457.2 MB, free: 106.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.7684, allocations: 4.469 kB / 457.2 MB, free: 106.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007284/0.7757, allocations: 4.047 MB / 461.3 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/0.7771, allocations: 480.9 kB / 461.7 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003052/0.7774, allocations: 41.25 kB / 461.8 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.7784, allocations: 102.1 kB / 461.9 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003494/0.7788, allocations: 134.3 kB / 462 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.962e-05/0.7789, allocations: 51.81 kB / 462.1 MB, free: 105.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001977/0.7809, allocations: 1.26 MB / 463.3 MB, free: 105.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7809, allocations: 0 / 463.3 MB, free: 105.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003869/0.7848, allocations: 1.084 MB / 464.4 MB, free: 105.1 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.0005399/0.7853, allocations: 209.6 kB / 464.6 MB, free: 104.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006782/0.7921, allocations: 5.272 MB / 469.9 MB, free: 102.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.7921, allocations: 0 / 469.9 MB, free: 102.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002868/0.795, allocations: 2.083 MB / 472 MB, free: 100.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/0.7982, allocations: 0.5564 MB / 472.5 MB, free: 100.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009608/0.8078, allocations: 6.582 MB / 479.1 MB, free: 94.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.8096, allocations: 1.971 MB / 481.1 MB, free: 92.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001827/0.8114, allocations: 0.5013 MB / 481.6 MB, free: 92.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/0.8118, allocations: 123.4 kB / 481.7 MB, free: 92.13 MB / 382.1 MB Notification: Performance of SimCode: time 2.425e-06/0.8118, allocations: 0 / 481.7 MB, free: 92.13 MB / 382.1 MB Notification: Performance of Templates: time 0.06277/0.8746, allocations: 39.82 MB / 0.5093 GB, free: 52.27 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1)