Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 95.16 kB / 16.3 MB, free: 6.004 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.001966/0.001965, allocations: 185.8 kB / 17.2 MB, free: 5.91 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.649/1.649, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.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.0004611/0.0004612, allocations: 11.28 kB / 280.1 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09277/0.09324, allocations: 47.57 MB / 327.7 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator): time 0.01921/0.1125, allocations: 19.26 MB / 347 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01305/0.1256, allocations: 6.94 MB / 353.9 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00321/0.1288, allocations: 123.5 kB / 354 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003279/0.1321, allocations: 1.154 MB / 355.2 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005843/0.138, allocations: 2.045 MB / 357.2 MB, free: 6.473 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.1408, allocations: 0.9708 MB / 358.2 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01127/0.1521, allocations: 4.821 MB / 363 MB, free: 0.668 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006511/0.1587, allocations: 3.678 MB / 366.7 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004148/0.1629, allocations: 2.191 MB / 368.9 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004946/0.1679, allocations: 2.739 MB / 371.6 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001355/0.1693, allocations: 360 kB / 372 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.1716, allocations: 0.6908 MB / 372.7 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001484/0.1731, allocations: 1.445 MB / 374.1 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001785/0.1749, allocations: 1.268 MB / 375.4 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1819/0.3567, allocations: 9.202 MB / 384.6 MB, free: 19.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.3568, allocations: 0.9688 kB / 384.6 MB, free: 19.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3568, allocations: 6.031 kB / 384.6 MB, free: 19.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004922/0.3573, allocations: 3.844 kB / 384.6 MB, free: 19.18 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.01932/0.3766, allocations: 6.293 MB / 390.9 MB, free: 16.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3767, allocations: 8.938 kB / 390.9 MB, free: 16.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007657/0.3843, allocations: 1.227 MB / 392.1 MB, free: 16.1 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/0.3947, allocations: 3.618 MB / 395.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005534/0.3953, allocations: 439.4 kB / 396.2 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003252/0.3986, allocations: 0.5573 MB / 396.7 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01656/0.4151, allocations: 7.218 MB / 403.9 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001278/0.4153, allocations: 15.75 kB / 404 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005492/0.4159, allocations: 228.2 kB / 404.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002157/0.4161, allocations: 264.7 kB / 404.4 MB, free: 13.19 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.4273, allocations: 6.128 MB / 410.6 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04308/0.4704, allocations: 23.89 MB / 434.4 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008496/0.479, allocations: 8.745 MB / 443.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01248/0.4915, allocations: 6.714 MB / 449.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.4915, allocations: 68.56 kB / 450 MB, free: 8.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=250): time 4.338e-06/0.4916, allocations: 0 / 450 MB, free: 8.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=296): time 0.03782/0.5294, allocations: 15.73 MB / 465.7 MB, free: 8.293 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.5295, allocations: 93.62 kB / 465.8 MB, free: 8.188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006149/0.5356, allocations: 3.403 MB / 469.2 MB, free: 4.797 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007665/0.5364, allocations: 77.7 kB / 469.3 MB, free: 4.715 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002112/0.5386, allocations: 2.642 MB / 471.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001097/0.5397, allocations: 1.007 MB / 472.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.5399, allocations: 79.67 kB / 473 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002538/0.5401, allocations: 454 kB / 473.4 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002753/0.5429, allocations: 1.617 MB / 475.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003427/0.5463, allocations: 2.783 MB / 477.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003405/0.5497, allocations: 2.082 MB / 479.9 MB, free: 9.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-05/0.5498, allocations: 8 kB / 479.9 MB, free: 9.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01026/0.5601, allocations: 5.619 MB / 485.6 MB, free: 4.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.352e-05/0.5602, allocations: 24 kB / 485.6 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.676e-05/0.5603, allocations: 36.62 kB / 485.6 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.5622, allocations: 0.6856 MB / 486.3 MB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00386/0.5661, allocations: 0.9068 MB / 487.2 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.5764, allocations: 9.709 MB / 496.9 MB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003822/0.5803, allocations: 239.6 kB / 497.1 MB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006659/0.581, allocations: 164 kB / 497.3 MB, free: 7.898 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 169 * 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 (437): * Single equations (assignments): 427 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 12,(1,100.0%) 3,(2,100.0%) 13,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003703/0.5847, allocations: 1.63 MB / 498.9 MB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/0.5857, allocations: 387.2 kB / 499.3 MB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00841/0.5942, allocations: 4.718 MB / 0.4922 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.389e-05/0.5943, allocations: 43.97 kB / 0.4923 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.531e-05/0.5943, allocations: 11.95 kB / 0.4923 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/0.5943, allocations: 11.95 kB / 0.4923 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02129/0.6156, allocations: 10.46 MB / 0.5025 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.89e-05/0.6157, allocations: 8 kB / 0.5025 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00265/0.6184, allocations: 0.546 MB / 0.503 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002054/0.6204, allocations: 0.7425 MB / 0.5038 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004359/0.6209, allocations: 81.92 kB / 0.5038 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01406/0.635, allocations: 13.2 MB / 0.5167 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/0.6351, allocations: 11.38 kB / 0.5167 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/0.6486, allocations: 7.673 MB / 0.5242 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002472/0.6512, allocations: 0.789 MB / 0.525 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/0.6523, allocations: 77.95 kB / 0.5251 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002788/0.6551, allocations: 187.8 kB / 0.5253 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005314/0.6557, allocations: 223.9 kB / 0.5255 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002613/0.656, allocations: 91.97 kB / 0.5256 GB, free: 13.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004446/0.6604, allocations: 2.29 MB / 0.5278 GB, free: 11.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6604, allocations: 3.375 kB / 0.5278 GB, free: 11.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00491/0.6654, allocations: 1.113 MB / 0.5289 GB, free: 10.31 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.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 (252): * Single equations (assignments): 242 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(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.0007107/0.6661, allocations: 243.7 kB / 0.5291 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008514/0.6746, allocations: 4.852 MB / 0.5339 GB, free: 5.258 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/0.6747, allocations: 0 / 0.5339 GB, free: 5.258 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005262/0.6799, allocations: 2.974 MB / 0.5368 GB, free: 2.266 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005259/0.6852, allocations: 0.8265 MB / 0.5376 GB, free: 1.438 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1867/0.872, allocations: 12.63 MB / 0.5499 GB, free: 153.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003036/0.8751, allocations: 3.62 MB / 0.5534 GB, free: 153 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002897/0.878, allocations: 0.866 MB / 0.5543 GB, free: 152.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006744/0.8787, allocations: 260.9 kB / 0.5545 GB, free: 152.9 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.8787, allocations: 0 / 0.5545 GB, free: 152.9 MB / 446.1 MB Notification: Performance of Templates: time 0.07055/0.9492, allocations: 50.4 MB / 0.6038 GB, free: 111.7 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe 2>&1) Environment - environmentSimulation: