Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=22000,variableFilter="time|capacitor1.v|capacitor2.v|filter.x.1.|filter.x.2.|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_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.00127/0.00127, allocations: 109.7 kB / 18.4 MB, free: 4.676 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.001354/0.001354, allocations: 183.1 kB / 19.33 MB, free: 3.758 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.256/1.256, 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.001135/0.001135, allocations: 55.92 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07281/0.07395, allocations: 46.61 MB / 375.9 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.1762/0.2502, allocations: 11.91 MB / 387.8 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009234/0.2595, allocations: 6.558 MB / 394.3 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.2611, allocations: 56.69 kB / 394.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002152/0.2633, allocations: 0.8649 MB / 395.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.2656, allocations: 0.9391 MB / 396.2 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004638/0.2703, allocations: 1.961 MB / 398.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004393/0.2747, allocations: 3.461 MB / 401.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002558/0.2773, allocations: 2.113 MB / 403.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002303/0.2796, allocations: 1.453 MB / 405.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.2818, allocations: 1.701 MB / 406.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005145/0.2823, allocations: 358.1 kB / 407.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.2836, allocations: 0.5752 MB / 407.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009059/0.2845, allocations: 0.9753 MB / 408.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001631/0.2861, allocations: 1.67 MB / 410.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004533/0.2907, allocations: 4.748 MB / 415.2 MB, free: 6.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2907, allocations: 0 / 415.2 MB, free: 6.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2907, allocations: 0 / 415.2 MB, free: 6.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.227e-05/0.2908, allocations: 0 / 415.2 MB, free: 6.914 MB / 334.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.006392/0.2971, allocations: 3.436 MB / 418.6 MB, free: 4.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.2972, allocations: 9.5 kB / 418.6 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.2986, allocations: 431.8 kB / 419.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/0.3012, allocations: 1.688 MB / 420.7 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.3013, allocations: 185.1 kB / 420.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00035/0.3017, allocations: 239.8 kB / 421.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004567/0.3062, allocations: 3.049 MB / 424.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.437e-05/0.3063, allocations: 4 kB / 424.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/0.3065, allocations: 108 kB / 424.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.3067, allocations: 100.6 kB / 424.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004028/0.3107, allocations: 2.532 MB / 426.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.3245, allocations: 10.16 MB / 437.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003046/0.3276, allocations: 2.723 MB / 439.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.3294, allocations: 1.236 MB / 441.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002523/0.3297, allocations: 130.4 kB / 441.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.3297, allocations: 55.81 kB / 441.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=149): time 3.587e-06/0.3298, allocations: 0 / 441.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=166): time 0.01655/0.3463, allocations: 8.115 MB / 449.4 MB, free: 5.082 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.373e-05/0.3464, allocations: 179.5 kB / 449.5 MB, free: 4.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.3489, allocations: 1.874 MB / 451.4 MB, free: 2.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.349, allocations: 57.7 kB / 451.5 MB, free: 2.887 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007918/0.3498, allocations: 1.153 MB / 452.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003888/0.3502, allocations: 0.5584 MB / 453.2 MB, free: 1.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005103/0.3507, allocations: 343.2 kB / 453.5 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.3508, allocations: 305.1 kB / 453.8 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.3521, allocations: 0.8753 MB / 454.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.3537, allocations: 1.322 MB / 456 MB, free: 14.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002918/0.3567, allocations: 2.254 MB / 458.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.3567, allocations: 4 kB / 458.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.004965/0.3616, allocations: 3.145 MB / 461.4 MB, free: 8.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.3617, allocations: 12.33 kB / 461.4 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/0.3617, allocations: 20 kB / 461.4 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001854/0.3636, allocations: 0.7971 MB / 462.2 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.3649, allocations: 359.5 kB / 462.6 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/0.3775, allocations: 13 MB / 475.6 MB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.3792, allocations: 99.91 kB / 475.7 MB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.3793, allocations: 76 kB / 475.8 MB, free: 9.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002311/0.3816, allocations: 1.468 MB / 477.2 MB, free: 7.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001558/0.3832, allocations: 1.303 MB / 478.5 MB, free: 6.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002872/0.3861, allocations: 2.235 MB / 480.8 MB, free: 4.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.464e-06/0.3861, allocations: 4 kB / 480.8 MB, free: 4.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=242) (initialization_lambda0): time 0.004855/0.391, allocations: 3.133 MB / 483.9 MB, free: 0.9062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.391, allocations: 8 kB / 483.9 MB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.391, allocations: 19.98 kB / 483.9 MB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001758/0.3928, allocations: 0.7983 MB / 484.7 MB, free: 64 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.3941, allocations: 359.5 kB / 485.1 MB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/0.4068, allocations: 12.98 MB / 498.1 MB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.4084, allocations: 107.9 kB / 498.2 MB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.4086, allocations: 79.98 kB / 498.3 MB, free: 1.848 MB / 414.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 (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 (191): * Single equations (assignments): 183 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 2 systems {(3,16,100.0%), (1,6,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.0004621/0.4091, allocations: 295.8 kB / 498.5 MB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004501/0.4095, allocations: 213.5 kB / 498.7 MB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004949/0.4145, allocations: 2.857 MB / 0.4898 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.4145, allocations: 7.969 kB / 0.4899 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4145, allocations: 0 / 0.4899 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009946/0.4155, allocations: 490.2 kB / 0.4903 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004644/0.416, allocations: 35.98 kB / 0.4904 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.4171, allocations: 99.89 kB / 0.4905 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002729/0.4174, allocations: 125.8 kB / 0.4906 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005803/0.4232, allocations: 2.966 MB / 0.4935 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0044/0.4276, allocations: 3.314 MB / 0.4967 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001232/0.4289, allocations: 0.9524 MB / 0.4976 GB, free: 6.398 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001792/0.4307, allocations: 1.285 MB / 0.4989 GB, free: 5.09 MB / 430.1 MB Notification: Performance of Backend: time 3.51e-07/0.4307, allocations: 0 / 0.4989 GB, free: 5.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007668/0.4384, allocations: 4.744 MB / 0.5035 GB, free: 164 kB / 430.1 MB Notification: Performance of SimCode: time 0.009173/0.4476, allocations: 5.918 MB / 0.5093 GB, free: 10.17 MB / 446.1 MB Notification: Performance of Templates: time 0.2317/0.6792, allocations: 49.05 MB / 0.5572 GB, free: 151.6 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1)