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.001078/0.001079, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001287/0.001287, allocations: 172.7 kB / 15.95 MB, free: 208 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.92/1.92, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0005099/0.00051, allocations: 14.81 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3898, allocations: 47.59 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01405/0.4039, allocations: 10.1 MB / 336.6 MB, free: 9.371 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.4145, allocations: 3.675 MB / 340.3 MB, free: 5.688 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00315/0.4177, allocations: 51.75 kB / 340.3 MB, free: 5.637 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002722/0.4204, allocations: 0.6915 MB / 341 MB, free: 4.941 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00461/0.4251, allocations: 0.7923 MB / 341.8 MB, free: 4.145 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.427, allocations: 339.5 kB / 342.1 MB, free: 3.812 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006043/0.433, allocations: 3.257 MB / 345.4 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002676/0.4357, allocations: 1.69 MB / 347.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.4383, allocations: 1.074 MB / 348.1 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00279/0.4411, allocations: 1.483 MB / 349.6 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004577/0.4415, allocations: 164 kB / 349.8 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.4426, allocations: 355.6 kB / 350.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.4438, allocations: 0.806 MB / 350.9 MB, free: 10.94 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.445, allocations: 0.5822 MB / 351.5 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005006/0.45, allocations: 4.02 MB / 355.5 MB, free: 6.316 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.45, allocations: 0 / 355.5 MB, free: 6.316 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.45, allocations: 0 / 355.5 MB, free: 6.316 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001264/0.4501, allocations: 3.938 kB / 355.5 MB, free: 6.312 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.00712/0.4573, allocations: 2.989 MB / 358.5 MB, free: 3.258 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.4573, allocations: 8.031 kB / 358.5 MB, free: 3.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.4588, allocations: 412.1 kB / 358.9 MB, free: 2.844 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.4621, allocations: 1.659 MB / 360.6 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.4623, allocations: 197 kB / 360.8 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003731/0.4627, allocations: 251.9 kB / 361 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005895/0.4686, allocations: 3.239 MB / 364.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.162e-05/0.4687, allocations: 11.86 kB / 364.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002386/0.4689, allocations: 104 kB / 364.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/0.4691, allocations: 124.9 kB / 364.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004975/0.4741, allocations: 2.705 MB / 367.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01751/0.4916, allocations: 10.43 MB / 377.7 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.4939, allocations: 1.78 MB / 379.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.4957, allocations: 1.053 MB / 380.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003342/0.496, allocations: 211.2 kB / 380.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.4961, allocations: 51.5 kB / 380.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 3.427e-06/0.4961, allocations: 0 / 380.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.01863/0.5147, allocations: 7.761 MB / 388.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.5149, allocations: 64.72 kB / 388.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003492/0.5184, allocations: 1.857 MB / 390.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.5185, allocations: 45.7 kB / 390.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.5195, allocations: 1.249 MB / 391.7 MB, free: 1.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004259/0.52, allocations: 465.2 kB / 392.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.5201, allocations: 36 kB / 392.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.5203, allocations: 369.9 kB / 392.6 MB, free: 408 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.5216, allocations: 0.8198 MB / 393.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.5235, allocations: 1.328 MB / 394.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.5255, allocations: 1.021 MB / 395.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/0.5255, allocations: 4 kB / 395.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005803/0.5313, allocations: 2.814 MB / 398.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.5314, allocations: 12 kB / 398.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.394e-05/0.5314, allocations: 16 kB / 398.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.5325, allocations: 418.5 kB / 399 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.5339, allocations: 407.3 kB / 399.4 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006288/0.5402, allocations: 5.304 MB / 404.7 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.5422, allocations: 131.7 kB / 404.8 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.5423, allocations: 71.98 kB / 404.9 MB, free: 3.535 MB / 334.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 (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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00175/0.5441, allocations: 0.7901 MB / 405.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/0.5445, allocations: 197.6 kB / 405.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/0.5485, allocations: 2.411 MB / 408.3 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/0.5486, allocations: 12 kB / 408.3 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5486, allocations: 4 kB / 408.3 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.5486, allocations: 7.969 kB / 408.3 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008712/0.5573, allocations: 5.314 MB / 413.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/0.5574, allocations: 8.094 kB / 413.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000999/0.5584, allocations: 263.6 kB / 413.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/0.5595, allocations: 457.9 kB / 414.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.15e-05/0.5596, allocations: 39.98 kB / 414.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006894/0.5665, allocations: 6.725 MB / 421.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.5665, allocations: 4 kB / 421.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005834/0.5723, allocations: 3.62 MB / 424.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/0.5735, allocations: 462.6 kB / 425.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.5738, allocations: 35.98 kB / 425.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.5748, allocations: 115.8 kB / 425.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/0.575, allocations: 108.7 kB / 425.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.022e-05/0.5751, allocations: 47.98 kB / 425.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002006/0.5772, allocations: 1.275 MB / 426.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5772, allocations: 4 kB / 426.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001983/0.5792, allocations: 0.5391 MB / 427.3 MB, free: 12.39 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 (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%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003927/0.5796, allocations: 178.9 kB / 427.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003919/0.5835, allocations: 2.436 MB / 429.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5835, allocations: 0 / 429.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002361/0.5859, allocations: 1.522 MB / 431.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.5882, allocations: 446.9 kB / 431.9 MB, free: 7.723 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.5986, allocations: 6.099 MB / 438 MB, free: 1.531 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002086/0.6008, allocations: 2.006 MB / 440 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001757/0.6026, allocations: 431.6 kB / 440.4 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004027/0.603, allocations: 131.4 kB / 440.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of SimCode: time 1.984e-06/0.603, allocations: 0 / 440.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of Templates: time 0.2841/0.8871, allocations: 25.71 MB / 466.2 MB, free: 106.2 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (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)