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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,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=12000,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/Complex 3.2.1+maint.om/package.mo): time 0.009759/0.009759, allocations: 166.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.377/1.377, allocations: 170.8 MB / 186.6 MB, free: 0.9688 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001604/0.001604, allocations: 106.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003042, allocations: 8 kB / 274.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2307, allocations: 38.77 MB / 312.9 MB, free: 38.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3282/0.559, allocations: 107 MB / 419.9 MB, free: 88.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.5593, allocations: 89.7 kB / 420 MB, free: 88.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6758/1.235, allocations: 181.1 MB / 0.5871 GB, free: 38.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.235, allocations: 0 / 0.5871 GB, free: 38.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006558/1.236, allocations: 204.5 kB / 0.5873 GB, free: 38.53 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2140 * Number of variables: 2140 Notification: Performance of Generate backend data structure: time 0.02544/1.261, allocations: 8.385 MB / 0.5955 GB, free: 35.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.261, allocations: 14 kB / 0.5955 GB, free: 35.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007499/1.269, allocations: 1.36 MB / 0.5968 GB, free: 35.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01592/1.285, allocations: 5.88 MB / 0.6025 GB, free: 34.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008184/1.286, allocations: 0.5952 MB / 0.6031 GB, free: 34.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003876/1.29, allocations: 0.7932 MB / 0.6039 GB, free: 34.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02992/1.32, allocations: 10.39 MB / 0.614 GB, free: 33.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004761/1.32, allocations: 13.86 kB / 0.6141 GB, free: 33.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002721/1.323, allocations: 343.3 kB / 0.6144 GB, free: 33.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000328/1.323, allocations: 335.9 kB / 0.6147 GB, free: 33.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02613/1.349, allocations: 8.062 MB / 0.6226 GB, free: 30.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0722/1.422, allocations: 33.08 MB / 0.6549 GB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008127/1.43, allocations: 6.069 MB / 0.6608 GB, free: 5.902 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/1.43, allocations: 52.89 kB / 0.6609 GB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.2e-05/1.43, allocations: 64.88 kB / 0.6609 GB, free: 5.781 MB / 362.7 MB Notification: Performance of pre-optimization done (n=295): time 5.13e-06/1.43, allocations: 0 / 0.6609 GB, free: 5.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=349): time 0.04104/1.471, allocations: 16.11 MB / 0.6767 GB, free: 8.824 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/1.471, allocations: 93.97 kB / 0.6767 GB, free: 8.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006692/1.478, allocations: 3.789 MB / 0.6804 GB, free: 5.492 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006805/1.479, allocations: 81.7 kB / 0.6805 GB, free: 5.406 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002727/1.481, allocations: 3.638 MB / 0.6841 GB, free: 2.168 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001537/1.483, allocations: 1.185 MB / 0.6852 GB, free: 1.098 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/1.483, allocations: 84 kB / 0.6853 GB, free: 1.016 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003031/1.484, allocations: 471 kB / 0.6858 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00815/1.492, allocations: 2.28 MB / 0.688 GB, free: 0 / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2094/1.701, allocations: 3.106 MB / 0.691 GB, free: 50.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004079/1.705, allocations: 2.442 MB / 0.6934 GB, free: 50.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.442e-05/1.705, allocations: 8.5 kB / 0.6934 GB, free: 50.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01149/1.717, allocations: 6.439 MB / 0.6997 GB, free: 50.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.145e-05/1.717, allocations: 18.94 kB / 0.6997 GB, free: 50.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.265e-05/1.717, allocations: 43.72 kB / 0.6998 GB, free: 50.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002125/1.719, allocations: 0.9147 MB / 0.7007 GB, free: 50.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00377/1.723, allocations: 0.9565 MB / 0.7016 GB, free: 50.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/1.735, allocations: 12.37 MB / 0.7137 GB, free: 44.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004109/1.739, allocations: 234 kB / 0.7139 GB, free: 44.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006633/1.74, allocations: 174.9 kB / 0.7141 GB, free: 44.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 171 * 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 (469): * Single equations (assignments): 461 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,93.8%) 17,(1,100.0%) 5,(4,93.8%) 17,(3,77.8%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005832/1.746, allocations: 2.474 MB / 0.7165 GB, free: 44.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001334/1.747, allocations: 481.9 kB / 0.7169 GB, free: 44.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009507/1.757, allocations: 5.556 MB / 0.7224 GB, free: 44.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-05/1.757, allocations: 33.12 kB / 0.7224 GB, free: 44.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.194e-05/1.757, allocations: 14.81 kB / 0.7224 GB, free: 44.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.901e-05/1.757, allocations: 16.17 kB / 0.7224 GB, free: 44.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02869/1.786, allocations: 14.07 MB / 0.7362 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-05/1.786, allocations: 18.03 kB / 0.7362 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002296/1.788, allocations: 0.5566 MB / 0.7367 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002451/1.791, allocations: 1.046 MB / 0.7377 GB, free: 42.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002883/1.791, allocations: 81.84 kB / 0.7378 GB, free: 42.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01489/1.806, allocations: 16.04 MB / 0.7535 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/1.806, allocations: 19.33 kB / 0.7535 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/1.819, allocations: 9.26 MB / 0.7625 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003081/1.822, allocations: 0.9613 MB / 0.7635 GB, free: 25.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001524/1.823, allocations: 73.31 kB / 0.7636 GB, free: 25.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003005/1.826, allocations: 215.6 kB / 0.7638 GB, free: 25.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006243/1.827, allocations: 280.1 kB / 0.764 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/1.827, allocations: 96.36 kB / 0.7641 GB, free: 25.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005452/1.833, allocations: 2.898 MB / 0.7669 GB, free: 24.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.833, allocations: 3.75 kB / 0.767 GB, free: 24.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008009/1.841, allocations: 1.457 MB / 0.7684 GB, free: 23.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (259): * Single equations (assignments): 252 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,93.8%) 17,(4,93.8%) 33,(4,93.8%) 17,(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.001389/1.842, allocations: 0.4963 MB / 0.7689 GB, free: 23.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009419/1.851, allocations: 5.766 MB / 0.7745 GB, free: 21.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/1.852, allocations: 5.5 kB / 0.7745 GB, free: 21.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005765/1.857, allocations: 3.724 MB / 0.7781 GB, free: 19.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005867/1.863, allocations: 1.065 MB / 0.7792 GB, free: 19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02826/1.891, allocations: 17.44 MB / 0.7962 GB, free: 6.723 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005715/1.897, allocations: 5.122 MB / 0.8012 GB, free: 2.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003567/1.901, allocations: 0.9296 MB / 0.8021 GB, free: 2.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008223/1.902, allocations: 286.8 kB / 0.8024 GB, free: 2.023 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/1.902, allocations: 4 kB / 0.8024 GB, free: 2.02 MB / 378.7 MB Notification: Performance of Templates: time 0.3559/2.258, allocations: 67.81 MB / 0.8686 GB, free: 51.62 MB / 394.7 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)