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.001382/0.001382, allocations: 157.9 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.302/1.302, allocations: 170.7 MB / 178.7 MB, free: 7.035 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.001577/0.001577, allocations: 106.5 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.356e-05/2.359e-05, allocations: 0 / 262.2 MB, free: 3.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2294, allocations: 38.76 MB / 301 MB, free: 39.14 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.3529, allocations: 106.3 MB / 407.3 MB, free: 5.289 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.3532, allocations: 86.05 kB / 407.3 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7981/1.151, allocations: 179.1 MB / 0.5727 GB, free: 22.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/1.151, allocations: 0 / 0.5727 GB, free: 22.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0008118/1.152, allocations: 196.3 kB / 0.5729 GB, free: 22.35 MB / 346.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.02498/1.177, allocations: 7.6 MB / 0.5803 GB, free: 19.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/1.177, allocations: 9.625 kB / 0.5803 GB, free: 19.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007881/1.185, allocations: 1.351 MB / 0.5817 GB, free: 19.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01577/1.201, allocations: 5.847 MB / 0.5874 GB, free: 18.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005422/1.201, allocations: 267.2 kB / 0.5876 GB, free: 18.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002851/1.204, allocations: 483.8 kB / 0.5881 GB, free: 18.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01791/1.222, allocations: 7.253 MB / 0.5952 GB, free: 18.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02294/1.245, allocations: 8.972 MB / 0.6039 GB, free: 17.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002033/1.245, allocations: 13.64 kB / 0.6039 GB, free: 17.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007825/1.246, allocations: 7.047 kB / 0.604 GB, free: 17.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002694/1.247, allocations: 334.9 kB / 0.6043 GB, free: 17.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05217/1.299, allocations: 31.52 MB / 0.6351 GB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004685/1.303, allocations: 5.828 MB / 0.6407 GB, free: 3.422 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003365/1.307, allocations: 2.693 MB / 0.6434 GB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/1.307, allocations: 39.83 kB / 0.6434 GB, free: 2.438 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/1.307, allocations: 69.17 kB / 0.6435 GB, free: 2.371 MB / 346.7 MB Notification: Performance of pre-optimization done (n=297): time 4.929e-06/1.307, allocations: 0 / 0.6435 GB, free: 2.371 MB / 346.7 MB Notification: Performance of matching and sorting (n=355): time 0.02233/1.329, allocations: 11.07 MB / 0.6543 GB, free: 13.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/1.33, allocations: 87.47 kB / 0.6544 GB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005798/1.335, allocations: 3.067 MB / 0.6574 GB, free: 12.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006707/1.336, allocations: 29.7 kB / 0.6574 GB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002639/1.339, allocations: 3.634 MB / 0.6609 GB, free: 9.637 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001357/1.34, allocations: 1.157 MB / 0.6621 GB, free: 8.723 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/1.34, allocations: 3.375 kB / 0.6621 GB, free: 8.723 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002486/1.341, allocations: 469.2 kB / 0.6625 GB, free: 8.344 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/1.343, allocations: 1.634 MB / 0.6641 GB, free: 7.633 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003029/1.346, allocations: 2.877 MB / 0.6669 GB, free: 5.082 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003043/1.349, allocations: 2.197 MB / 0.6691 GB, free: 3.191 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.095e-05/1.349, allocations: 12 kB / 0.6691 GB, free: 3.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=543) (initialization): time 0.01309/1.362, allocations: 5.966 MB / 0.6749 GB, free: 15.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/1.362, allocations: 20.91 kB / 0.6749 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-05/1.362, allocations: 42.53 kB / 0.675 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002144/1.364, allocations: 0.8957 MB / 0.6758 GB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003717/1.368, allocations: 0.949 MB / 0.6768 GB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/1.382, allocations: 11.83 MB / 0.6883 GB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004732/1.386, allocations: 139.3 kB / 0.6885 GB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009218/1.387, allocations: 183.9 kB / 0.6886 GB, free: 2.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 179 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (471): * Single equations (assignments): 463 * 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%) 19,(1,100.0%) 5,(4,93.8%) 19,(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007256/1.388, allocations: 221.4 kB / 0.6888 GB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/1.389, allocations: 438.6 kB / 0.6893 GB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2198/1.609, allocations: 4.994 MB / 0.6941 GB, free: 46.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.57e-05/1.609, allocations: 33.06 kB / 0.6942 GB, free: 46.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/1.609, allocations: 13.69 kB / 0.6942 GB, free: 46.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/1.609, allocations: 15.19 kB / 0.6942 GB, free: 46.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01965/1.629, allocations: 12.91 MB / 0.7068 GB, free: 45.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-05/1.629, allocations: 12.47 kB / 0.7068 GB, free: 45.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0021/1.631, allocations: 0.5653 MB / 0.7074 GB, free: 45.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002392/1.633, allocations: 1.057 MB / 0.7084 GB, free: 45.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/1.634, allocations: 32.73 kB / 0.7084 GB, free: 45.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/1.648, allocations: 15.14 MB / 0.7232 GB, free: 38.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.728e-05/1.648, allocations: 15.75 kB / 0.7232 GB, free: 38.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/1.659, allocations: 8.725 MB / 0.7318 GB, free: 36.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002147/1.661, allocations: 0.9053 MB / 0.7326 GB, free: 36.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006055/1.661, allocations: 26.33 kB / 0.7327 GB, free: 36.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/1.663, allocations: 147.1 kB / 0.7328 GB, free: 36.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000517/1.664, allocations: 289.3 kB / 0.7331 GB, free: 36.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/1.664, allocations: 112.6 kB / 0.7332 GB, free: 36.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003772/1.668, allocations: 2.272 MB / 0.7354 GB, free: 36.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/1.668, allocations: 0 / 0.7354 GB, free: 36.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005539/1.673, allocations: 1.262 MB / 0.7366 GB, free: 36.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.port_n.Phi.re,smeeM.stator.port_n.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smee3.phiMechanical,smee3.stator.port_n.Phi.re,smee3.stator.port_n.Phi.im,smee3.stator.strayReluctance.Phi.re,smee3.stator.strayReluctance.Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (264): * Single equations (assignments): 257 * 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%) 19,(4,93.8%) 32,(4,93.8%) 19,(1,100.0%) 4,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007654/1.674, allocations: 494.3 kB / 0.7371 GB, free: 35.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006578/1.681, allocations: 5.184 MB / 0.7422 GB, free: 35.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.457e-06/1.681, allocations: 3.062 kB / 0.7422 GB, free: 35.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004704/1.685, allocations: 3.546 MB / 0.7456 GB, free: 34.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004597/1.69, allocations: 0.7691 MB / 0.7464 GB, free: 34.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/1.711, allocations: 11.73 MB / 0.7578 GB, free: 31.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005901/1.717, allocations: 5.12 MB / 0.7628 GB, free: 30.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003474/1.721, allocations: 0.8709 MB / 0.7637 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000853/1.722, allocations: 268.6 kB / 0.764 GB, free: 30.58 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/1.722, allocations: 0 / 0.764 GB, free: 30.58 MB / 378.7 MB Notification: Performance of Templates: time 0.0822/1.804, allocations: 53.23 MB / 0.8159 GB, free: 10.06 MB / 378.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)