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.001286/0.001286, allocations: 179.2 kB / 16.38 MB, free: 5.766 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.282/1.282, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001989/0.001989, allocations: 112.1 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003029, allocations: 12 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08027/0.08058, allocations: 44.5 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2912/0.3719, allocations: 110.1 MB / 465.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.3722, allocations: 90.77 kB / 465.2 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3594/0.7316, allocations: 74.72 MB / 0.5273 GB, free: 83.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.7317, allocations: 0 / 0.5273 GB, free: 83.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003456/0.732, allocations: 84.62 kB / 0.5274 GB, free: 83.48 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.01216/0.7442, allocations: 3.468 MB / 0.5308 GB, free: 82.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.7443, allocations: 9.156 kB / 0.5308 GB, free: 82.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003593/0.7479, allocations: 0.5902 MB / 0.5314 GB, free: 81.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009591/0.7575, allocations: 3.132 MB / 0.5344 GB, free: 81.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/0.7578, allocations: 233.6 kB / 0.5346 GB, free: 81.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001302/0.7592, allocations: 313.1 kB / 0.5349 GB, free: 81.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.7701, allocations: 3.967 MB / 0.5388 GB, free: 80.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001683/0.7703, allocations: 9.75 kB / 0.5388 GB, free: 80.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008546/0.7711, allocations: 131 kB / 0.5389 GB, free: 80.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002257/0.7714, allocations: 149.5 kB / 0.5391 GB, free: 80.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007614/0.779, allocations: 3.144 MB / 0.5422 GB, free: 80.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02268/0.8017, allocations: 13.39 MB / 0.5552 GB, free: 76.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003272/0.805, allocations: 3.963 MB / 0.5591 GB, free: 73.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004841/0.8099, allocations: 2.709 MB / 0.5618 GB, free: 71.58 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.81, allocations: 42.06 kB / 0.5618 GB, free: 71.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=112): time 5.691e-06/0.81, allocations: 3.844 kB / 0.5618 GB, free: 71.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=146): time 0.01288/0.8229, allocations: 6.474 MB / 0.5681 GB, free: 68.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.823, allocations: 70.38 kB / 0.5682 GB, free: 68.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/0.8261, allocations: 1.651 MB / 0.5698 GB, free: 67.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.8262, allocations: 49.33 kB / 0.5698 GB, free: 67.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008795/0.8271, allocations: 1.494 MB / 0.5713 GB, free: 66.69 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000329/0.8274, allocations: 0.4937 MB / 0.5718 GB, free: 66.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-05/0.8275, allocations: 34.16 kB / 0.5718 GB, free: 66.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.8276, allocations: 378.2 kB / 0.5722 GB, free: 65.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.8287, allocations: 0.7677 MB / 0.5729 GB, free: 65.65 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.8301, allocations: 1.346 MB / 0.5742 GB, free: 64.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.8315, allocations: 1.014 MB / 0.5752 GB, free: 64.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.05e-05/0.8315, allocations: 6.375 kB / 0.5752 GB, free: 64.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.003761/0.8353, allocations: 2.464 MB / 0.5776 GB, free: 63.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.8353, allocations: 19.81 kB / 0.5777 GB, free: 63.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/0.8353, allocations: 18.56 kB / 0.5777 GB, free: 63.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003484/0.8357, allocations: 116.1 kB / 0.5778 GB, free: 63.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/0.8374, allocations: 494.3 kB / 0.5783 GB, free: 63.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008074/0.8382, allocations: 1.315 MB / 0.5796 GB, free: 61.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.84, allocations: 114.2 kB / 0.5797 GB, free: 61.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.8402, allocations: 84.17 kB / 0.5797 GB, free: 61.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * 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 (232): * Single equations (assignments): 229 * 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.001898/0.8421, allocations: 0.985 MB / 0.5807 GB, free: 61.24 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005072/0.8426, allocations: 197.5 kB / 0.5809 GB, free: 61.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003313/0.8459, allocations: 1.995 MB / 0.5828 GB, free: 60.24 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.8459, allocations: 14.75 kB / 0.5829 GB, free: 60.24 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.8459, allocations: 0 / 0.5829 GB, free: 60.24 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.846, allocations: 10.39 kB / 0.5829 GB, free: 60.24 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009376/0.8553, allocations: 5.074 MB / 0.5878 GB, free: 57.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.8554, allocations: 0 / 0.5878 GB, free: 57.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.8568, allocations: 326.8 kB / 0.5881 GB, free: 57.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002884/0.8571, allocations: 96.34 kB / 0.5882 GB, free: 57.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.8572, allocations: 34.05 kB / 0.5883 GB, free: 57.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009545/0.8582, allocations: 1.288 MB / 0.5895 GB, free: 56.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.8582, allocations: 3.594 kB / 0.5895 GB, free: 56.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004235/0.8625, allocations: 3.255 MB / 0.5927 GB, free: 54.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.8637, allocations: 470.2 kB / 0.5931 GB, free: 54.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005776/0.8643, allocations: 31.11 kB / 0.5932 GB, free: 54.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.8657, allocations: 84.38 kB / 0.5933 GB, free: 54.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.8659, allocations: 92.55 kB / 0.5933 GB, free: 54.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.42e-05/0.866, allocations: 38.34 kB / 0.5934 GB, free: 54.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002352/0.8683, allocations: 1.259 MB / 0.5946 GB, free: 53.92 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8683, allocations: 0 / 0.5946 GB, free: 53.92 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002473/0.8708, allocations: 0.583 MB / 0.5952 GB, free: 53.85 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 142 * 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.0007285/0.8715, allocations: 463.1 kB / 0.5956 GB, free: 53.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003226/0.8748, allocations: 2.21 MB / 0.5978 GB, free: 52.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.8748, allocations: 0 / 0.5978 GB, free: 52.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.8762, allocations: 1.189 MB / 0.5989 GB, free: 51.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.8789, allocations: 479.8 kB / 0.5994 GB, free: 51.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.8914, allocations: 6.709 MB / 0.6059 GB, free: 46.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002948/0.8944, allocations: 2.315 MB / 0.6082 GB, free: 44.29 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002401/0.8969, allocations: 0.5238 MB / 0.6087 GB, free: 43.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006574/0.8975, allocations: 151 kB / 0.6089 GB, free: 43.79 MB / 394.7 MB Notification: Performance of SimCode: time 1.473e-06/0.8976, allocations: 0 / 0.6089 GB, free: 43.79 MB / 394.7 MB Notification: Performance of Templates: time 0.04667/0.9442, allocations: 27.72 MB / 0.6359 GB, free: 21.18 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)