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.001452/0.001452, allocations: 165.2 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.173/1.173, allocations: 170.6 MB / 178.7 MB, free: 15.65 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.001645/0.001646, allocations: 115.5 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.214e-05/1.216e-05, allocations: 0 / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0753/0.07533, allocations: 38.78 MB / 301 MB, free: 3.621 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2997/0.3751, allocations: 98 MB / 399 MB, free: 2.754 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.3754, allocations: 84.33 kB / 399.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1364/0.5118, allocations: 48.67 MB / 447.7 MB, free: 7.652 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5119, allocations: 4 kB / 447.8 MB, free: 7.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002414/0.5121, allocations: 67.88 kB / 447.8 MB, free: 7.582 MB / 330.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.006059/0.5182, allocations: 2.33 MB / 450.1 MB, free: 5.195 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.5183, allocations: 8.031 kB / 450.2 MB, free: 5.188 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.5197, allocations: 316.5 kB / 450.5 MB, free: 4.875 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003517/0.5232, allocations: 1.597 MB / 452.1 MB, free: 3.219 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.619e-05/0.5233, allocations: 72 kB / 452.1 MB, free: 3.148 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005352/0.5238, allocations: 135.9 kB / 452.3 MB, free: 3.016 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004547/0.5284, allocations: 2.071 MB / 454.3 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005323/0.5337, allocations: 2.5 MB / 456.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.831e-05/0.5338, allocations: 7.906 kB / 456.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002591/0.5341, allocations: 3.953 kB / 456.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/0.5342, allocations: 104.3 kB / 457 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01457/0.5488, allocations: 8.629 MB / 465.6 MB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/0.5509, allocations: 1.653 MB / 467.2 MB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.5521, allocations: 0.7694 MB / 468 MB, free: 2.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002867/0.5524, allocations: 138.3 kB / 468.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.5524, allocations: 47.81 kB / 468.2 MB, free: 2.543 MB / 346.7 MB Notification: Performance of pre-optimization done (n=108): time 3.046e-06/0.5524, allocations: 0 / 468.2 MB, free: 2.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=131): time 0.2147/0.7672, allocations: 4.87 MB / 473.1 MB, free: 83.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.7673, allocations: 65.69 kB / 473.1 MB, free: 83.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002856/0.7701, allocations: 1.052 MB / 474.2 MB, free: 83.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.7703, allocations: 27.39 kB / 474.2 MB, free: 83.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.7714, allocations: 1.086 MB / 475.3 MB, free: 83.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004186/0.7718, allocations: 444.1 kB / 475.7 MB, free: 82.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.7719, allocations: 1.125 kB / 475.7 MB, free: 82.94 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.772, allocations: 371.8 kB / 476.1 MB, free: 82.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.7731, allocations: 0.6875 MB / 476.8 MB, free: 82.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.7743, allocations: 1.096 MB / 477.9 MB, free: 82.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.7756, allocations: 0.8772 MB / 478.7 MB, free: 82.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/0.7756, allocations: 3.562 kB / 478.7 MB, free: 82.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004611/0.7803, allocations: 2.419 MB / 481.2 MB, free: 81.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.7803, allocations: 10.38 kB / 481.2 MB, free: 81.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.7803, allocations: 12.91 kB / 481.2 MB, free: 81.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.7818, allocations: 0.5824 MB / 481.8 MB, free: 81.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.7831, allocations: 359.8 kB / 482.1 MB, free: 81.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006276/0.7894, allocations: 6.397 MB / 488.5 MB, free: 79.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.7908, allocations: 86.66 kB / 488.6 MB, free: 79.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.791, allocations: 67.3 kB / 488.7 MB, free: 79.38 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 (169): * Single equations (assignments): 166 * 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.0002772/0.7913, allocations: 142.3 kB / 488.8 MB, free: 79.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/0.7916, allocations: 151.9 kB / 489 MB, free: 79.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003363/0.7949, allocations: 2.207 MB / 491.2 MB, free: 79.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.795, allocations: 12.64 kB / 491.2 MB, free: 79.06 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.795, allocations: 10.34 kB / 491.2 MB, free: 79.06 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.795, allocations: 5.859 kB / 491.2 MB, free: 79.06 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006679/0.8017, allocations: 4.465 MB / 495.7 MB, free: 78.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.8017, allocations: 3.625 kB / 495.7 MB, free: 78.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008421/0.8026, allocations: 222.5 kB / 495.9 MB, free: 78.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00146/0.804, allocations: 0.6313 MB / 496.5 MB, free: 78.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.284e-05/0.8041, allocations: 18.56 kB / 496.5 MB, free: 78.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007241/0.8114, allocations: 8.062 MB / 0.4928 GB, free: 73.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.8114, allocations: 5.219 kB / 0.4928 GB, free: 73.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004426/0.8158, allocations: 3.415 MB / 0.4961 GB, free: 72.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000787/0.8167, allocations: 393.5 kB / 0.4965 GB, free: 71.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.8169, allocations: 11.53 kB / 0.4965 GB, free: 71.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008226/0.8177, allocations: 73.47 kB / 0.4966 GB, free: 71.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000252/0.818, allocations: 106.7 kB / 0.4967 GB, free: 71.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.019e-05/0.818, allocations: 44.23 kB / 0.4967 GB, free: 71.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001019/0.8191, allocations: 0.7751 MB / 0.4975 GB, free: 71.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8191, allocations: 0 / 0.4975 GB, free: 71.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001815/0.8209, allocations: 481.3 kB / 0.4979 GB, free: 71.4 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 (102): * Single equations (assignments): 99 * 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.0005026/0.8214, allocations: 330.5 kB / 0.4982 GB, free: 71.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003009/0.8244, allocations: 2.212 MB / 0.5004 GB, free: 70.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.8244, allocations: 0 / 0.5004 GB, free: 70.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001992/0.8264, allocations: 1.434 MB / 0.5018 GB, free: 69.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/0.8285, allocations: 347.4 kB / 0.5021 GB, free: 69.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005866/0.8344, allocations: 3.738 MB / 0.5058 GB, free: 68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/0.8357, allocations: 1.912 MB / 0.5076 GB, free: 67.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001277/0.837, allocations: 367 kB / 0.508 GB, free: 67.03 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.8373, allocations: 107.5 kB / 0.5081 GB, free: 67.02 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.8373, allocations: 0 / 0.5081 GB, free: 67.02 MB / 346.7 MB Notification: Performance of Templates: time 0.03661/0.8739, allocations: 22.96 MB / 0.5305 GB, free: 58 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)