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.SMPM_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.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001404/0.001404, 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.484/1.484, allocations: 194.3 MB / 208.4 MB, free: 6.73 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.00166/0.00166, allocations: 106.3 kB / 253.5 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.316e-05/2.318e-05, allocations: 0 / 305 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07765/0.07769, allocations: 44.51 MB / 349.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3456/0.4234, allocations: 156.2 MB / 0.4938 GB, free: 4.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.4237, allocations: 101.6 kB / 0.4939 GB, free: 4.285 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.44/1.863, allocations: 397.1 MB / 0.8817 GB, free: 35.85 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.554e-06/1.863, allocations: 0 / 0.8817 GB, free: 35.85 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008441/1.864, allocations: 297.9 kB / 0.882 GB, free: 35.82 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: 3594 * Number of variables: 3594 Notification: Performance of Generate backend data structure: time 0.03619/1.901, allocations: 11.32 MB / 0.893 GB, free: 32.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/1.901, allocations: 10.72 kB / 0.893 GB, free: 32.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03407/1.935, allocations: 6.41 MB / 0.8993 GB, free: 31.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02239/1.957, allocations: 9.65 MB / 0.9087 GB, free: 30.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001025/1.958, allocations: 0.9498 MB / 0.9096 GB, free: 30.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006381/1.965, allocations: 1.237 MB / 0.9108 GB, free: 30.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04507/2.01, allocations: 20.66 MB / 0.931 GB, free: 28.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004812/2.01, allocations: 27.78 kB / 0.931 GB, free: 28.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003552/2.014, allocations: 0.531 MB / 0.9316 GB, free: 27.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007353/2.014, allocations: 0.846 MB / 0.9324 GB, free: 27.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03571/2.05, allocations: 18.64 MB / 0.9506 GB, free: 20.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3684/2.419, allocations: 65.84 MB / 1.015 GB, free: 29.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03916/2.458, allocations: 46.03 MB / 1.06 GB, free: 26.04 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01181/2.47, allocations: 7.769 MB / 1.067 GB, free: 25.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04706/2.517, allocations: 23.81 MB / 1.091 GB, free: 24.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.589e-05/2.517, allocations: 107 kB / 1.091 GB, free: 24.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=771): time 1.102e-05/2.517, allocations: 0 / 1.091 GB, free: 24.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=813): time 0.04659/2.563, allocations: 27.04 MB / 1.117 GB, free: 17.44 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/2.564, allocations: 121.8 kB / 1.117 GB, free: 17.37 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006021/2.57, allocations: 3.774 MB / 1.121 GB, free: 15.92 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001384/2.571, allocations: 137.2 kB / 1.121 GB, free: 15.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002481/2.574, allocations: 5.079 MB / 1.126 GB, free: 11.99 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002947/2.577, allocations: 2.701 MB / 1.129 GB, free: 9.895 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007641/2.577, allocations: 164 kB / 1.129 GB, free: 9.766 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006819/2.578, allocations: 0.6717 MB / 1.13 GB, free: 9.297 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007093/2.585, allocations: 5.081 MB / 1.134 GB, free: 7.207 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009711/2.595, allocations: 7.545 MB / 1.142 GB, free: 2.113 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/2.606, allocations: 6.451 MB / 1.148 GB, free: 15.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.077e-05/2.606, allocations: 21.03 kB / 1.148 GB, free: 15.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=1168) (initialization): time 0.02848/2.634, allocations: 15.68 MB / 1.163 GB, free: 6.895 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/2.634, allocations: 36 kB / 1.164 GB, free: 6.859 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001571/2.634, allocations: 79.66 kB / 1.164 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008425/2.643, allocations: 4.111 MB / 1.168 GB, free: 3.324 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007426/2.65, allocations: 1.666 MB / 1.169 GB, free: 2.039 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2647/2.915, allocations: 12.22 MB / 1.181 GB, free: 86.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0074/2.922, allocations: 458 kB / 1.182 GB, free: 86.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002389/2.925, allocations: 398 kB / 1.182 GB, free: 86.86 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 343 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (870): * Single equations (assignments): 814 * 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.002284/2.927, allocations: 0.5899 MB / 1.183 GB, free: 86.76 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001528/2.929, allocations: 0.6049 MB / 1.183 GB, free: 86.76 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02662/2.955, allocations: 14.38 MB / 1.197 GB, free: 86.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002159/2.956, allocations: 196.1 kB / 1.197 GB, free: 86.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/2.956, allocations: 2.281 kB / 1.197 GB, free: 86.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001258/2.956, allocations: 38.83 kB / 1.197 GB, free: 86.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05219/3.008, allocations: 28.83 MB / 1.226 GB, free: 85.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.635e-05/3.008, allocations: 3.812 kB / 1.226 GB, free: 85.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004798/3.013, allocations: 1.055 MB / 1.227 GB, free: 85.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006537/3.019, allocations: 3.975 MB / 1.23 GB, free: 84.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001065/3.021, allocations: 179.8 kB / 1.231 GB, free: 84.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009975/3.031, allocations: 12.03 MB / 1.242 GB, free: 76.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/3.031, allocations: 7.75 kB / 1.242 GB, free: 76.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02942/3.06, allocations: 21.78 MB / 1.264 GB, free: 66.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00474/3.065, allocations: 1.779 MB / 1.265 GB, free: 66.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001518/3.066, allocations: 126.5 kB / 1.266 GB, free: 65.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004028/3.07, allocations: 334.4 kB / 1.266 GB, free: 65.87 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001281/3.072, allocations: 0.5758 MB / 1.266 GB, free: 65.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008276/3.072, allocations: 217.8 kB / 1.267 GB, free: 65.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005937/3.078, allocations: 2.804 MB / 1.269 GB, free: 64.63 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/3.078, allocations: 2.312 kB / 1.269 GB, free: 64.63 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01048/3.089, allocations: 2.213 MB / 1.272 GB, free: 64.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (551): * Single equations (assignments): 495 * 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.002653/3.092, allocations: 0.7697 MB / 1.272 GB, free: 64.15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02266/3.114, allocations: 13 MB / 1.285 GB, free: 59.06 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/3.114, allocations: 1.312 kB / 1.285 GB, free: 59.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01287/3.127, allocations: 6.722 MB / 1.292 GB, free: 54.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008663/3.136, allocations: 1.277 MB / 1.293 GB, free: 53.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04225/3.178, allocations: 22.19 MB / 1.314 GB, free: 33.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008758/3.187, allocations: 8.07 MB / 1.322 GB, free: 27.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006883/3.194, allocations: 2.008 MB / 1.324 GB, free: 26.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001507/3.195, allocations: 456.4 kB / 1.325 GB, free: 25.98 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/3.195, allocations: 0 / 1.325 GB, free: 25.98 MB / 490.7 MB Notification: Performance of Templates: time 0.4413/3.637, allocations: 126.8 MB / 1.449 GB, free: 59.66 MB / 490.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe 2>&1)