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_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.2_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.2_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.001135/0.001135, allocations: 104.9 kB / 17.06 MB, free: 6.027 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.001199/0.001199, allocations: 195 kB / 17.99 MB, free: 5.109 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.424/1.424, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001454/0.001454, allocations: 55.94 kB / 327.9 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1025, allocations: 46.61 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.2495/0.352, allocations: 29.42 MB / 403.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02481/0.3769, allocations: 8.134 MB / 412.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009781/0.3868, allocations: 171.5 kB / 412.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007631/0.3945, allocations: 1.946 MB / 414.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01152/0.406, allocations: 2.652 MB / 416.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006449/0.4125, allocations: 1.766 MB / 418.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02006/0.4326, allocations: 10.22 MB / 428.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01409/0.4467, allocations: 9.471 MB / 438.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0109/0.4577, allocations: 4.782 MB / 443.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01163/0.4693, allocations: 5.538 MB / 448.6 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003963/0.4733, allocations: 1.367 MB / 450 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006291/0.4796, allocations: 1.714 MB / 451.7 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004679/0.4844, allocations: 3.035 MB / 454.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01003/0.4944, allocations: 5.656 MB / 460.4 MB, free: 9.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02054/0.515, allocations: 17.53 MB / 477.9 MB, free: 7.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.5151, allocations: 0 / 477.9 MB, free: 7.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5151, allocations: 0 / 477.9 MB, free: 7.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005212/0.5156, allocations: 0 / 477.9 MB, free: 7.941 MB / 398.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.03447/0.5501, allocations: 10.97 MB / 488.9 MB, free: 12.87 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5501, allocations: 15.83 kB / 488.9 MB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/0.5628, allocations: 2.074 MB / 491 MB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01439/0.5772, allocations: 5.874 MB / 496.8 MB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000736/0.578, allocations: 0.6464 MB / 497.5 MB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003056/0.581, allocations: 0.8478 MB / 498.3 MB, free: 3.324 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02988/0.611, allocations: 11.42 MB / 0.4978 GB, free: 7.816 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002699/0.6113, allocations: 7.906 kB / 0.4978 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002416/0.6137, allocations: 356 kB / 0.4982 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004479/0.6141, allocations: 377.5 kB / 0.4985 GB, free: 7.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02317/0.6373, allocations: 9.63 MB / 0.5079 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06913/0.7065, allocations: 35.23 MB / 0.5423 GB, free: 9.309 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3816/1.088, allocations: 16.93 MB / 0.5589 GB, free: 130.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007068/1.095, allocations: 3.49 MB / 0.5623 GB, free: 130.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01825/1.114, allocations: 9.645 MB / 0.5717 GB, free: 125.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/1.114, allocations: 66.52 kB / 0.5718 GB, free: 125.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=308): time 6.392e-06/1.114, allocations: 3.938 kB / 0.5718 GB, free: 125.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=360): time 0.03443/1.148, allocations: 15.31 MB / 0.5867 GB, free: 119.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/1.148, allocations: 91.22 kB / 0.5868 GB, free: 119.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007251/1.155, allocations: 4.442 MB / 0.5911 GB, free: 117.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005928/1.156, allocations: 89.98 kB / 0.5912 GB, free: 117.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002154/1.158, allocations: 3.882 MB / 0.595 GB, free: 114.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001194/1.159, allocations: 1.229 MB / 0.5962 GB, free: 113.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/1.161, allocations: 0.783 MB / 0.597 GB, free: 113.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.341e-05/1.161, allocations: 305.1 kB / 0.5973 GB, free: 112.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002634/1.163, allocations: 1.891 MB / 0.5991 GB, free: 112.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003067/1.166, allocations: 3.36 MB / 0.6024 GB, free: 109.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006671/1.173, allocations: 5.601 MB / 0.6079 GB, free: 105.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.085e-05/1.173, allocations: 12.62 kB / 0.6079 GB, free: 105.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.011/1.184, allocations: 6.512 MB / 0.6142 GB, free: 100 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/1.184, allocations: 24 kB / 0.6143 GB, free: 100 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-05/1.184, allocations: 44 kB / 0.6143 GB, free: 99.97 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/1.186, allocations: 0.7343 MB / 0.615 GB, free: 99.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003947/1.19, allocations: 1.064 MB / 0.6161 GB, free: 98.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009067/1.199, allocations: 11 MB / 0.6268 GB, free: 86.63 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004986/1.204, allocations: 239.3 kB / 0.627 GB, free: 86.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008329/1.205, allocations: 204 kB / 0.6272 GB, free: 86.2 MB / 478.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.00484/1.21, allocations: 2.538 MB / 0.6297 GB, free: 83.65 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.211, allocations: 490 kB / 0.6302 GB, free: 83.16 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008194/1.219, allocations: 5.402 MB / 0.6355 GB, free: 77.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.373e-05/1.219, allocations: 40 kB / 0.6355 GB, free: 77.64 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/1.219, allocations: 15.94 kB / 0.6355 GB, free: 77.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-05/1.219, allocations: 15.94 kB / 0.6355 GB, free: 77.61 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02278/1.242, allocations: 12.8 MB / 0.648 GB, free: 64.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/1.242, allocations: 8.562 kB / 0.648 GB, free: 64.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002566/1.245, allocations: 0.6046 MB / 0.6486 GB, free: 64.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002142/1.247, allocations: 0.9054 MB / 0.6495 GB, free: 63.11 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004375/1.247, allocations: 87.97 kB / 0.6496 GB, free: 63.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/1.26, allocations: 15.26 MB / 0.6645 GB, free: 47.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.26, allocations: 11.84 kB / 0.6645 GB, free: 47.08 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/1.272, allocations: 7.947 MB / 0.6723 GB, free: 38.94 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003203/1.275, allocations: 0.9714 MB / 0.6732 GB, free: 37.94 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001164/1.276, allocations: 72 kB / 0.6733 GB, free: 37.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002692/1.279, allocations: 179.8 kB / 0.6735 GB, free: 37.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006071/1.28, allocations: 282.2 kB / 0.6737 GB, free: 37.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002188/1.28, allocations: 99.97 kB / 0.6738 GB, free: 37.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004323/1.284, allocations: 3.013 MB / 0.6768 GB, free: 34.31 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.284, allocations: 0 / 0.6768 GB, free: 34.31 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006576/1.291, allocations: 1.462 MB / 0.6782 GB, free: 32.86 MB / 478.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.0008668/1.292, allocations: 244.6 kB / 0.6784 GB, free: 32.62 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008459/1.3, allocations: 5.599 MB / 0.6839 GB, free: 26.92 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/1.3, allocations: 4 kB / 0.6839 GB, free: 26.92 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005149/1.305, allocations: 3.392 MB / 0.6872 GB, free: 23.46 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005736/1.311, allocations: 1.164 MB / 0.6883 GB, free: 22.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02686/1.338, allocations: 14.79 MB / 0.7028 GB, free: 7.418 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006114/1.344, allocations: 5.068 MB / 0.7077 GB, free: 2.309 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003912/1.348, allocations: 1.056 MB / 0.7088 GB, free: 1.246 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008811/1.349, allocations: 327.3 kB / 0.7091 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of SimCode: time 6.62e-07/1.349, allocations: 0 / 0.7091 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of Templates: time 0.3394/1.689, allocations: 65.35 MB / 0.7729 GB, free: 147.2 MB / 0.4982 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1)