Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00151/0.00151, allocations: 182.6 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.384/1.384, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001665/0.001665, allocations: 108.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.588e-05/2.59e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07951/0.07955, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3211/0.4007, allocations: 110 MB / 459.5 MB, free: 2 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.401, allocations: 85.39 kB / 459.5 MB, free: 1.957 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1835/0.5845, allocations: 74.75 MB / 0.5218 GB, free: 13.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5846, allocations: 0 / 0.5218 GB, free: 13.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002676/0.5848, allocations: 87.88 kB / 0.5218 GB, free: 13.21 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 823 * Number of variables: 823 Notification: Performance of Generate backend data structure: time 0.009651/0.5945, allocations: 3.121 MB / 0.5249 GB, free: 10.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.5946, allocations: 11.97 kB / 0.5249 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003736/0.5983, allocations: 0.5813 MB / 0.5255 GB, free: 9.426 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0087/0.607, allocations: 3.107 MB / 0.5285 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/0.6073, allocations: 230.3 kB / 0.5287 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009065/0.6082, allocations: 315.9 kB / 0.529 GB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008278/0.6165, allocations: 3.909 MB / 0.5328 GB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.068e-05/0.6167, allocations: 7.844 kB / 0.5329 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002966/0.617, allocations: 135.9 kB / 0.533 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/0.6171, allocations: 146.2 kB / 0.5331 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2555/0.8727, allocations: 3.069 MB / 0.5361 GB, free: 76.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02455/0.8973, allocations: 13.39 MB / 0.5492 GB, free: 72.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003887/0.9012, allocations: 3.908 MB / 0.553 GB, free: 70 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.9029, allocations: 0.9733 MB / 0.554 GB, free: 70 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005174/0.9081, allocations: 2.66 MB / 0.5566 GB, free: 69.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.9081, allocations: 46.34 kB / 0.5566 GB, free: 69.33 MB / 394.7 MB Notification: Performance of pre-optimization done (n=106): time 4.408e-06/0.9082, allocations: 0 / 0.5566 GB, free: 69.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=140): time 0.01036/0.9185, allocations: 5.156 MB / 0.5616 GB, free: 68.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.9186, allocations: 63.72 kB / 0.5617 GB, free: 68.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002628/0.9213, allocations: 1.632 MB / 0.5633 GB, free: 68.19 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.9214, allocations: 47.3 kB / 0.5633 GB, free: 68.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008154/0.9222, allocations: 1.509 MB / 0.5648 GB, free: 67.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/0.9225, allocations: 495.2 kB / 0.5653 GB, free: 67.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.262e-05/0.9226, allocations: 35.78 kB / 0.5653 GB, free: 67.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.9228, allocations: 370.1 kB / 0.5657 GB, free: 66.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.9238, allocations: 0.7382 MB / 0.5664 GB, free: 66.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.925, allocations: 1.317 MB / 0.5677 GB, free: 66.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.9263, allocations: 0.9785 MB / 0.5686 GB, free: 66.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.9263, allocations: 7.188 kB / 0.5686 GB, free: 66.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.003701/0.93, allocations: 2.385 MB / 0.571 GB, free: 66.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.9301, allocations: 15.38 kB / 0.571 GB, free: 66.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/0.9301, allocations: 19.97 kB / 0.571 GB, free: 66.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003581/0.9305, allocations: 125.1 kB / 0.5711 GB, free: 66.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.9322, allocations: 483.8 kB / 0.5716 GB, free: 66.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008711/0.9331, allocations: 1.32 MB / 0.5729 GB, free: 64.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.9349, allocations: 107 kB / 0.573 GB, free: 64.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.9351, allocations: 82.28 kB / 0.5731 GB, free: 64.76 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 225 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003151/0.9354, allocations: 223.2 kB / 0.5733 GB, free: 64.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/0.9357, allocations: 202.3 kB / 0.5735 GB, free: 64.53 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/0.9389, allocations: 1.902 MB / 0.5753 GB, free: 64.13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.939, allocations: 15.28 kB / 0.5753 GB, free: 64.13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.939, allocations: 3.953 kB / 0.5753 GB, free: 64.13 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.939, allocations: 7.641 kB / 0.5753 GB, free: 64.13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007447/0.9464, allocations: 4.915 MB / 0.5801 GB, free: 61.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.9465, allocations: 3.188 kB / 0.5801 GB, free: 61.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.9478, allocations: 319.3 kB / 0.5804 GB, free: 61.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002702/0.948, allocations: 90.61 kB / 0.5805 GB, free: 61.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.081e-05/0.9481, allocations: 31.19 kB / 0.5806 GB, free: 61.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000674/0.9488, allocations: 1.284 MB / 0.5818 GB, free: 60.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.9488, allocations: 0 / 0.5818 GB, free: 60.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004072/0.9529, allocations: 3.122 MB / 0.5849 GB, free: 58.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/0.9542, allocations: 467.6 kB / 0.5853 GB, free: 58.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/0.9544, allocations: 29.97 kB / 0.5853 GB, free: 58.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009874/0.9554, allocations: 81.81 kB / 0.5854 GB, free: 58.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.9556, allocations: 88.64 kB / 0.5855 GB, free: 58.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.966e-05/0.9557, allocations: 37.22 kB / 0.5855 GB, free: 58.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001961/0.9577, allocations: 1.242 MB / 0.5868 GB, free: 58.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9577, allocations: 0 / 0.5868 GB, free: 58.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00212/0.9598, allocations: 0.576 MB / 0.5873 GB, free: 58.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (139): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007606/0.9606, allocations: 0.4894 MB / 0.5878 GB, free: 57.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003074/0.9637, allocations: 2.126 MB / 0.5899 GB, free: 56.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.9637, allocations: 0 / 0.5899 GB, free: 56.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.9649, allocations: 1.142 MB / 0.591 GB, free: 56.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/0.9675, allocations: 488.8 kB / 0.5914 GB, free: 56.19 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008526/0.9761, allocations: 4.395 MB / 0.5957 GB, free: 54.33 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/0.9778, allocations: 2.314 MB / 0.598 GB, free: 53.29 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001902/0.9798, allocations: 0.5052 MB / 0.5985 GB, free: 53.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/0.9802, allocations: 151.7 kB / 0.5986 GB, free: 53.23 MB / 394.7 MB Notification: Performance of SimCode: time 1.492e-06/0.9802, allocations: 4 kB / 0.5986 GB, free: 53.23 MB / 394.7 MB Notification: Performance of Templates: time 0.04827/1.028, allocations: 28.24 MB / 0.6262 GB, free: 45 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.pipe 2>&1)