Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009877/0.0009876, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.32/1.32, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001614/0.001614, allocations: 116.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.47e-05/2.483e-05, allocations: 4 kB / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06577/0.06582, allocations: 44.5 MB / 349.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.356/0.4218, allocations: 161.1 MB / 0.4986 GB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.4221, allocations: 99.25 kB / 0.4987 GB, free: 15.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.337/1.759, allocations: 395 MB / 0.8844 GB, free: 42.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.553e-06/1.759, allocations: 0 / 0.8844 GB, free: 42.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005982/1.76, allocations: 262.1 kB / 0.8847 GB, free: 42.23 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3109 * Number of variables: 3109 Notification: Performance of Generate backend data structure: time 0.02925/1.789, allocations: 10.27 MB / 0.8947 GB, free: 38.94 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/1.789, allocations: 13.12 kB / 0.8947 GB, free: 38.94 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02368/1.813, allocations: 4.383 MB / 0.899 GB, free: 38.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02074/1.834, allocations: 8.849 MB / 0.9077 GB, free: 37.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001018/1.835, allocations: 0.826 MB / 0.9085 GB, free: 37.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004727/1.84, allocations: 1.076 MB / 0.9095 GB, free: 37.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04002/1.88, allocations: 17.24 MB / 0.9263 GB, free: 35.76 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004787/1.88, allocations: 20.45 kB / 0.9264 GB, free: 35.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003194/1.883, allocations: 472.6 kB / 0.9268 GB, free: 35.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006868/1.884, allocations: 0.691 MB / 0.9275 GB, free: 35.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02824/1.912, allocations: 14.96 MB / 0.9421 GB, free: 35.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09471/2.007, allocations: 58.11 MB / 0.9989 GB, free: 1.992 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02629/2.033, allocations: 17.54 MB / 1.016 GB, free: 2.328 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2533/2.287, allocations: 6.511 MB / 1.022 GB, free: 54.15 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03086/2.318, allocations: 18.9 MB / 1.041 GB, free: 52.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/2.318, allocations: 92.84 kB / 1.041 GB, free: 52.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=625): time 7.534e-06/2.318, allocations: 3.094 kB / 1.041 GB, free: 52.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=658): time 0.03635/2.354, allocations: 23.45 MB / 1.064 GB, free: 49.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003123/2.357, allocations: 2.937 MB / 1.067 GB, free: 47.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005672/2.363, allocations: 3.879 MB / 1.07 GB, free: 47.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001059/2.364, allocations: 116.9 kB / 1.071 GB, free: 47.56 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002096/2.366, allocations: 4.595 MB / 1.075 GB, free: 45.39 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002152/2.368, allocations: 2.205 MB / 1.077 GB, free: 43.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004598/2.369, allocations: 142.5 kB / 1.077 GB, free: 43.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000352/2.369, allocations: 0.6162 MB / 1.078 GB, free: 43.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005455/2.375, allocations: 4.36 MB / 1.082 GB, free: 43.65 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006481/2.381, allocations: 6.386 MB / 1.088 GB, free: 41.37 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007425/2.389, allocations: 5.498 MB / 1.094 GB, free: 41.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.698e-05/2.389, allocations: 18.62 kB / 1.094 GB, free: 41.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=996) (initialization): time 0.02039/2.409, allocations: 13.09 MB / 1.107 GB, free: 36.89 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.731e-05/2.409, allocations: 36.38 kB / 1.107 GB, free: 36.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001389/2.409, allocations: 58.31 kB / 1.107 GB, free: 36.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004223/2.414, allocations: 2.397 MB / 1.109 GB, free: 36.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006141/2.42, allocations: 1.521 MB / 1.111 GB, free: 36.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008542/2.428, allocations: 10.4 MB / 1.121 GB, free: 28.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006776/2.435, allocations: 0.5296 MB / 1.121 GB, free: 28.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001481/2.437, allocations: 343.3 kB / 1.122 GB, free: 28.61 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (791): * Single equations (assignments): 722 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 8,(1,100.0%) 5} * Non-linear torn systems: 4 {6 9,6 9,6 9,6 43} Notification: Performance of prepare postOptimizeDAE: time 0.002134/2.439, allocations: 0.5047 MB / 1.122 GB, free: 28.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/2.44, allocations: 0.5468 MB / 1.123 GB, free: 27.97 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01733/2.458, allocations: 11.71 MB / 1.134 GB, free: 23 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01285/2.471, allocations: 10.37 MB / 1.144 GB, free: 18.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.988e-05/2.471, allocations: 1 kB / 1.144 GB, free: 18.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.274e-05/2.471, allocations: 31.2 kB / 1.144 GB, free: 18.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04428/2.515, allocations: 30.56 MB / 1.174 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/2.515, allocations: 8 kB / 1.174 GB, free: 10.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003729/2.519, allocations: 0.8769 MB / 1.175 GB, free: 10.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005473/2.524, allocations: 2.661 MB / 1.177 GB, free: 7.984 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007708/2.525, allocations: 148 kB / 1.178 GB, free: 7.863 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.254/2.779, allocations: 15.87 MB / 1.193 GB, free: 60.03 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002897/2.782, allocations: 2.81 MB / 1.196 GB, free: 58.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02561/2.808, allocations: 18.3 MB / 1.214 GB, free: 56.65 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003803/2.811, allocations: 1.576 MB / 1.215 GB, free: 56.55 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/2.813, allocations: 99.31 kB / 1.215 GB, free: 56.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003378/2.816, allocations: 344.7 kB / 1.216 GB, free: 56.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/2.817, allocations: 0.502 MB / 1.216 GB, free: 56.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004632/2.817, allocations: 181.5 kB / 1.216 GB, free: 56.55 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004308/2.822, allocations: 2.878 MB / 1.219 GB, free: 56.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.41e-07/2.822, allocations: 1.875 kB / 1.219 GB, free: 56.34 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007535/2.829, allocations: 2.097 MB / 1.221 GB, free: 56.34 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smeeQS.gamma,smeeQS.excitation.electroMagneticConverter.port_p.reference.gamma,$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],smee.stator.zeroInductor.i0) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (460): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(1,100.0%) 4,(1,100.0%) 8} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 43,5 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001244/2.831, allocations: 0.6744 MB / 1.222 GB, free: 56.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01517/2.846, allocations: 10.88 MB / 1.232 GB, free: 55.67 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/2.846, allocations: 3.5 kB / 1.232 GB, free: 55.67 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009139/2.855, allocations: 5.882 MB / 1.238 GB, free: 55.08 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005965/2.861, allocations: 1.077 MB / 1.239 GB, free: 55.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03332/2.894, allocations: 18.94 MB / 1.258 GB, free: 51.72 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007522/2.902, allocations: 7 MB / 1.265 GB, free: 50.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006326/2.908, allocations: 1.71 MB / 1.266 GB, free: 50.65 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/2.91, allocations: 404.4 kB / 1.267 GB, free: 50.64 MB / 474.7 MB Notification: Performance of SimCode: time 8.92e-07/2.91, allocations: 4 kB / 1.267 GB, free: 50.64 MB / 474.7 MB Notification: Performance of Templates: time 0.4272/3.337, allocations: 106.5 MB / 1.371 GB, free: 64.31 MB / 474.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1)