Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006566/0.006566, allocations: 165.1 kB / 15.11 MB, free: 5.973 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.285/1.285, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001999/0.001999, allocations: 109.7 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003201, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2032, allocations: 38.77 MB / 312.9 MB, free: 38.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1108/0.314, allocations: 95.86 MB / 408.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.3143, allocations: 87.95 kB / 408.8 MB, free: 10.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2932/0.6075, allocations: 45.46 MB / 454.3 MB, free: 70.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6076, allocations: 0 / 454.3 MB, free: 70.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001418/0.6077, allocations: 55.88 kB / 454.3 MB, free: 70.16 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.00549/0.6132, allocations: 2.448 MB / 456.8 MB, free: 67.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.6133, allocations: 12.02 kB / 456.8 MB, free: 67.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.6147, allocations: 288.8 kB / 457.1 MB, free: 67.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003236/0.6179, allocations: 1.507 MB / 458.6 MB, free: 65.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.629e-05/0.618, allocations: 156.2 kB / 458.7 MB, free: 65.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000332/0.6184, allocations: 215.9 kB / 459 MB, free: 65.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004256/0.6226, allocations: 2.765 MB / 461.7 MB, free: 62.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.895e-05/0.6227, allocations: 11.84 kB / 461.7 MB, free: 62.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000197/0.6229, allocations: 88 kB / 461.8 MB, free: 62.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-05/0.623, allocations: 96.16 kB / 461.9 MB, free: 62.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003358/0.6264, allocations: 2.226 MB / 464.1 MB, free: 60.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/0.6387, allocations: 8.544 MB / 472.7 MB, free: 51.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.6407, allocations: 1.726 MB / 474.4 MB, free: 49.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002717/0.641, allocations: 130 kB / 474.5 MB, free: 49.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.6411, allocations: 43.56 kB / 474.6 MB, free: 49.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=102): time 3.206e-06/0.6411, allocations: 4 kB / 474.6 MB, free: 49.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.015/0.6561, allocations: 7.125 MB / 481.7 MB, free: 41.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.6562, allocations: 64.41 kB / 481.8 MB, free: 41.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.6578, allocations: 1.175 MB / 482.9 MB, free: 40.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.6579, allocations: 53.64 kB / 483 MB, free: 40.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005116/0.6584, allocations: 1.014 MB / 484 MB, free: 39.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.6587, allocations: 433.7 kB / 484.4 MB, free: 39.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.212e-05/0.6588, allocations: 28 kB / 484.5 MB, free: 39.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6589, allocations: 366.1 kB / 484.8 MB, free: 38.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009869/0.6599, allocations: 0.7457 MB / 485.6 MB, free: 38.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.661, allocations: 1.111 MB / 486.7 MB, free: 36.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.6621, allocations: 0.9198 MB / 487.6 MB, free: 35.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.6621, allocations: 4 kB / 487.6 MB, free: 35.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.003778/0.6659, allocations: 2.579 MB / 490.2 MB, free: 33.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.6659, allocations: 8 kB / 490.2 MB, free: 33.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.666, allocations: 12 kB / 490.2 MB, free: 33.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.6673, allocations: 0.5845 MB / 490.8 MB, free: 32.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.6685, allocations: 331.5 kB / 491.1 MB, free: 32.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006122/0.6746, allocations: 6.539 MB / 497.6 MB, free: 25.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.6761, allocations: 111.8 kB / 497.8 MB, free: 25.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.6763, allocations: 56 kB / 497.8 MB, free: 25.37 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (155): * Single equations (assignments): 152 * 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%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001209/0.6775, allocations: 0.7008 MB / 498.5 MB, free: 24.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/0.6778, allocations: 154.1 kB / 498.7 MB, free: 24.51 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/0.6813, allocations: 2.362 MB / 0.4893 GB, free: 22.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.6814, allocations: 12 kB / 0.4893 GB, free: 22.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.6814, allocations: 8.125 kB / 0.4893 GB, free: 22.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.6814, allocations: 3.984 kB / 0.4893 GB, free: 22.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007116/0.6885, allocations: 4.731 MB / 0.4939 GB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.6886, allocations: 7.922 kB / 0.4939 GB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008412/0.6894, allocations: 199.7 kB / 0.4941 GB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/0.6909, allocations: 0.636 MB / 0.4947 GB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.391e-05/0.691, allocations: 35.94 kB / 0.4948 GB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007393/0.6984, allocations: 8.311 MB / 0.5029 GB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6985, allocations: 7.984 kB / 0.5029 GB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004901/0.7034, allocations: 3.477 MB / 0.5063 GB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000971/0.7044, allocations: 386.9 kB / 0.5067 GB, free: 3.695 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/0.7046, allocations: 28 kB / 0.5067 GB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008079/0.7054, allocations: 95.89 kB / 0.5068 GB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/0.7057, allocations: 96.81 kB / 0.5069 GB, free: 3.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.351e-05/0.7058, allocations: 39.98 kB / 0.5069 GB, free: 3.441 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001214/0.707, allocations: 0.9022 MB / 0.5078 GB, free: 2.539 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.707, allocations: 3.938 kB / 0.5078 GB, free: 2.535 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001746/0.7088, allocations: 0.5117 MB / 0.5083 GB, free: 2.023 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],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 (95): * Single equations (assignments): 92 * 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%) 22,(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.0005454/0.7093, allocations: 308.6 kB / 0.5086 GB, free: 1.707 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003848/0.7132, allocations: 2.349 MB / 0.5109 GB, free: 15.31 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.7132, allocations: 0 / 0.5109 GB, free: 15.31 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002646/0.7159, allocations: 1.521 MB / 0.5124 GB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/0.7179, allocations: 360.6 kB / 0.5127 GB, free: 13.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007977/0.7259, allocations: 5.31 MB / 0.5179 GB, free: 8.051 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/0.7275, allocations: 1.842 MB / 0.5197 GB, free: 6.172 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001272/0.7288, allocations: 357.4 kB / 0.52 GB, free: 5.816 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.7291, allocations: 107.4 kB / 0.5201 GB, free: 5.711 MB / 330.7 MB Notification: Performance of SimCode: time 1.793e-06/0.7291, allocations: 0 / 0.5201 GB, free: 5.711 MB / 330.7 MB Notification: Performance of Templates: time 0.2245/0.9537, allocations: 25.98 MB / 0.5455 GB, free: 91.94 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1)