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.001628/0.001628, allocations: 182.8 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.276/1.276, allocations: 194.2 MB / 208.4 MB, free: 6.707 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.001587/0.001587, allocations: 112.8 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.912e-05, allocations: 0 / 305 MB, free: 29.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06203/0.06207, allocations: 44.5 MB / 349.5 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3225/0.3846, allocations: 150.1 MB / 499.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.3849, allocations: 96.62 kB / 499.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.272/1.657, allocations: 385.9 MB / 0.8648 GB, free: 35.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.894e-06/1.657, allocations: 4 kB / 0.8648 GB, free: 35.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006063/1.657, allocations: 287 kB / 0.8651 GB, free: 35.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.03091/1.688, allocations: 11.04 MB / 0.8759 GB, free: 32.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/1.688, allocations: 12.25 kB / 0.8759 GB, free: 32.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03286/1.721, allocations: 6.338 MB / 0.8821 GB, free: 31.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01981/1.741, allocations: 9.441 MB / 0.8913 GB, free: 30.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001075/1.742, allocations: 0.9184 MB / 0.8922 GB, free: 30.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004077/1.746, allocations: 1.205 MB / 0.8934 GB, free: 30.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04047/1.787, allocations: 20.3 MB / 0.9132 GB, free: 28.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003449/1.787, allocations: 23.23 kB / 0.9132 GB, free: 28.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001976/1.789, allocations: 0.5218 MB / 0.9138 GB, free: 28.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006434/1.79, allocations: 0.8362 MB / 0.9146 GB, free: 28.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03174/1.822, allocations: 18.37 MB / 0.9325 GB, free: 26.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1096/1.931, allocations: 64.39 MB / 0.9954 GB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2775/2.209, allocations: 45.72 MB / 1.04 GB, free: 23.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01265/2.221, allocations: 7.711 MB / 1.048 GB, free: 23.68 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03639/2.258, allocations: 23.5 MB / 1.071 GB, free: 22.76 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/2.258, allocations: 101.9 kB / 1.071 GB, free: 22.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=759): time 8.345e-06/2.258, allocations: 0 / 1.071 GB, free: 22.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=799): time 0.03949/2.297, allocations: 26.68 MB / 1.097 GB, free: 20.52 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/2.298, allocations: 122.4 kB / 1.097 GB, free: 20.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004996/2.303, allocations: 3.555 MB / 1.1 GB, free: 19.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009551/2.304, allocations: 135.7 kB / 1.1 GB, free: 19.49 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002145/2.306, allocations: 4.917 MB / 1.105 GB, free: 15.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002603/2.308, allocations: 2.653 MB / 1.108 GB, free: 13.73 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005556/2.309, allocations: 164.2 kB / 1.108 GB, free: 13.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004734/2.309, allocations: 0.6701 MB / 1.109 GB, free: 13.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006459/2.316, allocations: 5.019 MB / 1.113 GB, free: 11.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007794/2.324, allocations: 7.418 MB / 1.121 GB, free: 6.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008706/2.332, allocations: 6.37 MB / 1.127 GB, free: 3.562 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.99e-05/2.332, allocations: 19.72 kB / 1.127 GB, free: 3.562 MB / 458.7 MB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02674/2.359, allocations: 15.72 MB / 1.142 GB, free: 14.65 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.754e-05/2.359, allocations: 36.44 kB / 1.142 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-05/2.359, allocations: 74.66 kB / 1.142 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006578/2.366, allocations: 4.104 MB / 1.146 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005911/2.372, allocations: 1.624 MB / 1.148 GB, free: 13.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/2.384, allocations: 12.19 MB / 1.16 GB, free: 5.457 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006923/2.391, allocations: 440.2 kB / 1.16 GB, free: 5.312 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001322/2.392, allocations: 390.7 kB / 1.161 GB, free: 5.242 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 333 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (846): * Single equations (assignments): 790 * 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.001403/2.393, allocations: 0.5727 MB / 1.161 GB, free: 4.859 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/2.395, allocations: 0.5813 MB / 1.162 GB, free: 4.551 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03044/2.425, allocations: 14.87 MB / 1.176 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001741/2.425, allocations: 195.7 kB / 1.177 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/2.425, allocations: 3.938 kB / 1.177 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.43e-05/2.425, allocations: 33.33 kB / 1.177 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3107/2.736, allocations: 29.39 MB / 1.205 GB, free: 87.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.139e-05/2.736, allocations: 2.812 kB / 1.205 GB, free: 87.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005154/2.741, allocations: 1.029 MB / 1.206 GB, free: 87.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007801/2.749, allocations: 3.992 MB / 1.21 GB, free: 87.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001557/2.751, allocations: 167.9 kB / 1.21 GB, free: 87.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/2.762, allocations: 12.02 MB / 1.222 GB, free: 83.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/2.762, allocations: 5.312 kB / 1.222 GB, free: 83.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02949/2.792, allocations: 21.44 MB / 1.243 GB, free: 82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004374/2.796, allocations: 1.732 MB / 1.245 GB, free: 81.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001486/2.798, allocations: 120.6 kB / 1.245 GB, free: 81.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003427/2.801, allocations: 323.1 kB / 1.245 GB, free: 81.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/2.802, allocations: 0.5645 MB / 1.246 GB, free: 81.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005136/2.803, allocations: 218.2 kB / 1.246 GB, free: 81.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003839/2.806, allocations: 2.647 MB / 1.248 GB, free: 81.69 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.243e-06/2.806, allocations: 1.812 kB / 1.248 GB, free: 81.69 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006911/2.813, allocations: 2.146 MB / 1.251 GB, free: 81.69 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (535): * Single equations (assignments): 479 * 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.001264/2.815, allocations: 0.6928 MB / 1.251 GB, free: 81.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.018/2.833, allocations: 12.86 MB / 1.264 GB, free: 80.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/2.833, allocations: 2.156 kB / 1.264 GB, free: 80.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01019/2.843, allocations: 6.646 MB / 1.27 GB, free: 79.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006179/2.849, allocations: 1.176 MB / 1.271 GB, free: 78.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03488/2.884, allocations: 21.8 MB / 1.293 GB, free: 70.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00826/2.892, allocations: 7.967 MB / 1.301 GB, free: 67.65 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007261/2.9, allocations: 1.959 MB / 1.302 GB, free: 67.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/2.901, allocations: 433.4 kB / 1.303 GB, free: 67.41 MB / 490.7 MB Notification: Performance of SimCode: time 1.392e-06/2.901, allocations: 0.75 kB / 1.303 GB, free: 67.41 MB / 490.7 MB Notification: Performance of Templates: time 0.4346/3.336, allocations: 122 MB / 1.422 GB, free: 71.33 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)