Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001055/0.001055, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001361/0.001361, allocations: 177.3 kB / 15.94 MB, free: 228 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.897/1.897, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.0004713/0.0004714, allocations: 14.81 kB / 278.9 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3247, allocations: 47.59 MB / 326.5 MB, free: 1.453 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.01127/0.3361, allocations: 9.693 MB / 336.1 MB, free: 9.789 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01326/0.3494, allocations: 6.339 MB / 342.5 MB, free: 3.438 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003363/0.3528, allocations: 51.75 kB / 342.5 MB, free: 3.387 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003086/0.3559, allocations: 0.6919 MB / 343.2 MB, free: 2.691 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004507/0.3605, allocations: 0.8646 MB / 344.1 MB, free: 1.824 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004997/0.3655, allocations: 1.337 MB / 345.4 MB, free: 496 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005822/0.3713, allocations: 2.228 MB / 347.7 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002674/0.374, allocations: 1.375 MB / 349 MB, free: 12.85 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002966/0.377, allocations: 1.062 MB / 350.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003237/0.3803, allocations: 1.245 MB / 351.3 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007241/0.3811, allocations: 152 kB / 351.5 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.3825, allocations: 331.7 kB / 351.8 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009066/0.3834, allocations: 0.7087 MB / 352.5 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.3845, allocations: 0.5744 MB / 353.1 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004457/0.389, allocations: 3.705 MB / 356.8 MB, free: 5.055 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.389, allocations: 0 / 356.8 MB, free: 5.055 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.389, allocations: 0 / 356.8 MB, free: 5.055 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001458/0.3892, allocations: 0 / 356.8 MB, free: 5.055 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.007398/0.3966, allocations: 2.946 MB / 359.7 MB, free: 2.043 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.3966, allocations: 12.03 kB / 359.8 MB, free: 2.031 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.3986, allocations: 428 kB / 360.2 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00376/0.4024, allocations: 1.622 MB / 361.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.4026, allocations: 176.8 kB / 362 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004209/0.403, allocations: 235.9 kB / 362.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005469/0.4085, allocations: 3.018 MB / 365.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.716e-05/0.4086, allocations: 7.906 kB / 365.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/0.4088, allocations: 104 kB / 365.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.4089, allocations: 104.5 kB / 365.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004417/0.4134, allocations: 2.52 MB / 367.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01833/0.4317, allocations: 10.31 MB / 378.3 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003499/0.4353, allocations: 2.728 MB / 381 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002897/0.4356, allocations: 130.4 kB / 381.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.4357, allocations: 48.34 kB / 381.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=149): time 4.038e-06/0.4357, allocations: 4 kB / 381.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=166): time 0.0194/0.4551, allocations: 8.165 MB / 389.3 MB, free: 3.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.4553, allocations: 179.4 kB / 389.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003806/0.4591, allocations: 1.842 MB / 391.3 MB, free: 1.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003014/0.4594, allocations: 53.7 kB / 391.4 MB, free: 1.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009815/0.4604, allocations: 1.153 MB / 392.5 MB, free: 240 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006003/0.461, allocations: 0.5623 MB / 393.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.4611, allocations: 36 kB / 393.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4613, allocations: 385.9 kB / 393.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.4627, allocations: 0.8628 MB / 394.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.4645, allocations: 1.307 MB / 395.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.466, allocations: 1.048 MB / 396.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.466, allocations: 7.938 kB / 396.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.005234/0.4713, allocations: 3.113 MB / 399.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002056/0.4734, allocations: 4.989 MB / 404.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.992e-05/0.4734, allocations: 15.98 kB / 404.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001989/0.4754, allocations: 0.766 MB / 405.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.477, allocations: 375.4 kB / 406 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/0.4897, allocations: 11.86 MB / 417.9 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.4918, allocations: 115.8 kB / 418 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/0.492, allocations: 76.2 kB / 418 MB, free: 5.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.492, allocations: 4 kB / 418 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004948/0.497, allocations: 2.872 MB / 420.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.083e-05/0.4971, allocations: 16 kB / 420.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/0.4988, allocations: 0.7744 MB / 421.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.5001, allocations: 367.4 kB / 422.1 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/0.5126, allocations: 11.85 MB / 433.9 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.5148, allocations: 103.8 kB / 434 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002542/0.5151, allocations: 72 kB / 434.1 MB, free: 4.629 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 (194): * Single equations (assignments): 186 * 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%) 3} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002045/0.5171, allocations: 0.7971 MB / 434.9 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007469/0.5179, allocations: 213.5 kB / 435.1 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004996/0.5229, allocations: 2.845 MB / 437.9 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.5229, allocations: 16 kB / 438 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.5229, allocations: 4 kB / 438 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.523, allocations: 11.92 kB / 438 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.5337, allocations: 5.66 MB / 443.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.5338, allocations: 7.938 kB / 443.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.5348, allocations: 239.6 kB / 443.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002182/0.537, allocations: 0.8095 MB / 444.7 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.5372, allocations: 47.98 kB / 444.7 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2363/0.7735, allocations: 13.33 MB / 458.1 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.7735, allocations: 7 kB / 458.1 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006306/0.7798, allocations: 4.254 MB / 462.3 MB, free: 104.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/0.7811, allocations: 484.2 kB / 462.8 MB, free: 104.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003323/0.7815, allocations: 49.44 kB / 462.8 MB, free: 104.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.7826, allocations: 94.48 kB / 462.9 MB, free: 104.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003774/0.783, allocations: 139.4 kB / 463.1 MB, free: 104.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.86e-05/0.7831, allocations: 43.36 kB / 463.1 MB, free: 104.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001997/0.7851, allocations: 1.259 MB / 464.4 MB, free: 103.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7851, allocations: 0 / 464.4 MB, free: 103.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003768/0.7888, allocations: 1.072 MB / 465.4 MB, free: 103.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 (123): * Single equations (assignments): 117 * 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%) 3,(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.0005619/0.7894, allocations: 212 kB / 465.6 MB, free: 103.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006881/0.7963, allocations: 5.246 MB / 470.9 MB, free: 100.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/0.7964, allocations: 0 / 470.9 MB, free: 100.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002902/0.7993, allocations: 2.066 MB / 473 MB, free: 99.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/0.8023, allocations: 0.5335 MB / 473.5 MB, free: 99.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.8127, allocations: 6.575 MB / 480.1 MB, free: 93.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/0.8142, allocations: 2.028 MB / 482.1 MB, free: 91.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001791/0.816, allocations: 0.509 MB / 482.6 MB, free: 90.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/0.8163, allocations: 127.4 kB / 482.7 MB, free: 90.61 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.8163, allocations: 0 / 482.7 MB, free: 90.61 MB / 382.1 MB Notification: Performance of Templates: time 0.05823/0.8746, allocations: 39.61 MB / 0.5101 GB, free: 50.96 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1) Environment - environmentSimulation: