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.006186/0.006186, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001213/0.001213, allocations: 192.5 kB / 16.67 MB, free: 5.52 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.504/1.504, allocations: 205.1 MB / 222.5 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.001418/0.001419, allocations: 55.92 kB / 326.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1056, allocations: 46.62 MB / 373.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.2851/0.3908, allocations: 29.42 MB / 402.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02186/0.4127, allocations: 8.123 MB / 410.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009301/0.422, allocations: 172.2 kB / 410.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008284/0.4304, allocations: 1.976 MB / 412.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01469/0.4452, allocations: 2.744 MB / 415.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007307/0.4525, allocations: 1.773 MB / 417.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01797/0.4705, allocations: 10.22 MB / 427.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0165/0.487, allocations: 9.465 MB / 437.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01106/0.4982, allocations: 4.782 MB / 441.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01101/0.5092, allocations: 5.53 MB / 447.4 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003371/0.5126, allocations: 1.367 MB / 448.8 MB, free: 3.828 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005198/0.5178, allocations: 1.726 MB / 450.5 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003389/0.5213, allocations: 3.031 MB / 453.5 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01113/0.5324, allocations: 5.648 MB / 459.2 MB, free: 9.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02836/0.5608, allocations: 17.53 MB / 476.7 MB, free: 7.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.5609, allocations: 0 / 476.7 MB, free: 7.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5609, allocations: 0 / 476.7 MB, free: 7.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006687/0.5616, allocations: 4 kB / 476.7 MB, free: 7.801 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.03548/0.5971, allocations: 10.96 MB / 487.7 MB, free: 12.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.5971, allocations: 15.88 kB / 487.7 MB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.6082, allocations: 2.074 MB / 489.8 MB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01293/0.6211, allocations: 5.882 MB / 495.6 MB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006541/0.6218, allocations: 0.6386 MB / 496.3 MB, free: 4.035 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002446/0.6243, allocations: 0.8478 MB / 497.1 MB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02608/0.6504, allocations: 11.43 MB / 0.4966 GB, free: 7.676 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002156/0.6506, allocations: 11.91 kB / 0.4967 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001241/0.6519, allocations: 364 kB / 0.497 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003409/0.6522, allocations: 377.5 kB / 0.4974 GB, free: 6.938 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02259/0.6748, allocations: 9.634 MB / 0.5068 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07079/0.7456, allocations: 35.22 MB / 0.5412 GB, free: 9.168 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.402/1.148, allocations: 16.94 MB / 0.5577 GB, free: 130.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008369/1.156, allocations: 3.486 MB / 0.5611 GB, free: 130.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01893/1.175, allocations: 9.645 MB / 0.5705 GB, free: 125.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/1.175, allocations: 66.09 kB / 0.5706 GB, free: 125.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=308): time 5.951e-06/1.175, allocations: 3.469 kB / 0.5706 GB, free: 125.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=360): time 0.03261/1.208, allocations: 15.32 MB / 0.5856 GB, free: 119.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/1.208, allocations: 92.59 kB / 0.5856 GB, free: 119 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007788/1.216, allocations: 4.444 MB / 0.59 GB, free: 117.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000581/1.216, allocations: 81.52 kB / 0.5901 GB, free: 117.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001925/1.218, allocations: 3.885 MB / 0.5939 GB, free: 114.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001203/1.219, allocations: 1.226 MB / 0.5951 GB, free: 113.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/1.221, allocations: 0.7852 MB / 0.5958 GB, free: 113 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.357e-05/1.221, allocations: 309.1 kB / 0.5961 GB, free: 112.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002625/1.223, allocations: 1.885 MB / 0.598 GB, free: 112 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003064/1.226, allocations: 3.363 MB / 0.6012 GB, free: 109.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006317/1.233, allocations: 5.596 MB / 0.6067 GB, free: 105.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.709e-05/1.233, allocations: 19.33 kB / 0.6067 GB, free: 105.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.009704/1.242, allocations: 6.508 MB / 0.6131 GB, free: 99.83 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/1.242, allocations: 24 kB / 0.6131 GB, free: 99.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.726e-05/1.243, allocations: 48.88 kB / 0.6131 GB, free: 99.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001663/1.244, allocations: 0.7331 MB / 0.6139 GB, free: 99.01 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003499/1.248, allocations: 1.053 MB / 0.6149 GB, free: 97.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008379/1.256, allocations: 11.01 MB / 0.6256 GB, free: 86.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004171/1.26, allocations: 235.6 kB / 0.6259 GB, free: 86.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004847/1.261, allocations: 210.7 kB / 0.6261 GB, free: 85.99 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.003933/1.265, allocations: 2.542 MB / 0.6286 GB, free: 83.44 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/1.266, allocations: 490 kB / 0.629 GB, free: 82.95 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008035/1.274, allocations: 5.391 MB / 0.6343 GB, free: 77.47 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.615e-05/1.274, allocations: 36 kB / 0.6343 GB, free: 77.43 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.096e-05/1.274, allocations: 15.94 kB / 0.6343 GB, free: 77.42 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.803e-05/1.274, allocations: 19.94 kB / 0.6344 GB, free: 77.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02253/1.297, allocations: 12.8 MB / 0.6469 GB, free: 64.44 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/1.297, allocations: 11.94 kB / 0.6469 GB, free: 64.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00248/1.299, allocations: 0.6052 MB / 0.6475 GB, free: 63.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001978/1.301, allocations: 0.906 MB / 0.6483 GB, free: 62.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003154/1.301, allocations: 83.97 kB / 0.6484 GB, free: 62.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/1.314, allocations: 15.27 MB / 0.6633 GB, free: 46.88 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.314, allocations: 4 kB / 0.6633 GB, free: 46.88 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/1.325, allocations: 7.957 MB / 0.6711 GB, free: 38.73 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002576/1.328, allocations: 0.9598 MB / 0.672 GB, free: 37.74 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007218/1.329, allocations: 83.92 kB / 0.6721 GB, free: 37.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002292/1.331, allocations: 179.8 kB / 0.6723 GB, free: 37.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005622/1.332, allocations: 278.2 kB / 0.6726 GB, free: 37.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/1.332, allocations: 104 kB / 0.6727 GB, free: 37.11 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004226/1.336, allocations: 3.009 MB / 0.6756 GB, free: 34.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/1.336, allocations: 0 / 0.6756 GB, free: 34.11 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005496/1.342, allocations: 1.458 MB / 0.677 GB, free: 32.65 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.0006405/1.342, allocations: 242.7 kB / 0.6773 GB, free: 32.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008067/1.35, allocations: 5.604 MB / 0.6827 GB, free: 26.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.35, allocations: 4 kB / 0.6827 GB, free: 26.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004949/1.355, allocations: 3.399 MB / 0.686 GB, free: 23.24 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006204/1.362, allocations: 1.156 MB / 0.6872 GB, free: 22.09 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02565/1.387, allocations: 14.79 MB / 0.7016 GB, free: 7.219 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00485/1.392, allocations: 5.068 MB / 0.7066 GB, free: 2.109 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003514/1.396, allocations: 1.064 MB / 0.7076 GB, free: 1.039 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009144/1.397, allocations: 327.4 kB / 0.7079 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of SimCode: time 1.473e-06/1.397, allocations: 0 / 0.7079 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of Templates: time 0.3513/1.748, allocations: 64.46 MB / 0.7709 GB, free: 147.7 MB / 0.4982 GB 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)