Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001082/0.001082, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.00125/0.00125, allocations: 178.4 kB / 17.2 MB, free: 5.914 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.845/1.845, allocations: 205.4 MB / 223.4 MB, free: 5.312 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.0005743/0.0005747, allocations: 12 kB / 280.1 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3723, allocations: 47.59 MB / 327.7 MB, free: 1.469 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01177/0.3841, allocations: 9.247 MB / 337 MB, free: 10.23 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009605/0.3938, allocations: 3.805 MB / 340.8 MB, free: 6.418 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002614/0.3965, allocations: 47.75 kB / 340.8 MB, free: 6.371 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002314/0.3988, allocations: 0.6725 MB / 341.5 MB, free: 5.695 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00341/0.4022, allocations: 0.8217 MB / 342.3 MB, free: 4.871 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.4034, allocations: 327.5 kB / 342.6 MB, free: 4.551 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004052/0.4075, allocations: 2.098 MB / 344.7 MB, free: 2.449 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00228/0.4098, allocations: 1.686 MB / 346.4 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.4117, allocations: 1.004 MB / 347.4 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.4139, allocations: 1.323 MB / 348.7 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003067/0.4142, allocations: 164 kB / 348.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009916/0.4152, allocations: 355.7 kB / 349.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008351/0.416, allocations: 0.7711 MB / 350 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007893/0.4168, allocations: 0.5822 MB / 350.6 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004469/0.4213, allocations: 4.001 MB / 354.6 MB, free: 8.512 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4213, allocations: 0 / 354.6 MB, free: 8.512 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.027e-06/0.4214, allocations: 0 / 354.6 MB, free: 8.512 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001474/0.4215, allocations: 4 kB / 354.6 MB, free: 8.508 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.007481/0.429, allocations: 2.977 MB / 357.6 MB, free: 5.465 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.4291, allocations: 8.031 kB / 357.6 MB, free: 5.457 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001991/0.4311, allocations: 412.1 kB / 358 MB, free: 5.051 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003948/0.4351, allocations: 1.675 MB / 359.7 MB, free: 3.32 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.4353, allocations: 193 kB / 359.9 MB, free: 3.129 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004014/0.4357, allocations: 247.9 kB / 360.1 MB, free: 2.887 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00641/0.4421, allocations: 3.224 MB / 363.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-05/0.4422, allocations: 11.88 kB / 363.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/0.4424, allocations: 112 kB / 363.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/0.4426, allocations: 112.9 kB / 363.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005218/0.4478, allocations: 2.705 MB / 366.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01979/0.4676, allocations: 10.41 MB / 376.7 MB, free: 1.883 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00252/0.4702, allocations: 1.784 MB / 378.5 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003086/0.4706, allocations: 207 kB / 378.7 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.4706, allocations: 51.56 kB / 378.7 MB, free: 15.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 3.496e-06/0.4706, allocations: 4 kB / 378.7 MB, free: 15.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.019/0.4896, allocations: 7.876 MB / 386.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.4898, allocations: 64.72 kB / 386.7 MB, free: 7.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003351/0.4931, allocations: 1.841 MB / 388.5 MB, free: 5.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001698/0.4933, allocations: 49.7 kB / 388.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.4943, allocations: 1.245 MB / 389.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004683/0.4948, allocations: 461.3 kB / 390.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.4949, allocations: 39.98 kB / 390.3 MB, free: 3.918 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.4951, allocations: 369.9 kB / 390.6 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.4965, allocations: 0.8315 MB / 391.5 MB, free: 2.719 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.4983, allocations: 1.315 MB / 392.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/0.5001, allocations: 1.025 MB / 393.8 MB, free: 168 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-05/0.5002, allocations: 4 kB / 393.8 MB, free: 164 kB / 318.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005541/0.5057, allocations: 2.794 MB / 396.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.5058, allocations: 12 kB / 396.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.79e-05/0.5058, allocations: 16 kB / 396.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.5069, allocations: 398.5 kB / 397 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.5086, allocations: 415.3 kB / 397.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006378/0.515, allocations: 5.207 MB / 402.6 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/0.517, allocations: 135.8 kB / 402.8 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002623/0.5173, allocations: 71.98 kB / 402.8 MB, free: 6.816 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.001989/0.5193, allocations: 0.7862 MB / 403.6 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007878/0.5201, allocations: 197.6 kB / 403.8 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005065/0.5252, allocations: 2.391 MB / 406.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.84e-05/0.5252, allocations: 20 kB / 406.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-05/0.5253, allocations: 4 kB / 406.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.5253, allocations: 3.984 kB / 406.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/0.5373, allocations: 5.28 MB / 411.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/0.5374, allocations: 4.062 kB / 411.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.5385, allocations: 267.6 kB / 411.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.5398, allocations: 438 kB / 412.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.5399, allocations: 39.97 kB / 412.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008697/0.5486, allocations: 6.683 MB / 418.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.5487, allocations: 4 kB / 418.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007247/0.5559, allocations: 3.904 MB / 422.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001715/0.5577, allocations: 458.6 kB / 423.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007662/0.5585, allocations: 35.98 kB / 423.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/0.5601, allocations: 111.9 kB / 423.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003248/0.5604, allocations: 104.8 kB / 423.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/0.5606, allocations: 48.17 kB / 423.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002904/0.5635, allocations: 1.275 MB / 424.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5636, allocations: 4 kB / 424.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003059/0.5666, allocations: 0.5352 MB / 425.4 MB, free: 15.38 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.0005672/0.5672, allocations: 178.9 kB / 425.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005259/0.5725, allocations: 2.439 MB / 428 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.5725, allocations: 1.875 kB / 428 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002749/0.5753, allocations: 1.506 MB / 429.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/0.5778, allocations: 414.9 kB / 429.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.5898, allocations: 6.063 MB / 436 MB, free: 4.609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002759/0.5926, allocations: 2.057 MB / 438 MB, free: 2.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001879/0.5945, allocations: 435.6 kB / 438.5 MB, free: 2.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000729/0.5952, allocations: 131.4 kB / 438.6 MB, free: 1.961 MB / 366.1 MB Notification: Performance of SimCode: time 1.613e-06/0.5953, allocations: 0 / 438.6 MB, free: 1.961 MB / 366.1 MB Notification: Performance of Templates: time 0.267/0.8623, allocations: 25.66 MB / 464.3 MB, free: 102.8 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) Environment - environmentSimulation: