Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.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_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001324/0.001324, allocations: 169.9 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.155/1.155, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001601/0.001601, allocations: 107.4 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.985e-05/1.99e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05595/0.05598, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2418/0.2979, allocations: 98.68 MB / 406.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.2981, allocations: 78.58 kB / 406.4 MB, free: 9.969 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1287/0.4268, allocations: 49.34 MB / 455.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4268, allocations: 0 / 455.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001537/0.427, allocations: 63.88 kB / 455.8 MB, free: 13.87 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: 580 * Number of variables: 580 Notification: Performance of Generate backend data structure: time 0.004784/0.4318, allocations: 2.33 MB / 458.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.4318, allocations: 12.03 kB / 458.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008814/0.4327, allocations: 320.4 kB / 458.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002867/0.4356, allocations: 1.582 MB / 460 MB, free: 9.516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.4357, allocations: 164.4 kB / 460.2 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003412/0.4361, allocations: 227.9 kB / 460.4 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004609/0.4407, allocations: 2.817 MB / 463.2 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.228e-05/0.4408, allocations: 3.906 kB / 463.2 MB, free: 6.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/0.441, allocations: 96 kB / 463.3 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.4411, allocations: 112.2 kB / 463.4 MB, free: 5.953 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003627/0.4448, allocations: 2.2 MB / 465.6 MB, free: 3.738 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1657/0.6105, allocations: 9.054 MB / 474.7 MB, free: 77.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.6125, allocations: 1.674 MB / 476.4 MB, free: 76.99 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.6137, allocations: 0.7975 MB / 477.2 MB, free: 76.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/0.614, allocations: 134.2 kB / 477.3 MB, free: 76.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.614, allocations: 47.72 kB / 477.3 MB, free: 76.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=106): time 3.196e-06/0.614, allocations: 1.531 kB / 477.3 MB, free: 76.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=129): time 0.01399/0.628, allocations: 6.34 MB / 483.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.6281, allocations: 64.38 kB / 483.7 MB, free: 76.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.6298, allocations: 1.269 MB / 485 MB, free: 75.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-05/0.6299, allocations: 49.39 kB / 485.1 MB, free: 75.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004749/0.6304, allocations: 1.085 MB / 486.1 MB, free: 75.47 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.6306, allocations: 448.2 kB / 486.6 MB, free: 75.24 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.408e-05/0.6307, allocations: 28.22 kB / 486.6 MB, free: 75.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.083e-05/0.6308, allocations: 377.8 kB / 487 MB, free: 74.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008606/0.6317, allocations: 0.7092 MB / 487.7 MB, free: 74.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009697/0.6327, allocations: 1.13 MB / 488.8 MB, free: 74.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.6337, allocations: 0.9087 MB / 489.7 MB, free: 74.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.6338, allocations: 7.766 kB / 489.7 MB, free: 74.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003634/0.6374, allocations: 2.591 MB / 492.3 MB, free: 74.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.6374, allocations: 11 kB / 492.3 MB, free: 74.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.6375, allocations: 11.59 kB / 492.3 MB, free: 74.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.6388, allocations: 0.5871 MB / 492.9 MB, free: 74.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.64, allocations: 354.9 kB / 493.3 MB, free: 74.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006507/0.6465, allocations: 6.688 MB / 500 MB, free: 71.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.648, allocations: 115.9 kB / 0.4884 GB, free: 71.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.6481, allocations: 65.28 kB / 0.4884 GB, free: 71.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002612/0.6484, allocations: 199.7 kB / 0.4886 GB, free: 71.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.6487, allocations: 168.5 kB / 0.4888 GB, free: 71.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003516/0.6522, allocations: 2.318 MB / 0.491 GB, free: 70.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.6522, allocations: 17.48 kB / 0.4911 GB, free: 70.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.6522, allocations: 6.375 kB / 0.4911 GB, free: 70.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.6522, allocations: 7.547 kB / 0.4911 GB, free: 70.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006966/0.6592, allocations: 4.848 MB / 0.4958 GB, free: 68.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.6592, allocations: 3.062 kB / 0.4958 GB, free: 68.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008478/0.6601, allocations: 216.9 kB / 0.496 GB, free: 68.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/0.6616, allocations: 0.6405 MB / 0.4966 GB, free: 68.33 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.054e-05/0.6617, allocations: 37.28 kB / 0.4967 GB, free: 68.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007333/0.669, allocations: 8.384 MB / 0.5049 GB, free: 62.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.669, allocations: 7.375 kB / 0.5049 GB, free: 62.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004341/0.6734, allocations: 3.509 MB / 0.5083 GB, free: 60.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007926/0.6742, allocations: 415.8 kB / 0.5087 GB, free: 60.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/0.6744, allocations: 31.06 kB / 0.5087 GB, free: 60.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008665/0.6753, allocations: 93.02 kB / 0.5088 GB, free: 60.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.6755, allocations: 105 kB / 0.5089 GB, free: 60.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.292e-05/0.6756, allocations: 41.91 kB / 0.5089 GB, free: 60.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001163/0.6768, allocations: 0.9688 MB / 0.5099 GB, free: 60.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6768, allocations: 0 / 0.5099 GB, free: 60.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001526/0.6783, allocations: 0.5353 MB / 0.5104 GB, free: 60.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 23,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004583/0.6788, allocations: 356.7 kB / 0.5108 GB, free: 60.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003099/0.6819, allocations: 2.318 MB / 0.513 GB, free: 59.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6819, allocations: 0 / 0.513 GB, free: 59.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002015/0.6839, allocations: 1.489 MB / 0.5145 GB, free: 58.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.6858, allocations: 419.7 kB / 0.5149 GB, free: 58.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005252/0.6911, allocations: 3.811 MB / 0.5186 GB, free: 56.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.6922, allocations: 1.924 MB / 0.5205 GB, free: 55.31 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001116/0.6934, allocations: 374.4 kB / 0.5208 GB, free: 55.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.6937, allocations: 112.9 kB / 0.5209 GB, free: 54.95 MB / 346.7 MB Notification: Performance of SimCode: time 7.81e-07/0.6937, allocations: 0 / 0.5209 GB, free: 54.95 MB / 346.7 MB Notification: Performance of Templates: time 0.04031/0.734, allocations: 28.82 MB / 0.5491 GB, free: 33.11 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1)