Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009264/0.0009264, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.098/1.098, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001581/0.001581, allocations: 110.8 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.443e-05/2.446e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07889/0.07893, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3228/0.4018, allocations: 99.65 MB / 407.3 MB, free: 8.984 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.4021, allocations: 86.52 kB / 407.4 MB, free: 8.941 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1377/0.5399, allocations: 51.26 MB / 458.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.5399, allocations: 0 / 458.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002218/0.5401, allocations: 75.81 kB / 458.7 MB, free: 10.94 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 659 * Number of variables: 659 Notification: Performance of Generate backend data structure: time 0.006507/0.5467, allocations: 2.546 MB / 461.3 MB, free: 8.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.5467, allocations: 8.031 kB / 461.3 MB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.548, allocations: 344.1 kB / 461.6 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003712/0.5517, allocations: 1.732 MB / 463.3 MB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.5519, allocations: 197 kB / 463.5 MB, free: 6.008 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004677/0.5524, allocations: 243.9 kB / 463.8 MB, free: 5.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005898/0.5583, allocations: 3.198 MB / 467 MB, free: 2.422 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.745e-05/0.5584, allocations: 7.906 kB / 467 MB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/0.5586, allocations: 111.9 kB / 467.1 MB, free: 2.305 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.5587, allocations: 120.9 kB / 467.2 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2351/0.7939, allocations: 2.51 MB / 469.7 MB, free: 78.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02069/0.8146, allocations: 10.35 MB / 480.1 MB, free: 76.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.8166, allocations: 1.386 MB / 481.4 MB, free: 75.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.8176, allocations: 0.7445 MB / 482.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002761/0.8179, allocations: 141 kB / 482.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.8179, allocations: 43.88 kB / 482.4 MB, free: 75.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=101): time 3.086e-06/0.8179, allocations: 0 / 482.4 MB, free: 75.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=129): time 0.01343/0.8314, allocations: 6.112 MB / 488.5 MB, free: 74.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.8314, allocations: 63.22 kB / 488.5 MB, free: 74.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.8332, allocations: 1.406 MB / 489.9 MB, free: 74.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.003e-05/0.8333, allocations: 50.98 kB / 490 MB, free: 74.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005864/0.8339, allocations: 1.245 MB / 491.2 MB, free: 74.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.8342, allocations: 451.4 kB / 491.7 MB, free: 73.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.8343, allocations: 34.16 kB / 491.7 MB, free: 73.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8344, allocations: 371.7 kB / 492.1 MB, free: 73.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009501/0.8354, allocations: 0.7715 MB / 492.9 MB, free: 73.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.8365, allocations: 1.285 MB / 494.1 MB, free: 72.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.8377, allocations: 0.9939 MB / 495.1 MB, free: 72.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.8377, allocations: 5.688 kB / 495.1 MB, free: 72.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=209) (initialization): time 0.003423/0.8412, allocations: 2.476 MB / 497.6 MB, free: 72.56 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.8412, allocations: 13.94 kB / 497.6 MB, free: 72.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.855e-05/0.8412, allocations: 19.36 kB / 497.6 MB, free: 72.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/0.8418, allocations: 251.7 kB / 497.9 MB, free: 72.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.8432, allocations: 428.6 kB / 498.3 MB, free: 72.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/0.845, allocations: 3.001 MB / 0.4896 GB, free: 69.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.8464, allocations: 131.2 kB / 0.4897 GB, free: 69.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.8465, allocations: 76.66 kB / 0.4898 GB, free: 69.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 200 * 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: 2 * 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 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000251/0.8468, allocations: 210 kB / 0.49 GB, free: 69.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/0.847, allocations: 182.4 kB / 0.4901 GB, free: 69.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00294/0.85, allocations: 2.08 MB / 0.4922 GB, free: 68.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.85, allocations: 11.75 kB / 0.4922 GB, free: 68.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.85, allocations: 3.875 kB / 0.4922 GB, free: 68.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.85, allocations: 6.188 kB / 0.4922 GB, free: 68.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006658/0.8567, allocations: 4.749 MB / 0.4968 GB, free: 66.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.8567, allocations: 3.562 kB / 0.4968 GB, free: 66.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.8578, allocations: 280.7 kB / 0.4971 GB, free: 66.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/0.8582, allocations: 208.2 kB / 0.4973 GB, free: 66.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-05/0.8583, allocations: 22.16 kB / 0.4973 GB, free: 66.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.8602, allocations: 2.976 MB / 0.5002 GB, free: 63.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.8602, allocations: 7.719 kB / 0.5002 GB, free: 63.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004229/0.8644, allocations: 3.323 MB / 0.5035 GB, free: 62.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.8655, allocations: 424.2 kB / 0.5039 GB, free: 62.03 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/0.8657, allocations: 30.73 kB / 0.5039 GB, free: 62.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000901/0.8666, allocations: 96.09 kB / 0.504 GB, free: 61.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.8668, allocations: 84.14 kB / 0.5041 GB, free: 61.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.467e-05/0.8669, allocations: 30.69 kB / 0.5041 GB, free: 61.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001744/0.8686, allocations: 1.075 MB / 0.5052 GB, free: 61.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.593e-06/0.8686, allocations: 0 / 0.5052 GB, free: 61.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001894/0.8705, allocations: 0.5153 MB / 0.5057 GB, free: 61.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (127): * Single equations (assignments): 123 * 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: 2 * 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 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005762/0.8711, allocations: 395.4 kB / 0.506 GB, free: 61.37 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003034/0.8742, allocations: 2.356 MB / 0.5083 GB, free: 60.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8742, allocations: 0 / 0.5083 GB, free: 60.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.8756, allocations: 1.348 MB / 0.5097 GB, free: 59.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.8773, allocations: 447.5 kB / 0.5101 GB, free: 59.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00566/0.883, allocations: 3.806 MB / 0.5138 GB, free: 57.78 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.8843, allocations: 2.055 MB / 0.5158 GB, free: 56.81 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001482/0.8858, allocations: 0.503 MB / 0.5163 GB, free: 56.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/0.8861, allocations: 129.9 kB / 0.5164 GB, free: 56.76 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/0.8861, allocations: 2.719 kB / 0.5164 GB, free: 56.76 MB / 346.7 MB Notification: Performance of Templates: time 0.03877/0.9249, allocations: 26.03 MB / 0.5418 GB, free: 40.32 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1)