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.SMR_CurrentSource.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.SMR_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009953/0.0009951, allocations: 179.8 kB / 16.38 MB, free: 5.762 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.115/1.115, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001565/0.001565, allocations: 115.9 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002751, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07066/0.07094, allocations: 44.5 MB / 355.1 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2658/0.3368, allocations: 150.2 MB / 0.4934 GB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.337, allocations: 107 kB / 0.4935 GB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.131/1.468, allocations: 386.1 MB / 0.8706 GB, free: 31.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.944e-06/1.468, allocations: 0 / 0.8706 GB, free: 31.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001097/1.469, allocations: 292.1 kB / 0.8709 GB, free: 31.69 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3509 * Number of variables: 3509 Notification: Performance of Generate backend data structure: time 0.03656/1.505, allocations: 11.68 MB / 0.8823 GB, free: 27.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/1.505, allocations: 10.94 kB / 0.8823 GB, free: 27.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03274/1.538, allocations: 6.371 MB / 0.8885 GB, free: 27.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02288/1.561, allocations: 9.48 MB / 0.8978 GB, free: 25.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/1.562, allocations: 0.9201 MB / 0.8987 GB, free: 25.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004959/1.567, allocations: 1.204 MB / 0.8998 GB, free: 25.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04515/1.612, allocations: 20.53 MB / 0.9199 GB, free: 24.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005837/1.613, allocations: 22.78 kB / 0.9199 GB, free: 24.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004823/1.618, allocations: 0.515 MB / 0.9204 GB, free: 24.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008155/1.619, allocations: 0.8376 MB / 0.9212 GB, free: 24.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03339/1.652, allocations: 18.66 MB / 0.9395 GB, free: 17.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3162/1.968, allocations: 63.97 MB / 1.002 GB, free: 27.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03676/2.005, allocations: 45.83 MB / 1.047 GB, free: 24.62 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04321/2.048, allocations: 23.64 MB / 1.07 GB, free: 23.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.187e-05/2.048, allocations: 107 kB / 1.07 GB, free: 23.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=770): time 8.887e-06/2.049, allocations: 0 / 1.07 GB, free: 23.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=810): time 0.09377/2.142, allocations: 46.19 MB / 1.115 GB, free: 12.74 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/2.142, allocations: 120.8 kB / 1.115 GB, free: 12.67 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005285/2.148, allocations: 3.589 MB / 1.119 GB, free: 11.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001529/2.149, allocations: 138.2 kB / 1.119 GB, free: 11.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002257/2.152, allocations: 4.899 MB / 1.124 GB, free: 7.523 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002526/2.154, allocations: 2.687 MB / 1.126 GB, free: 5.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004866/2.155, allocations: 160.5 kB / 1.126 GB, free: 5.305 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004458/2.155, allocations: 0.671 MB / 1.127 GB, free: 4.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006223/2.161, allocations: 5.117 MB / 1.132 GB, free: 2.758 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008341/2.17, allocations: 7.509 MB / 1.139 GB, free: 13.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/2.18, allocations: 6.441 MB / 1.146 GB, free: 10.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.243e-05/2.18, allocations: 25.81 kB / 1.146 GB, free: 10.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.02672/2.207, allocations: 15.67 MB / 1.161 GB, free: 1.004 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.044e-05/2.207, allocations: 37.56 kB / 1.161 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001377/2.207, allocations: 75.05 kB / 1.161 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2309/2.438, allocations: 4.348 MB / 1.165 GB, free: 88.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006511/2.445, allocations: 1.635 MB / 1.167 GB, free: 88.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/2.455, allocations: 12.22 MB / 1.179 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006623/2.462, allocations: 445.6 kB / 1.179 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001673/2.464, allocations: 387.8 kB / 1.18 GB, free: 83.64 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 329 * 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 (853): * Single equations (assignments): 797 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,20 119,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.00863/2.473, allocations: 4.389 MB / 1.184 GB, free: 83.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/2.474, allocations: 0.5804 MB / 1.184 GB, free: 83.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02079/2.495, allocations: 14.49 MB / 1.199 GB, free: 83.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000174/2.495, allocations: 198.5 kB / 1.199 GB, free: 83.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/2.495, allocations: 2.062 kB / 1.199 GB, free: 83.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-05/2.495, allocations: 33.05 kB / 1.199 GB, free: 83.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04712/2.542, allocations: 28.71 MB / 1.227 GB, free: 81.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.191e-05/2.542, allocations: 3.969 kB / 1.227 GB, free: 81.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004612/2.547, allocations: 1.048 MB / 1.228 GB, free: 81.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006438/2.553, allocations: 4.013 MB / 1.232 GB, free: 80 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001205/2.554, allocations: 174.5 kB / 1.232 GB, free: 79.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/2.565, allocations: 12.06 MB / 1.244 GB, free: 72.06 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/2.565, allocations: 3.469 kB / 1.244 GB, free: 72.06 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03122/2.596, allocations: 21.83 MB / 1.265 GB, free: 62.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005724/2.602, allocations: 1.758 MB / 1.267 GB, free: 61.33 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002157/2.604, allocations: 114.1 kB / 1.267 GB, free: 61.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004123/2.608, allocations: 329.1 kB / 1.267 GB, free: 61.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/2.609, allocations: 0.563 MB / 1.268 GB, free: 61.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005249/2.61, allocations: 217 kB / 1.268 GB, free: 60.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003924/2.614, allocations: 2.688 MB / 1.271 GB, free: 60 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/2.614, allocations: 3.531 kB / 1.271 GB, free: 60 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009113/2.623, allocations: 2.152 MB / 1.273 GB, free: 59.76 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (inertiaLoad.w,quadraticSpeedDependentTorque.phi,inertiaLoadQS.w,quadraticSpeedDependentTorqueQS.phi) * 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 (546): * Single equations (assignments): 490 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,20 119,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001882/2.625, allocations: 0.5947 MB / 1.273 GB, free: 59.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01957/2.644, allocations: 13.07 MB / 1.286 GB, free: 53.47 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/2.644, allocations: 4 kB / 1.286 GB, free: 53.47 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01127/2.656, allocations: 6.772 MB / 1.293 GB, free: 47.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006843/2.663, allocations: 1.175 MB / 1.294 GB, free: 46.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04514/2.708, allocations: 30.04 MB / 1.323 GB, free: 19.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.238/2.946, allocations: 8.108 MB / 1.331 GB, free: 78.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006882/2.953, allocations: 1.958 MB / 1.333 GB, free: 78.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/2.954, allocations: 440.4 kB / 1.333 GB, free: 78.62 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/2.954, allocations: 1.594 kB / 1.333 GB, free: 78.62 MB / 490.7 MB Notification: Performance of Templates: time 0.1694/3.123, allocations: 128.6 MB / 1.459 GB, free: 40.04 MB / 490.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe 2>&1)