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.0009202/0.0009203, allocations: 186.5 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.269/1.269, allocations: 194.3 MB / 203.1 MB, free: 9.328 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001584/0.001584, allocations: 115.3 kB / 248.1 MB, free: 6.328 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.66e-05/1.66e-05, allocations: 4 kB / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07961/0.07964, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2812/0.3608, allocations: 103.1 MB / 445.7 MB, free: 9.121 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.3612, allocations: 88.58 kB / 445.8 MB, free: 9.078 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1304/0.4917, allocations: 49.1 MB / 494.9 MB, free: 15.04 MB / 379.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4917, allocations: 0 / 494.9 MB, free: 15.04 MB / 379.1 MB Notification: Performance of Transformations before backend: time 0.0001341/0.4919, allocations: 63.92 kB / 494.9 MB, free: 14.98 MB / 379.1 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.003944/0.4958, allocations: 2.327 MB / 497.3 MB, free: 12.6 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4959, allocations: 8.031 kB / 497.3 MB, free: 12.59 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007351/0.4966, allocations: 316.5 kB / 497.6 MB, free: 12.28 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002702/0.4993, allocations: 1.66 MB / 499.3 MB, free: 10.56 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-05/0.4994, allocations: 72 kB / 499.3 MB, free: 10.49 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002601/0.4997, allocations: 136.2 kB / 499.5 MB, free: 10.36 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003268/0.5029, allocations: 2.074 MB / 0.4898 GB, free: 8.273 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003841/0.5068, allocations: 2.488 MB / 0.4922 GB, free: 5.645 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.133e-05/0.5069, allocations: 7.906 kB / 0.4922 GB, free: 5.637 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/0.507, allocations: 4 kB / 0.4922 GB, free: 5.633 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/0.5072, allocations: 108.2 kB / 0.4923 GB, free: 5.523 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01203/0.5192, allocations: 8.676 MB / 0.5008 GB, free: 12.59 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.5212, allocations: 1.66 MB / 0.5024 GB, free: 10.81 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.5223, allocations: 0.7655 MB / 0.5032 GB, free: 10.05 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003362/0.5227, allocations: 223.5 kB / 0.5034 GB, free: 9.793 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.5227, allocations: 47.88 kB / 0.5034 GB, free: 9.738 MB / 395.1 MB Notification: Performance of pre-optimization done (n=109): time 3.396e-06/0.5227, allocations: 0 / 0.5034 GB, free: 9.738 MB / 395.1 MB Notification: Performance of matching and sorting (n=132): time 0.009118/0.5319, allocations: 4.899 MB / 0.5082 GB, free: 4.793 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.5319, allocations: 68.72 kB / 0.5083 GB, free: 4.715 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.5334, allocations: 1.105 MB / 0.5093 GB, free: 3.602 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 7.813e-05/0.5335, allocations: 25.7 kB / 0.5094 GB, free: 3.57 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006757/0.5342, allocations: 1.095 MB / 0.5104 GB, free: 2.461 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.5345, allocations: 441.4 kB / 0.5109 GB, free: 2.023 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/0.5346, allocations: 4 kB / 0.5109 GB, free: 2.02 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5347, allocations: 373.9 kB / 0.5112 GB, free: 1.648 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000937/0.5357, allocations: 0.6833 MB / 0.5119 GB, free: 0.9648 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1779/0.7136, allocations: 1.098 MB / 0.513 GB, free: 86.09 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.715, allocations: 0.8795 MB / 0.5138 GB, free: 86.08 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.715, allocations: 5.719 kB / 0.5138 GB, free: 86.08 MB / 395.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003626/0.7187, allocations: 2.422 MB / 0.5162 GB, free: 86.01 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.7187, allocations: 13.22 kB / 0.5162 GB, free: 86.01 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.7187, allocations: 12.25 kB / 0.5162 GB, free: 86.01 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.7201, allocations: 0.5777 MB / 0.5168 GB, free: 85.98 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.7213, allocations: 364.3 kB / 0.5171 GB, free: 85.98 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005995/0.7273, allocations: 6.392 MB / 0.5234 GB, free: 83.53 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.7285, allocations: 87.83 kB / 0.5235 GB, free: 83.53 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.7286, allocations: 64.64 kB / 0.5235 GB, free: 83.53 MB / 395.1 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 (170): * Single equations (assignments): 167 * 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.0002267/0.7288, allocations: 150.3 kB / 0.5237 GB, free: 83.42 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/0.729, allocations: 159.6 kB / 0.5238 GB, free: 83.41 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003289/0.7323, allocations: 2.209 MB / 0.526 GB, free: 83.29 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.7324, allocations: 14.66 kB / 0.526 GB, free: 83.29 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.7324, allocations: 8.219 kB / 0.526 GB, free: 83.29 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.7324, allocations: 6.562 kB / 0.526 GB, free: 83.29 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006206/0.7386, allocations: 4.505 MB / 0.5304 GB, free: 82.8 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.7386, allocations: 3.031 kB / 0.5304 GB, free: 82.8 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008973/0.7395, allocations: 219.6 kB / 0.5306 GB, free: 82.8 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001443/0.741, allocations: 0.6376 MB / 0.5312 GB, free: 82.77 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-05/0.7411, allocations: 16.64 kB / 0.5312 GB, free: 82.77 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007282/0.7484, allocations: 8.076 MB / 0.5391 GB, free: 79.05 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.7484, allocations: 6 kB / 0.5391 GB, free: 79.05 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00455/0.753, allocations: 3.431 MB / 0.5425 GB, free: 78.41 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007273/0.7537, allocations: 393.1 kB / 0.5429 GB, free: 78.23 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.7539, allocations: 9.297 kB / 0.5429 GB, free: 78.23 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009122/0.7549, allocations: 77.25 kB / 0.5429 GB, free: 78.23 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002676/0.7551, allocations: 108 kB / 0.543 GB, free: 78.23 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.7553, allocations: 39.58 kB / 0.5431 GB, free: 78.23 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001165/0.7565, allocations: 0.8262 MB / 0.5439 GB, free: 78.12 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7565, allocations: 0.75 kB / 0.5439 GB, free: 78.12 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001673/0.7582, allocations: 478.8 kB / 0.5444 GB, free: 78.12 MB / 395.1 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 (103): * Single equations (assignments): 100 * 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.0005168/0.7587, allocations: 339.5 kB / 0.5447 GB, free: 78.03 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.003249/0.762, allocations: 2.229 MB / 0.5469 GB, free: 77.31 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.762, allocations: 1.656 kB / 0.5469 GB, free: 77.31 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002217/0.7642, allocations: 1.438 MB / 0.5483 GB, free: 76.62 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.7659, allocations: 350.5 kB / 0.5486 GB, free: 76.54 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006474/0.7724, allocations: 3.767 MB / 0.5523 GB, free: 74.96 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001851/0.7743, allocations: 1.92 MB / 0.5541 GB, free: 74.03 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.001298/0.7756, allocations: 368.6 kB / 0.5545 GB, free: 73.99 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003923/0.776, allocations: 120.7 kB / 0.5546 GB, free: 73.97 MB / 395.1 MB Notification: Performance of SimCode: time 6.71e-07/0.776, allocations: 0 / 0.5546 GB, free: 73.97 MB / 395.1 MB Notification: Performance of Templates: time 0.03423/0.8102, allocations: 23.58 MB / 0.5776 GB, free: 72.51 MB / 395.1 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)