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.001006/0.001006, allocations: 170 kB / 12.72 MB, free: 2.594 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.111/1.111, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001664/0.001663, allocations: 109 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.83e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06566/0.0657, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2934/0.3592, allocations: 106.9 MB / 414.6 MB, free: 1.988 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.3595, allocations: 85.45 kB / 414.7 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5628/0.9223, allocations: 181.4 MB / 0.5821 GB, free: 3.781 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.9223, allocations: 0 / 0.5821 GB, free: 3.781 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005971/0.9229, allocations: 207.7 kB / 0.5823 GB, free: 3.578 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.4322/1.355, allocations: 7.597 MB / 0.5897 GB, free: 16.67 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.355, allocations: 9.906 kB / 0.5897 GB, free: 16.67 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00897/1.364, allocations: 1.35 MB / 0.591 GB, free: 16.2 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01676/1.381, allocations: 5.852 MB / 0.5967 GB, free: 15.47 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007792/1.382, allocations: 0.6029 MB / 0.5973 GB, free: 15.45 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003652/1.385, allocations: 0.7899 MB / 0.5981 GB, free: 15.44 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0287/1.414, allocations: 10.17 MB / 0.608 GB, free: 14.54 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002526/1.414, allocations: 6.938 kB / 0.608 GB, free: 14.54 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001395/1.416, allocations: 342.2 kB / 0.6084 GB, free: 14.54 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002726/1.416, allocations: 334.2 kB / 0.6087 GB, free: 14.52 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01929/1.435, allocations: 7.73 MB / 0.6162 GB, free: 14.45 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05568/1.491, allocations: 33.09 MB / 0.6485 GB, free: 4.992 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005769/1.497, allocations: 5.954 MB / 0.6544 GB, free: 16.74 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003763/1.501, allocations: 2.779 MB / 0.6571 GB, free: 15.77 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/1.501, allocations: 46 kB / 0.6571 GB, free: 15.76 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/1.501, allocations: 66.88 kB / 0.6572 GB, free: 15.7 MB / 362.8 MB Notification: Performance of pre-optimization done (n=295): time 4.98e-06/1.501, allocations: 0 / 0.6572 GB, free: 15.7 MB / 362.8 MB Notification: Performance of matching and sorting (n=353): time 0.02488/1.526, allocations: 11.61 MB / 0.6685 GB, free: 10.34 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/1.526, allocations: 90.25 kB / 0.6686 GB, free: 10.27 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009134/1.535, allocations: 3.744 MB / 0.6723 GB, free: 8.84 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006383/1.536, allocations: 84.64 kB / 0.6723 GB, free: 8.762 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002901/1.539, allocations: 3.638 MB / 0.6759 GB, free: 6.012 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00153/1.54, allocations: 1.194 MB / 0.6771 GB, free: 5.082 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004499/1.541, allocations: 87.34 kB / 0.6771 GB, free: 5.016 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0003364/1.541, allocations: 474.5 kB / 0.6776 GB, free: 4.637 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002805/1.544, allocations: 1.714 MB / 0.6793 GB, free: 3.926 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003281/1.547, allocations: 2.973 MB / 0.6822 GB, free: 1.637 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003093/1.55, allocations: 2.289 MB / 0.6844 GB, free: 0.6758 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/1.55, allocations: 13.38 kB / 0.6844 GB, free: 0.6758 MB / 362.8 MB Notification: Performance of matching and sorting (n=541) (initialization): time 0.009872/1.56, allocations: 6.143 MB / 0.6904 GB, free: 13.59 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/1.56, allocations: 24 kB / 0.6904 GB, free: 13.56 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.057e-05/1.56, allocations: 45.48 kB / 0.6905 GB, free: 13.52 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/1.563, allocations: 0.9261 MB / 0.6914 GB, free: 12.73 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003658/1.566, allocations: 0.951 MB / 0.6923 GB, free: 11.97 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/1.581, allocations: 12.26 MB / 0.7043 GB, free: 184 kB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004663/1.586, allocations: 241.4 kB / 0.7045 GB, free: 0 / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001778/1.587, allocations: 257.1 kB / 0.7048 GB, free: 0 / 378.8 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 (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%) 19,(1,100.0%) 5,(4,93.8%) 19,(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001403/1.589, allocations: 369.3 kB / 0.7051 GB, free: 15.69 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001383/1.59, allocations: 477.5 kB / 0.7056 GB, free: 15.22 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009919/1.6, allocations: 5.242 MB / 0.7107 GB, free: 10.68 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.722e-05/1.6, allocations: 32 kB / 0.7107 GB, free: 10.65 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-05/1.6, allocations: 16 kB / 0.7107 GB, free: 10.63 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.923e-05/1.6, allocations: 21.39 kB / 0.7108 GB, free: 10.63 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0282/1.629, allocations: 14.4 MB / 0.7248 GB, free: 14.81 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.756e-05/1.629, allocations: 15.42 kB / 0.7248 GB, free: 14.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002391/1.631, allocations: 0.5631 MB / 0.7254 GB, free: 14.32 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002631/1.634, allocations: 1.066 MB / 0.7264 GB, free: 13.43 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003289/1.634, allocations: 83.52 kB / 0.7265 GB, free: 13.36 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2334/1.867, allocations: 15.74 MB / 0.7419 GB, free: 69.86 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.83e-05/1.867, allocations: 17 kB / 0.7419 GB, free: 69.86 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/1.879, allocations: 9.322 MB / 0.751 GB, free: 66.96 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002811/1.882, allocations: 0.963 MB / 0.7519 GB, free: 66.87 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/1.883, allocations: 79.12 kB / 0.752 GB, free: 66.87 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003153/1.887, allocations: 207.3 kB / 0.7522 GB, free: 66.87 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000654/1.887, allocations: 287.4 kB / 0.7525 GB, free: 66.86 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000237/1.888, allocations: 106.2 kB / 0.7526 GB, free: 66.86 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.005633/1.893, allocations: 2.843 MB / 0.7554 GB, free: 66.66 MB / 410.8 MB Notification: Performance of sort global known variables: time 5.21e-07/1.893, allocations: 0 / 0.7554 GB, free: 66.66 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.006506/1.9, allocations: 1.461 MB / 0.7568 GB, free: 66.66 MB / 410.8 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 (263): * Single equations (assignments): 256 * 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.001102/1.901, allocations: 0.6375 MB / 0.7574 GB, free: 66.53 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.008326/1.909, allocations: 5.445 MB / 0.7627 GB, free: 65.7 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/1.909, allocations: 6.406 kB / 0.7627 GB, free: 65.7 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005833/1.915, allocations: 3.683 MB / 0.7663 GB, free: 64.99 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005809/1.921, allocations: 1.07 MB / 0.7674 GB, free: 64.97 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/1.943, allocations: 12.02 MB / 0.7791 GB, free: 62.1 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004502/1.948, allocations: 5.133 MB / 0.7841 GB, free: 61.15 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003405/1.951, allocations: 0.9213 MB / 0.785 GB, free: 61.05 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000787/1.952, allocations: 295.6 kB / 0.7853 GB, free: 61.04 MB / 410.8 MB Notification: Performance of SimCode: time 1.202e-06/1.952, allocations: 4 kB / 0.7853 GB, free: 61.04 MB / 410.8 MB Notification: Performance of Templates: time 0.1089/2.061, allocations: 68.76 MB / 0.8525 GB, free: 36.7 MB / 410.8 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)