Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0008871/0.0008871, allocations: 180.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.163/1.163, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001529/0.001529, allocations: 112.6 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 11.98 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07745/0.07778, allocations: 44.49 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2368/0.3147, allocations: 103.9 MB / 458.9 MB, free: 2.133 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.3149, allocations: 93.73 kB / 459 MB, free: 2.086 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1224/0.4373, allocations: 49.68 MB / 0.4968 GB, free: 2.352 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4373, allocations: 0 / 0.4968 GB, free: 2.352 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001474/0.4375, allocations: 59.94 kB / 0.4968 GB, free: 2.293 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005055/0.4425, allocations: 2.602 MB / 0.4994 GB, free: 15.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.4426, allocations: 8.031 kB / 0.4994 GB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008468/0.4434, allocations: 316.6 kB / 0.4997 GB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.4466, allocations: 1.679 MB / 0.5013 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.4467, allocations: 164.4 kB / 0.5015 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002892/0.447, allocations: 224.2 kB / 0.5017 GB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004165/0.4512, allocations: 2.875 MB / 0.5045 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-05/0.4512, allocations: 4 kB / 0.5045 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/0.4515, allocations: 95.98 kB / 0.5046 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-05/0.4516, allocations: 108.3 kB / 0.5047 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003605/0.4552, allocations: 2.301 MB / 0.507 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1511/0.6062, allocations: 9.096 MB / 0.5158 GB, free: 91.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/0.6083, allocations: 1.745 MB / 0.5175 GB, free: 90.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/0.6086, allocations: 219.8 kB / 0.5178 GB, free: 90.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.6086, allocations: 46.31 kB / 0.5178 GB, free: 90.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=107): time 3.346e-06/0.6086, allocations: 0.8438 kB / 0.5178 GB, free: 90.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=130): time 0.01536/0.624, allocations: 7.568 MB / 0.5252 GB, free: 89.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.6241, allocations: 64.88 kB / 0.5253 GB, free: 89.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.6258, allocations: 1.343 MB / 0.5266 GB, free: 89.37 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.6259, allocations: 50.23 kB / 0.5266 GB, free: 89.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006032/0.6265, allocations: 1.088 MB / 0.5277 GB, free: 88.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.6268, allocations: 458.3 kB / 0.5281 GB, free: 88.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.6269, allocations: 31.75 kB / 0.5281 GB, free: 88.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.089e-05/0.627, allocations: 365.5 kB / 0.5285 GB, free: 88.44 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.6282, allocations: 0.7701 MB / 0.5292 GB, free: 88.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.6295, allocations: 1.176 MB / 0.5304 GB, free: 87.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.6308, allocations: 0.9551 MB / 0.5313 GB, free: 87.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.6308, allocations: 4 kB / 0.5313 GB, free: 87.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003997/0.6348, allocations: 2.692 MB / 0.534 GB, free: 87.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.6348, allocations: 15.77 kB / 0.534 GB, free: 87.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.6349, allocations: 13.5 kB / 0.534 GB, free: 87.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.6362, allocations: 0.5902 MB / 0.5346 GB, free: 87.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.6374, allocations: 363.2 kB / 0.5349 GB, free: 87.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006456/0.6438, allocations: 6.902 MB / 0.5417 GB, free: 85.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.645, allocations: 118 kB / 0.5418 GB, free: 85.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.6451, allocations: 69.75 kB / 0.5418 GB, free: 85.07 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (168): * Single equations (assignments): 165 * 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.0009968/0.6461, allocations: 0.7236 MB / 0.5425 GB, free: 84.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.6463, allocations: 170.4 kB / 0.5427 GB, free: 84.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003266/0.6496, allocations: 2.428 MB / 0.5451 GB, free: 84.65 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.6496, allocations: 13.84 kB / 0.5451 GB, free: 84.65 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6496, allocations: 7.859 kB / 0.5451 GB, free: 84.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.6496, allocations: 11.28 kB / 0.5451 GB, free: 84.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006314/0.6559, allocations: 4.952 MB / 0.5499 GB, free: 82.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.6559, allocations: 4.688 kB / 0.5499 GB, free: 82.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007911/0.6567, allocations: 216.6 kB / 0.5501 GB, free: 82.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/0.6581, allocations: 0.6441 MB / 0.5508 GB, free: 82.51 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.207e-05/0.6582, allocations: 38.25 kB / 0.5508 GB, free: 82.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007451/0.6657, allocations: 8.65 MB / 0.5593 GB, free: 76.65 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.6657, allocations: 8.719 kB / 0.5593 GB, free: 76.65 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005214/0.6709, allocations: 3.626 MB / 0.5628 GB, free: 75.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/0.6723, allocations: 407.7 kB / 0.5632 GB, free: 74.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004637/0.6728, allocations: 30.78 kB / 0.5632 GB, free: 74.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.6739, allocations: 98.52 kB / 0.5633 GB, free: 74.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/0.6741, allocations: 104.4 kB / 0.5634 GB, free: 74.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.672e-05/0.6742, allocations: 35.78 kB / 0.5635 GB, free: 74.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001603/0.6758, allocations: 1.033 MB / 0.5645 GB, free: 74.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6758, allocations: 0 / 0.5645 GB, free: 74.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002068/0.6779, allocations: 0.5453 MB / 0.565 GB, free: 74.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 () * Number of clocked 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.0005836/0.6785, allocations: 367.8 kB / 0.5653 GB, free: 74.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003469/0.682, allocations: 2.425 MB / 0.5677 GB, free: 73.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.682, allocations: 0 / 0.5677 GB, free: 73.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002187/0.6842, allocations: 1.55 MB / 0.5692 GB, free: 72.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.6862, allocations: 436.8 kB / 0.5696 GB, free: 72.24 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008088/0.6943, allocations: 5.618 MB / 0.5751 GB, free: 69.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/0.6961, allocations: 1.918 MB / 0.577 GB, free: 68.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001511/0.6977, allocations: 386.2 kB / 0.5774 GB, free: 68.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004749/0.6982, allocations: 124.2 kB / 0.5775 GB, free: 68.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.633e-06/0.6982, allocations: 0 / 0.5775 GB, free: 68.1 MB / 394.7 MB Notification: Performance of Templates: time 0.04372/0.7419, allocations: 29.16 MB / 0.606 GB, free: 51.52 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1)