Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 98.53 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.001083/0.001083, 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.947/1.947, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.0004884/0.0004888, allocations: 8 kB / 278.9 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3172, allocations: 47.58 MB / 326.4 MB, free: 1.453 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01329/0.3306, allocations: 9.252 MB / 335.7 MB, free: 10.23 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.341, allocations: 3.805 MB / 339.5 MB, free: 6.414 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003391/0.3444, allocations: 47.81 kB / 339.6 MB, free: 6.367 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00292/0.3474, allocations: 0.6686 MB / 340.2 MB, free: 5.695 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005139/0.3526, allocations: 0.8295 MB / 341 MB, free: 4.863 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.3544, allocations: 335.4 kB / 341.4 MB, free: 4.535 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005411/0.3599, allocations: 2.094 MB / 343.5 MB, free: 2.438 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002905/0.3628, allocations: 1.69 MB / 345.2 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.3654, allocations: 1.004 MB / 346.2 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00292/0.3683, allocations: 1.327 MB / 347.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005468/0.3689, allocations: 160 kB / 347.6 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.3701, allocations: 351.7 kB / 348 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009727/0.3711, allocations: 0.7672 MB / 348.8 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.3722, allocations: 0.5822 MB / 349.3 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004887/0.3771, allocations: 4.005 MB / 353.3 MB, free: 8.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3771, allocations: 0 / 353.3 MB, free: 8.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3772, allocations: 0 / 353.3 MB, free: 8.5 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001639/0.3773, allocations: 0 / 353.3 MB, free: 8.5 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.008466/0.3858, allocations: 2.981 MB / 356.3 MB, free: 5.453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.391e-05/0.3859, allocations: 12.03 kB / 356.3 MB, free: 5.441 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.3879, allocations: 408.1 kB / 356.7 MB, free: 5.039 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004936/0.3929, allocations: 1.671 MB / 358.4 MB, free: 3.312 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.3931, allocations: 197 kB / 358.6 MB, free: 3.117 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004846/0.3936, allocations: 255.9 kB / 358.8 MB, free: 2.867 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00675/0.4003, allocations: 3.212 MB / 362.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.912e-05/0.4005, allocations: 15.92 kB / 362.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002434/0.4007, allocations: 107.8 kB / 362.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001516/0.4009, allocations: 112.9 kB / 362.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005723/0.4066, allocations: 2.705 MB / 365 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0206/0.4273, allocations: 10.41 MB / 375.4 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002982/0.4304, allocations: 1.784 MB / 377.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003488/0.4307, allocations: 207.2 kB / 377.4 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/0.4308, allocations: 47.56 kB / 377.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 4.479e-06/0.4308, allocations: 0 / 377.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.02481/0.4556, allocations: 7.88 MB / 385.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.4558, allocations: 64.72 kB / 385.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005114/0.4609, allocations: 1.841 MB / 387.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003237/0.4613, allocations: 45.7 kB / 387.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001739/0.463, allocations: 1.249 MB / 388.5 MB, free: 4.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007685/0.4638, allocations: 465.3 kB / 389 MB, free: 3.949 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.464, allocations: 32 kB / 389 MB, free: 3.918 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0003065/0.4643, allocations: 373.9 kB / 389.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/0.4662, allocations: 0.8276 MB / 390.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002606/0.4689, allocations: 1.319 MB / 391.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002354/0.4713, allocations: 1.025 MB / 392.5 MB, free: 164 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.188e-05/0.4713, allocations: 4 kB / 392.5 MB, free: 160 kB / 318.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.007261/0.4786, allocations: 2.798 MB / 395.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.054e-05/0.4787, allocations: 12 kB / 395.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.546e-05/0.4788, allocations: 16 kB / 395.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.4801, allocations: 402.5 kB / 395.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.4819, allocations: 415.3 kB / 396.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008325/0.4902, allocations: 5.211 MB / 401.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/0.4931, allocations: 135.8 kB / 401.5 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004182/0.4935, allocations: 68 kB / 401.6 MB, free: 6.805 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 185 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002558/0.4961, allocations: 0.7901 MB / 402.4 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/0.4972, allocations: 197.6 kB / 402.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005612/0.5029, allocations: 2.399 MB / 405 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.675e-05/0.5029, allocations: 16 kB / 405 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-05/0.503, allocations: 0 / 405 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.995e-05/0.503, allocations: 7.984 kB / 405 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/0.5157, allocations: 5.272 MB / 410.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.782e-05/0.5158, allocations: 4 kB / 410.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.5171, allocations: 267.6 kB / 410.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001437/0.5185, allocations: 438.1 kB / 411 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/0.5187, allocations: 43.95 kB / 411 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008801/0.5275, allocations: 6.679 MB / 417.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/0.5276, allocations: 4 kB / 417.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007768/0.5354, allocations: 3.916 MB / 421.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/0.5372, allocations: 450.6 kB / 422 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007877/0.538, allocations: 28 kB / 422.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/0.5397, allocations: 115.9 kB / 422.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003373/0.5401, allocations: 108.7 kB / 422.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/0.5403, allocations: 44 kB / 422.3 MB, free: 1.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003296/0.5436, allocations: 1.271 MB / 423.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5436, allocations: 0 / 423.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003348/0.5469, allocations: 0.543 MB / 424.1 MB, free: 15.37 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 113 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008034/0.5478, allocations: 178.8 kB / 424.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005672/0.5535, allocations: 2.433 MB / 426.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.5535, allocations: 0 / 426.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003173/0.5567, allocations: 1.506 MB / 428.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003266/0.56, allocations: 422.9 kB / 428.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.5744, allocations: 6.071 MB / 434.7 MB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003731/0.5782, allocations: 2.057 MB / 436.8 MB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002286/0.5805, allocations: 431.6 kB / 437.2 MB, free: 2.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007575/0.5813, allocations: 131.4 kB / 437.3 MB, free: 1.949 MB / 366.1 MB Notification: Performance of SimCode: time 2.054e-06/0.5813, allocations: 0 / 437.3 MB, free: 1.949 MB / 366.1 MB Notification: Performance of Templates: time 0.2849/0.8663, allocations: 25.65 MB / 463 MB, free: 103.5 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) Environment - environmentSimulation: