Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.00103/0.00103, allocations: 99.94 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.001151/0.001151, allocations: 177.3 kB / 15.95 MB, free: 216 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.749/1.749, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.000778/0.0007783, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.395, allocations: 47.58 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01309/0.4082, allocations: 9.249 MB / 335.7 MB, free: 10.24 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01051/0.4188, allocations: 3.801 MB / 339.5 MB, free: 6.43 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002721/0.4216, allocations: 47.75 kB / 339.5 MB, free: 6.383 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.4238, allocations: 0.6803 MB / 340.2 MB, free: 5.699 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003206/0.427, allocations: 0.814 MB / 341 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.4282, allocations: 339.4 kB / 341.4 MB, free: 4.551 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003221/0.4314, allocations: 2.09 MB / 343.5 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.4335, allocations: 1.697 MB / 345.2 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/0.4352, allocations: 1.008 MB / 346.2 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.4371, allocations: 1.315 MB / 347.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000284/0.4374, allocations: 164 kB / 347.6 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008105/0.4382, allocations: 355.7 kB / 348 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007821/0.439, allocations: 0.7633 MB / 348.8 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006089/0.4396, allocations: 0.5822 MB / 349.3 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003745/0.4434, allocations: 4.001 MB / 353.3 MB, free: 8.52 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.4434, allocations: 4 kB / 353.3 MB, free: 8.516 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4434, allocations: 4 kB / 353.3 MB, free: 8.512 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.514e-05/0.4435, allocations: 0 / 353.3 MB, free: 8.512 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.006496/0.45, allocations: 2.977 MB / 356.3 MB, free: 5.469 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.45, allocations: 8.031 kB / 356.3 MB, free: 5.461 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.4513, allocations: 412.1 kB / 356.7 MB, free: 5.055 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003391/0.4547, allocations: 1.675 MB / 358.4 MB, free: 3.324 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.4549, allocations: 201 kB / 358.6 MB, free: 3.125 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003781/0.4553, allocations: 247.9 kB / 358.8 MB, free: 2.883 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005936/0.4613, allocations: 3.216 MB / 362.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.997e-05/0.4613, allocations: 7.953 kB / 362.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002265/0.4616, allocations: 107.9 kB / 362.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001482/0.4617, allocations: 120.9 kB / 362.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004749/0.4665, allocations: 2.705 MB / 365 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0201/0.4866, allocations: 10.42 MB / 375.4 MB, free: 1.879 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/0.4891, allocations: 1.776 MB / 377.2 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003442/0.4895, allocations: 207.1 kB / 377.4 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.658e-05/0.4896, allocations: 51.5 kB / 377.4 MB, free: 15.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 4.238e-06/0.4896, allocations: 0 / 377.4 MB, free: 15.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.0196/0.5092, allocations: 7.876 MB / 385.3 MB, free: 7.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.5093, allocations: 68.72 kB / 385.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003378/0.5127, allocations: 1.841 MB / 387.2 MB, free: 5.734 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.5128, allocations: 49.7 kB / 387.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001049/0.5139, allocations: 1.249 MB / 388.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005345/0.5144, allocations: 465.3 kB / 389 MB, free: 3.953 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.5145, allocations: 36 kB / 389 MB, free: 3.918 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.5147, allocations: 369.9 kB / 389.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.5161, allocations: 0.8237 MB / 390.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.5179, allocations: 1.323 MB / 391.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.5196, allocations: 1.021 MB / 392.5 MB, free: 172 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.5196, allocations: 4 kB / 392.6 MB, free: 168 kB / 318.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005327/0.5249, allocations: 2.794 MB / 395.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.525, allocations: 16.06 kB / 395.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.851e-05/0.525, allocations: 16 kB / 395.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009969/0.526, allocations: 394.3 kB / 395.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.5275, allocations: 423.3 kB / 396.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006148/0.5337, allocations: 5.211 MB / 401.4 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/0.5361, allocations: 131.8 kB / 401.5 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/0.5363, allocations: 71.98 kB / 401.6 MB, free: 6.812 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.002005/0.5383, allocations: 0.7901 MB / 402.4 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006211/0.5389, allocations: 197.6 kB / 402.6 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004502/0.5434, allocations: 2.395 MB / 405 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.598e-05/0.5435, allocations: 12 kB / 405 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.5435, allocations: 4 kB / 405 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.5435, allocations: 7.969 kB / 405 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.5536, allocations: 5.268 MB / 410.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.5537, allocations: 4 kB / 410.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.5548, allocations: 272.1 kB / 410.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/0.556, allocations: 438 kB / 411 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.73e-05/0.5561, allocations: 39.98 kB / 411 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007432/0.5635, allocations: 6.679 MB / 417.7 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.5636, allocations: 11.98 kB / 417.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006648/0.5702, allocations: 3.912 MB / 421.6 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001713/0.572, allocations: 450.6 kB / 422 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/0.5723, allocations: 35.98 kB / 422.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.5734, allocations: 107.9 kB / 422.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003313/0.5738, allocations: 116.7 kB / 422.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.5739, allocations: 43.98 kB / 422.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002366/0.5763, allocations: 1.271 MB / 423.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5763, allocations: 0 / 423.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002423/0.5787, allocations: 0.543 MB / 424.1 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.000473/0.5792, allocations: 182.9 kB / 424.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004283/0.5835, allocations: 2.426 MB / 426.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.5835, allocations: 4.188 kB / 426.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002552/0.5861, allocations: 1.517 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.002401/0.5885, allocations: 402.9 kB / 428.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.5991, allocations: 6.067 MB / 434.7 MB, free: 4.605 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/0.6015, allocations: 2.061 MB / 436.8 MB, free: 2.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001976/0.6035, allocations: 431.6 kB / 437.2 MB, free: 2.086 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004042/0.6039, allocations: 131.4 kB / 437.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of SimCode: time 1.623e-06/0.6039, allocations: 0 / 437.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of Templates: time 0.2924/0.8963, allocations: 25.66 MB / 463 MB, free: 102.8 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) Environment - environmentSimulation: