Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009746/0.0009746, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004279/0.0004279, allocations: 18.8 kB / 278.9 MB, free: 13.03 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2058, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03463/0.2405, allocations: 36.12 MB / 362.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02071/0.2612, allocations: 10.31 MB / 372.9 MB, free: 4.973 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00669/0.2679, allocations: 243.2 kB / 373.2 MB, free: 4.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006244/0.2742, allocations: 1.744 MB / 374.9 MB, free: 2.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01013/0.2844, allocations: 2.981 MB / 377.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004868/0.2893, allocations: 1.465 MB / 379.4 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01738/0.3066, allocations: 13.56 MB / 392.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03044/0.3371, allocations: 18.28 MB / 411.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00694/0.3441, allocations: 4.605 MB / 415.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008129/0.3522, allocations: 5.4 MB / 421.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002015/0.3543, allocations: 0.7188 MB / 421.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003752/0.358, allocations: 1.097 MB / 423 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002434/0.3605, allocations: 2.32 MB / 425.3 MB, free: 348 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003664/0.3642, allocations: 2.41 MB / 427.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02218/0.3864, allocations: 20.21 MB / 447.9 MB, free: 9.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3864, allocations: 4 kB / 448 MB, free: 9.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.3864, allocations: 0 / 448 MB, free: 9.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005179/0.3869, allocations: 3.938 kB / 448 MB, free: 9.637 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.3212/0.7082, allocations: 12.16 MB / 460.1 MB, free: 93.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.7082, allocations: 8.531 kB / 460.1 MB, free: 93.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03242/0.7406, allocations: 6.176 MB / 466.3 MB, free: 92.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01225/0.7529, allocations: 6.874 MB / 473.2 MB, free: 87.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004772/0.7534, allocations: 0.8543 MB / 474 MB, free: 87.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002113/0.7556, allocations: 1.116 MB / 475.1 MB, free: 86.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03324/0.7888, allocations: 17.12 MB / 492.3 MB, free: 71.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003127/0.7892, allocations: 16.97 kB / 492.3 MB, free: 71.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001473/0.7907, allocations: 470.4 kB / 492.7 MB, free: 70.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004171/0.7911, allocations: 0.6078 MB / 493.3 MB, free: 70.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02434/0.8154, allocations: 15.53 MB / 0.4969 GB, free: 54.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07681/0.8923, allocations: 58.76 MB / 0.5543 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0203/0.9126, allocations: 20.9 MB / 0.5747 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005502/0.9182, allocations: 3.406 MB / 0.5781 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01661/0.9348, allocations: 9.695 MB / 0.5875 GB, free: 5.691 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.9349, allocations: 69.55 kB / 0.5876 GB, free: 5.617 MB / 430.1 MB Notification: Performance of pre-optimization done (n=319): time 4.699e-06/0.935, allocations: 3.938 kB / 0.5876 GB, free: 5.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=346): time 0.03542/0.9704, allocations: 17.79 MB / 0.605 GB, free: 3.605 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.9705, allocations: 116.4 kB / 0.6051 GB, free: 3.473 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007596/0.9781, allocations: 5.379 MB / 0.6103 GB, free: 14.11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003233/0.9784, allocations: 81.7 kB / 0.6104 GB, free: 14.03 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003402/0.9818, allocations: 5.33 MB / 0.6156 GB, free: 8.672 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001224/0.9831, allocations: 1.22 MB / 0.6168 GB, free: 7.461 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000342/0.9834, allocations: 139.9 kB / 0.6169 GB, free: 7.324 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0004142/0.9838, allocations: 0.5754 MB / 0.6175 GB, free: 6.742 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00455/0.9884, allocations: 2.789 MB / 0.6202 GB, free: 3.949 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1821/1.17, allocations: 5.833 MB / 0.6259 GB, free: 152.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007454/1.178, allocations: 4.042 MB / 0.6299 GB, free: 152.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001764/1.178, allocations: 29.97 kB / 0.6299 GB, free: 152.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01538/1.194, allocations: 9.766 MB / 0.6394 GB, free: 148.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.794e-05/1.194, allocations: 54.7 kB / 0.6395 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.473e-05/1.194, allocations: 104.6 kB / 0.6396 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/1.196, allocations: 0.9458 MB / 0.6405 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004511/1.2, allocations: 1.589 MB / 0.6421 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009288/1.21, allocations: 9.77 MB / 0.6516 GB, free: 141.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004685/1.214, allocations: 449.3 kB / 0.652 GB, free: 141.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000478/1.215, allocations: 369.4 kB / 0.6524 GB, free: 141.1 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * 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 (821): * Single equations (assignments): 813 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(8,67.2%) 26,(2,100.0%) 8,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005751/1.221, allocations: 3.831 MB / 0.6561 GB, free: 139.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008663/1.221, allocations: 0.5224 MB / 0.6566 GB, free: 139.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008928/1.23, allocations: 6.026 MB / 0.6625 GB, free: 136.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00406/1.234, allocations: 3.127 MB / 0.6656 GB, free: 135.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/1.234, allocations: 12.12 kB / 0.6656 GB, free: 135.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.154e-05/1.234, allocations: 16.03 kB / 0.6656 GB, free: 135.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01991/1.254, allocations: 14.87 MB / 0.6801 GB, free: 121.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.254, allocations: 8.625 kB / 0.6801 GB, free: 121.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00235/1.257, allocations: 0.6124 MB / 0.6807 GB, free: 120.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/1.259, allocations: 0.9073 MB / 0.6816 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002151/1.259, allocations: 79.97 kB / 0.6817 GB, free: 119.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/1.27, allocations: 12.87 MB / 0.6943 GB, free: 106.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.27, allocations: 7.938 kB / 0.6943 GB, free: 106.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/1.282, allocations: 8.707 MB / 0.7028 GB, free: 97.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/1.284, allocations: 1.035 MB / 0.7038 GB, free: 96.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006375/1.285, allocations: 72 kB / 0.7039 GB, free: 96.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002081/1.287, allocations: 219.7 kB / 0.7041 GB, free: 96.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004659/1.287, allocations: 258.5 kB / 0.7043 GB, free: 96.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002014/1.288, allocations: 104 kB / 0.7044 GB, free: 96.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004859/1.292, allocations: 3.54 MB / 0.7079 GB, free: 92.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.1e-07/1.292, allocations: 0.5625 kB / 0.7079 GB, free: 92.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006011/1.298, allocations: 1.833 MB / 0.7097 GB, free: 90.69 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smeeQS.short.port_p.reference.gamma,mechanicalPowerSensorQS.relSpeedSensor.phi_rel) * 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 (301): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 8,(1,100.0%) 4,(1,100.0%) 8,(3,77.8%) 4,(8,62.5%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000491/1.299, allocations: 274 kB / 0.7099 GB, free: 90.44 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009916/1.309, allocations: 7.193 MB / 0.7169 GB, free: 83.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.309, allocations: 11.88 kB / 0.717 GB, free: 83.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004573/1.314, allocations: 3.459 MB / 0.7203 GB, free: 79.65 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004872/1.318, allocations: 1.148 MB / 0.7215 GB, free: 78.51 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03011/1.349, allocations: 22.25 MB / 0.7432 GB, free: 56.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006011/1.355, allocations: 6.661 MB / 0.7497 GB, free: 49.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005939/1.361, allocations: 1.941 MB / 0.7516 GB, free: 47.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/1.362, allocations: 387.4 kB / 0.752 GB, free: 47.16 MB / 462.1 MB Notification: Performance of SimCode: time 5.2e-07/1.362, allocations: 0 / 0.752 GB, free: 47.16 MB / 462.1 MB Notification: Performance of Templates: time 0.3016/1.663, allocations: 69.88 MB / 0.8202 GB, free: 131.8 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1)