Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, 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.001412/0.001412, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.473/1.473, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.001435/0.001435, allocations: 59.91 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2635, allocations: 46.63 MB / 324.9 MB, free: 2.137 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.02985/0.2934, allocations: 28.95 MB / 353.8 MB, free: 7.184 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0187/0.3121, allocations: 7.984 MB / 361.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007985/0.3202, allocations: 163.4 kB / 362 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00718/0.3274, allocations: 1.659 MB / 363.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.3381, allocations: 2.358 MB / 366 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006765/0.3449, allocations: 1.611 MB / 367.6 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0167/0.3617, allocations: 10.46 MB / 378 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01894/0.3807, allocations: 9.464 MB / 387.5 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01019/0.3909, allocations: 4.552 MB / 392.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01029/0.4012, allocations: 5.468 MB / 397.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004792/0.4061, allocations: 1.359 MB / 398.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006554/0.4127, allocations: 1.73 MB / 400.6 MB, free: 8.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005371/0.4181, allocations: 3.004 MB / 403.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01199/0.4301, allocations: 5.64 MB / 409.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02515/0.4553, allocations: 17.32 MB / 426.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.4553, allocations: 0 / 426.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4554, allocations: 0 / 426.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006738/0.456, allocations: 0 / 426.6 MB, free: 14.09 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.03952/0.4956, allocations: 10.95 MB / 437.5 MB, free: 3.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.4956, allocations: 11.89 kB / 437.5 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/0.5088, allocations: 2.082 MB / 439.6 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01762/0.5265, allocations: 5.501 MB / 445.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008199/0.5273, allocations: 0.6387 MB / 445.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004575/0.5319, allocations: 0.8513 MB / 446.6 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3663/0.8982, allocations: 11.44 MB / 458.1 MB, free: 96.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003015/0.8986, allocations: 9.594 kB / 458.1 MB, free: 96.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001706/0.9003, allocations: 355.9 kB / 458.4 MB, free: 96.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005669/0.9009, allocations: 379.1 kB / 458.8 MB, free: 96.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01915/0.92, allocations: 9.665 MB / 468.5 MB, free: 92.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06265/0.9827, allocations: 35.83 MB / 0.4925 GB, free: 64.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/0.9951, allocations: 16.97 MB / 0.509 GB, free: 45.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004961/1, allocations: 3.522 MB / 0.5125 GB, free: 42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01546/1.016, allocations: 9.773 MB / 0.522 GB, free: 32.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/1.016, allocations: 64.97 kB / 0.5221 GB, free: 31.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=308): time 6.052e-06/1.016, allocations: 0 / 0.5221 GB, free: 31.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=360): time 0.03217/1.048, allocations: 15.5 MB / 0.5372 GB, free: 16.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/1.048, allocations: 90.22 kB / 0.5373 GB, free: 16.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007403/1.055, allocations: 4.512 MB / 0.5417 GB, free: 11.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005011/1.056, allocations: 85.7 kB / 0.5418 GB, free: 11.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001897/1.058, allocations: 3.89 MB / 0.5456 GB, free: 7.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001039/1.059, allocations: 1.226 MB / 0.5468 GB, free: 6.398 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/1.06, allocations: 0.7885 MB / 0.5476 GB, free: 5.598 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.31e-05/1.06, allocations: 301.1 kB / 0.5478 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002836/1.063, allocations: 1.914 MB / 0.5497 GB, free: 3.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003505/1.067, allocations: 3.375 MB / 0.553 GB, free: 15.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008564/1.075, allocations: 5.653 MB / 0.5585 GB, free: 9.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-05/1.075, allocations: 15.94 kB / 0.5585 GB, free: 8.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01327/1.089, allocations: 6.565 MB / 0.565 GB, free: 2.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.97e-05/1.089, allocations: 24 kB / 0.565 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.385e-05/1.089, allocations: 48 kB / 0.565 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/1.091, allocations: 0.7523 MB / 0.5658 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004358/1.095, allocations: 1.065 MB / 0.5668 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/1.107, allocations: 11.11 MB / 0.5776 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004992/1.112, allocations: 247.6 kB / 0.5779 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/1.113, allocations: 204 kB / 0.5781 GB, free: 4.379 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * 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 (534): * Single equations (assignments): 526 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 4 systems {(2,13,100.0%), (1,5,100.0%), (2,13,100.0%), (3,14,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006779/1.12, allocations: 2.538 MB / 0.5806 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001935/1.122, allocations: 490 kB / 0.581 GB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/1.135, allocations: 5.455 MB / 0.5863 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.799e-05/1.135, allocations: 36 kB / 0.5864 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.216e-05/1.135, allocations: 12 kB / 0.5864 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.037e-05/1.135, allocations: 15.94 kB / 0.5864 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03009/1.165, allocations: 12.97 MB / 0.5991 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/1.165, allocations: 4 kB / 0.5991 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00291/1.168, allocations: 0.6053 MB / 0.5997 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002807/1.171, allocations: 0.937 MB / 0.6006 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006383/1.172, allocations: 87.97 kB / 0.6007 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2429/1.414, allocations: 15.36 MB / 0.6157 GB, free: 144.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.25e-05/1.414, allocations: 12.59 kB / 0.6157 GB, free: 144.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/1.427, allocations: 8.025 MB / 0.6235 GB, free: 142.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00244/1.43, allocations: 0.9843 MB / 0.6245 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009289/1.431, allocations: 83.39 kB / 0.6246 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002402/1.433, allocations: 185.7 kB / 0.6247 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006009/1.434, allocations: 281.3 kB / 0.625 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/1.434, allocations: 103.6 kB / 0.6251 GB, free: 141.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003887/1.438, allocations: 3.068 MB / 0.6281 GB, free: 140.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.61e-07/1.438, allocations: 0 / 0.6281 GB, free: 140.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004795/1.443, allocations: 1.477 MB / 0.6295 GB, free: 140.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.strayReluctance.Phi.re,smee3.stator.strayReluctance.Phi.im) * 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 (284): * Single equations (assignments): 277 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,13,100.0%), (2,13,100.0%), (4,33,93.8%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006421/1.443, allocations: 246.2 kB / 0.6298 GB, free: 140.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01979/1.463, allocations: 8.191 MB / 0.6378 GB, free: 137.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/1.463, allocations: 7.094 kB / 0.6378 GB, free: 137.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006439/1.47, allocations: 3.411 MB / 0.6411 GB, free: 135.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006679/1.476, allocations: 1.147 MB / 0.6422 GB, free: 135.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02673/1.503, allocations: 18.65 MB / 0.6604 GB, free: 118.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005266/1.508, allocations: 5.063 MB / 0.6654 GB, free: 114.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004127/1.513, allocations: 1.058 MB / 0.6664 GB, free: 114 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/1.514, allocations: 331.4 kB / 0.6667 GB, free: 113.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/1.514, allocations: 4 kB / 0.6667 GB, free: 113.7 MB / 446.1 MB Notification: Performance of Templates: time 0.1559/1.67, allocations: 69.65 MB / 0.7348 GB, free: 44.02 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1)