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.001437/0.001438, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00208/0.00208, allocations: 194 kB / 16.25 MB, free: 6.617 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.743/1.743, allocations: 205.1 MB / 222.1 MB, free: 4.75 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.001453/0.001453, allocations: 51.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3538, allocations: 46.62 MB / 324.9 MB, free: 1.895 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01907/0.3729, allocations: 11.33 MB / 336.2 MB, free: 8.738 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.3854, allocations: 3.86 MB / 340 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004601/0.3901, allocations: 51.75 kB / 340.1 MB, free: 4.816 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00357/0.3937, allocations: 0.7267 MB / 340.8 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005963/0.3997, allocations: 0.8469 MB / 341.7 MB, free: 3.234 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.4017, allocations: 459.5 kB / 342.1 MB, free: 2.785 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006248/0.408, allocations: 3.214 MB / 345.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003317/0.4113, allocations: 2.546 MB / 347.9 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003163/0.4145, allocations: 1.429 MB / 349.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004239/0.4188, allocations: 1.845 MB / 351.2 MB, free: 9.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001081/0.4199, allocations: 388 kB / 351.5 MB, free: 9.289 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.4217, allocations: 0.6284 MB / 352.2 MB, free: 8.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001226/0.4229, allocations: 1.067 MB / 353.2 MB, free: 7.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002595/0.4255, allocations: 1.719 MB / 354.9 MB, free: 5.863 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007389/0.4329, allocations: 4.989 MB / 359.9 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.4329, allocations: 0 / 359.9 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.433, allocations: 0 / 359.9 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.000136/0.4331, allocations: 4 kB / 359.9 MB, free: 0.8555 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.009673/0.4428, allocations: 3.48 MB / 363.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.964e-05/0.4429, allocations: 11.89 kB / 363.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.4444, allocations: 409 kB / 363.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003449/0.4479, allocations: 1.71 MB / 365.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/0.4481, allocations: 205.2 kB / 365.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004341/0.4486, allocations: 255.9 kB / 366 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006551/0.4551, allocations: 3.235 MB / 369.2 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.397e-05/0.4552, allocations: 23.83 kB / 369.3 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/0.4555, allocations: 96 kB / 369.3 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001573/0.4556, allocations: 120.9 kB / 369.5 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00533/0.461, allocations: 2.697 MB / 372.2 MB, free: 4.414 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02314/0.4842, allocations: 10.36 MB / 382.5 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/0.4871, allocations: 1.778 MB / 384.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002405/0.4896, allocations: 1.053 MB / 385.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004083/0.49, allocations: 203.2 kB / 385.6 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.908e-05/0.4901, allocations: 51.56 kB / 385.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 7.675e-06/0.4901, allocations: 0 / 385.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.0209/0.511, allocations: 7.421 MB / 393 MB, free: 14.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.5112, allocations: 72.66 kB / 393.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00384/0.5151, allocations: 1.876 MB / 395 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.5152, allocations: 45.7 kB / 395 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001259/0.5165, allocations: 1.245 MB / 396.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005444/0.5171, allocations: 469.3 kB / 396.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000547/0.5176, allocations: 291.3 kB / 397 MB, free: 10.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.5178, allocations: 301.1 kB / 397.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/0.5198, allocations: 0.8198 MB / 398.1 MB, free: 9.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/0.5223, allocations: 1.305 MB / 399.4 MB, free: 8.254 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003914/0.5262, allocations: 2.251 MB / 401.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.193e-05/0.5262, allocations: 8 kB / 401.7 MB, free: 5.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00634/0.5326, allocations: 2.791 MB / 404.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/0.5327, allocations: 16.06 kB / 404.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.909e-05/0.5327, allocations: 16 kB / 404.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.5339, allocations: 430.1 kB / 404.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.5355, allocations: 395.3 kB / 405.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007784/0.5433, allocations: 5.788 MB / 411.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/0.5461, allocations: 127.8 kB / 411.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/0.5464, allocations: 71.98 kB / 411.3 MB, free: 11.83 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.002368/0.5488, allocations: 0.7822 MB / 412.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00087/0.5496, allocations: 201.5 kB / 412.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004992/0.5546, allocations: 2.372 MB / 414.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.55e-05/0.5547, allocations: 16 kB / 414.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.5547, allocations: 7.938 kB / 414.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/0.5548, allocations: 11.97 kB / 414.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/0.5656, allocations: 5.29 MB / 420 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.5657, allocations: 4 kB / 420 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.5668, allocations: 251.6 kB / 420.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/0.5681, allocations: 470.3 kB / 420.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.5682, allocations: 39.97 kB / 420.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008692/0.5769, allocations: 7.315 MB / 428 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/0.577, allocations: 15.88 kB / 428 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006905/0.5839, allocations: 3.569 MB / 431.6 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/0.5857, allocations: 454.5 kB / 432.1 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/0.5861, allocations: 32 kB / 432.1 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.5873, allocations: 103.8 kB / 432.2 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004045/0.5877, allocations: 120.7 kB / 432.3 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/0.5879, allocations: 40 kB / 432.3 MB, free: 6.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002443/0.5903, allocations: 1.291 MB / 433.6 MB, free: 4.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5903, allocations: 0 / 433.6 MB, free: 4.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002806/0.5932, allocations: 0.5507 MB / 434.2 MB, free: 4.172 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.0007476/0.5939, allocations: 215.1 kB / 434.4 MB, free: 3.949 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006994/0.6009, allocations: 2.978 MB / 437.4 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/0.601, allocations: 4.812 kB / 437.4 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003105/0.6041, allocations: 1.506 MB / 438.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003459/0.6076, allocations: 446.2 kB / 439.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.6213, allocations: 6.265 MB / 445.6 MB, free: 8.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002463/0.6239, allocations: 2.014 MB / 447.6 MB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002335/0.6263, allocations: 431.6 kB / 448 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004661/0.6267, allocations: 131.4 kB / 448.2 MB, free: 5.98 MB / 382.1 MB Notification: Performance of SimCode: time 4.479e-06/0.6267, allocations: 4 kB / 448.2 MB, free: 5.977 MB / 382.1 MB Notification: Performance of Templates: time 0.2898/0.9166, allocations: 27.87 MB / 476 MB, free: 98.48 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)