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.001693/0.001694, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002112/0.002112, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.91/1.91, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001232/0.001232, allocations: 55.91 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.33, allocations: 46.63 MB / 325.3 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01786/0.348, allocations: 11.42 MB / 336.7 MB, free: 8.469 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.361, allocations: 3.906 MB / 340.6 MB, free: 4.551 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004334/0.3654, allocations: 51.81 kB / 340.7 MB, free: 4.5 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003815/0.3693, allocations: 0.8307 MB / 341.5 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005672/0.375, allocations: 0.9394 MB / 342.5 MB, free: 2.719 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.3776, allocations: 0.5149 MB / 343 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006911/0.3845, allocations: 3.207 MB / 346.2 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005487/0.39, allocations: 2.554 MB / 348.7 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003228/0.3933, allocations: 1.417 MB / 350.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003849/0.3972, allocations: 1.81 MB / 352 MB, free: 9.133 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001528/0.3988, allocations: 388 kB / 352.4 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.4014, allocations: 0.6284 MB / 353 MB, free: 8.125 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001942/0.4033, allocations: 1.067 MB / 354 MB, free: 7.055 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003533/0.4069, allocations: 1.723 MB / 355.8 MB, free: 5.324 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006643/0.4136, allocations: 4.981 MB / 360.7 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4136, allocations: 0 / 360.7 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4136, allocations: 4 kB / 360.8 MB, free: 332 kB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001297/0.4138, allocations: 0 / 360.8 MB, free: 332 kB / 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.01161/0.4254, allocations: 3.472 MB / 364.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.4254, allocations: 15.89 kB / 364.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.427, allocations: 409 kB / 364.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00376/0.4308, allocations: 1.722 MB / 366.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.431, allocations: 197.3 kB / 366.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003994/0.4314, allocations: 251.9 kB / 366.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006781/0.4382, allocations: 3.247 MB / 370 MB, free: 6.824 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-05/0.4383, allocations: 3.906 kB / 370.1 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002568/0.4386, allocations: 108 kB / 370.2 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/0.4388, allocations: 112.9 kB / 370.3 MB, free: 6.602 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005513/0.4443, allocations: 2.701 MB / 373 MB, free: 3.887 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02299/0.4673, allocations: 10.36 MB / 383.3 MB, free: 9.184 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003/0.4704, allocations: 1.786 MB / 385.1 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/0.4724, allocations: 1.053 MB / 386.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004127/0.4729, allocations: 207.2 kB / 386.4 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.4729, allocations: 47.5 kB / 386.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 4.438e-06/0.473, allocations: 0 / 386.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.01987/0.4928, allocations: 7.417 MB / 393.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/0.493, allocations: 64.72 kB / 393.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003486/0.4965, allocations: 1.872 MB / 395.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00017/0.4967, allocations: 45.7 kB / 395.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009476/0.4976, allocations: 1.249 MB / 397.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004376/0.4981, allocations: 465.3 kB / 397.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004886/0.4986, allocations: 299.3 kB / 397.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4987, allocations: 309.1 kB / 398.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.5001, allocations: 0.8042 MB / 398.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/0.5022, allocations: 1.317 MB / 400.2 MB, free: 7.727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003636/0.5058, allocations: 2.251 MB / 402.5 MB, free: 5.258 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/0.5058, allocations: 4 kB / 402.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005792/0.5116, allocations: 2.791 MB / 405.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/0.5117, allocations: 12 kB / 405.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/0.5117, allocations: 16 kB / 405.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.513, allocations: 430.4 kB / 405.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.5145, allocations: 399.3 kB / 406.1 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006797/0.5213, allocations: 5.78 MB / 411.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/0.5239, allocations: 131.7 kB / 412 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/0.5242, allocations: 76 kB / 412.1 MB, free: 11.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002527/0.5267, allocations: 0.79 MB / 412.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008945/0.5276, allocations: 197.6 kB / 413.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005073/0.5327, allocations: 2.375 MB / 415.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.913e-05/0.5328, allocations: 19.98 kB / 415.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.5329, allocations: 7.938 kB / 415.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/0.5329, allocations: 3.984 kB / 415.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.5438, allocations: 5.286 MB / 420.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.5439, allocations: 4 kB / 420.8 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.545, allocations: 251.6 kB / 421 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.5464, allocations: 470.7 kB / 421.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.873e-05/0.5465, allocations: 39.97 kB / 421.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008542/0.555, allocations: 7.335 MB / 428.9 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.5551, allocations: 7.938 kB / 428.9 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007098/0.5622, allocations: 3.573 MB / 432.4 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/0.5639, allocations: 454.5 kB / 432.9 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003031/0.5642, allocations: 31.98 kB / 432.9 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.5654, allocations: 103.9 kB / 433 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/0.5658, allocations: 112.7 kB / 433.1 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.5659, allocations: 51.98 kB / 433.2 MB, free: 5.457 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002361/0.5683, allocations: 1.291 MB / 434.5 MB, free: 4.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5683, allocations: 0 / 434.5 MB, free: 4.176 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002949/0.5712, allocations: 0.543 MB / 435 MB, free: 3.633 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (116): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008199/0.5721, allocations: 215.1 kB / 435.2 MB, free: 3.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007055/0.5791, allocations: 2.975 MB / 438.2 MB, free: 400 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/0.5792, allocations: 4.062 kB / 438.2 MB, free: 396 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003158/0.5824, allocations: 1.506 MB / 439.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003111/0.5855, allocations: 446.1 kB / 440.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/0.5984, allocations: 5.175 MB / 445.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002077/0.6005, allocations: 2.01 MB / 447.3 MB, free: 7.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002123/0.6027, allocations: 435.6 kB / 447.8 MB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004468/0.6031, allocations: 131.4 kB / 447.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of SimCode: time 2.114e-06/0.6031, allocations: 0 / 447.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of Templates: time 0.2873/0.8904, allocations: 27.98 MB / 475.9 MB, free: 98.56 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (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)