Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001063/0.001063, allocations: 91.84 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.001285/0.001285, 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.799/1.799, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.000683/0.0006834, allocations: 12 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2919, allocations: 47.58 MB / 326.5 MB, free: 1.555 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.0325/0.3245, allocations: 25.87 MB / 352.3 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01968/0.3442, allocations: 7.64 MB / 360 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007949/0.3522, allocations: 163.4 kB / 360.1 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007968/0.3602, allocations: 1.386 MB / 361.5 MB, free: 444 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.3722, allocations: 2.198 MB / 363.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006669/0.3789, allocations: 1.162 MB / 364.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02022/0.3991, allocations: 10.05 MB / 374.9 MB, free: 2.969 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01578/0.4149, allocations: 6.127 MB / 381.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008548/0.4235, allocations: 3.245 MB / 384.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009416/0.433, allocations: 4.213 MB / 388.5 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003541/0.4366, allocations: 0.5391 MB / 389.1 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006367/0.443, allocations: 0.8511 MB / 389.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005361/0.4484, allocations: 2.016 MB / 391.9 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005821/0.4542, allocations: 1.892 MB / 393.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02492/0.4792, allocations: 14.34 MB / 408.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.4793, allocations: 0 / 408.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4793, allocations: 0 / 408.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0008002/0.4801, allocations: 0 / 408.2 MB, free: 1.602 MB / 334.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.03105/0.5112, allocations: 9.311 MB / 417.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.5112, allocations: 8.031 kB / 417.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/0.524, allocations: 2.089 MB / 419.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01782/0.5418, allocations: 5.37 MB / 424.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001439/0.5434, allocations: 0.646 MB / 425.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00454/0.5479, allocations: 0.8551 MB / 426.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0392/0.5872, allocations: 11.4 MB / 437.8 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003187/0.5875, allocations: 15.83 kB / 437.8 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002439/0.59, allocations: 360 kB / 438.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004469/0.5904, allocations: 373.5 kB / 438.6 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02538/0.6158, allocations: 9.653 MB / 448.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5051/1.121, allocations: 36.05 MB / 484.3 MB, free: 79.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01414/1.135, allocations: 16.95 MB / 0.4895 GB, free: 64.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006185/1.141, allocations: 3.54 MB / 0.4929 GB, free: 62.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01675/1.158, allocations: 9.823 MB / 0.5025 GB, free: 52.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/1.158, allocations: 76.89 kB / 0.5026 GB, free: 52.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=308): time 5.74e-06/1.158, allocations: 0 / 0.5026 GB, free: 52.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=360): time 0.03604/1.194, allocations: 15.84 MB / 0.5181 GB, free: 36.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/1.194, allocations: 86.22 kB / 0.5182 GB, free: 36.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007262/1.202, allocations: 4.48 MB / 0.5225 GB, free: 31.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007603/1.202, allocations: 81.7 kB / 0.5226 GB, free: 31.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002211/1.205, allocations: 3.886 MB / 0.5264 GB, free: 27.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001301/1.206, allocations: 1.222 MB / 0.5276 GB, free: 26.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002851/1.206, allocations: 95.94 kB / 0.5277 GB, free: 26.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002514/1.207, allocations: 488 kB / 0.5282 GB, free: 25.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003252/1.21, allocations: 1.938 MB / 0.53 GB, free: 24.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003509/1.213, allocations: 3.398 MB / 0.5334 GB, free: 19.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003872/1.217, allocations: 2.515 MB / 0.5358 GB, free: 17.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-05/1.217, allocations: 15.94 kB / 0.5358 GB, free: 17.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01109/1.228, allocations: 6.596 MB / 0.5423 GB, free: 10.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/1.228, allocations: 27.95 kB / 0.5423 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-05/1.229, allocations: 48.84 kB / 0.5423 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/1.23, allocations: 0.7552 MB / 0.5431 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003904/1.234, allocations: 1.088 MB / 0.5441 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009527/1.244, allocations: 10.17 MB / 0.5541 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005507/1.249, allocations: 263.2 kB / 0.5543 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/1.25, allocations: 208 kB / 0.5545 GB, free: 13.64 MB / 398.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 (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 {(2,100.0%) 13,(1,100.0%) 5,(2,100.0%) 13,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008513/1.259, allocations: 2.534 MB / 0.557 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002041/1.261, allocations: 494 kB / 0.5575 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/1.273, allocations: 5.509 MB / 0.5629 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.049e-05/1.273, allocations: 36 kB / 0.5629 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.952e-05/1.273, allocations: 12 kB / 0.5629 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.937e-05/1.273, allocations: 19.92 kB / 0.5629 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03059/1.304, allocations: 13.02 MB / 0.5756 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/1.304, allocations: 4 kB / 0.5756 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00272/1.307, allocations: 0.6326 MB / 0.5763 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002346/1.309, allocations: 0.9174 MB / 0.5772 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004097/1.309, allocations: 83.97 kB / 0.5772 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01633/1.326, allocations: 14.11 MB / 0.591 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/1.326, allocations: 11.94 kB / 0.591 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0183/1.344, allocations: 8.104 MB / 0.5989 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00378/1.348, allocations: 0.987 MB / 0.5999 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001457/1.349, allocations: 75.98 kB / 0.6 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003078/1.352, allocations: 219.8 kB / 0.6002 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007296/1.353, allocations: 278.3 kB / 0.6004 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000245/1.353, allocations: 95.97 kB / 0.6005 GB, free: 13.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007492/1.361, allocations: 3.032 MB / 0.6035 GB, free: 10.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.42e-07/1.361, allocations: 0 / 0.6035 GB, free: 10.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009019/1.37, allocations: 1.475 MB / 0.6049 GB, free: 8.863 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 13,(2,100.0%) 13,(4,93.8%) 33,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/1.371, allocations: 256.4 kB / 0.6052 GB, free: 8.609 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01105/1.382, allocations: 5.692 MB / 0.6107 GB, free: 2.812 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/1.382, allocations: 0.875 kB / 0.6107 GB, free: 2.812 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2228/1.605, allocations: 3.451 MB / 0.6141 GB, free: 153.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008244/1.613, allocations: 1.124 MB / 0.6152 GB, free: 153.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03067/1.644, allocations: 17.91 MB / 0.6327 GB, free: 145.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006411/1.651, allocations: 5.069 MB / 0.6377 GB, free: 143.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004589/1.655, allocations: 1.059 MB / 0.6387 GB, free: 143.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.656, allocations: 321.9 kB / 0.639 GB, free: 143.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/1.656, allocations: 3.844 kB / 0.639 GB, free: 143.2 MB / 446.1 MB Notification: Performance of Templates: time 0.1133/1.77, allocations: 64.69 MB / 0.7022 GB, free: 81.03 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1)