Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009667/0.0009668, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001051/0.001051, allocations: 177.3 kB / 15.94 MB, free: 228 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.306/1.306, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0004272/0.0004272, allocations: 12 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2316, allocations: 47.58 MB / 326.5 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03416/0.2658, allocations: 33.01 MB / 359.5 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02423/0.2901, allocations: 10.73 MB / 370.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008002/0.2982, allocations: 243.1 kB / 370.4 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008045/0.3062, allocations: 2.122 MB / 372.6 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01486/0.3211, allocations: 3.743 MB / 376.3 MB, free: 1.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006721/0.3279, allocations: 1.723 MB / 378 MB, free: 15.78 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01706/0.345, allocations: 9.876 MB / 387.9 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03202/0.377, allocations: 18.11 MB / 406 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007214/0.3843, allocations: 4.345 MB / 410.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009135/0.3935, allocations: 4.945 MB / 415.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00281/0.3963, allocations: 0.7148 MB / 416 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004609/0.4009, allocations: 1.054 MB / 417.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003113/0.4041, allocations: 2.246 MB / 419.3 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005066/0.4092, allocations: 2.402 MB / 421.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02179/0.431, allocations: 20.15 MB / 441.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.431, allocations: 0 / 441.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.4311, allocations: 4 kB / 441.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000623/0.4317, allocations: 0 / 441.9 MB, free: 15.7 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.03338/0.4651, allocations: 12.13 MB / 454 MB, free: 3.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.4651, allocations: 8.031 kB / 454 MB, free: 3.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3642/0.8294, allocations: 6.06 MB / 460.1 MB, free: 93.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01608/0.8455, allocations: 6.891 MB / 467 MB, free: 90.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007533/0.8463, allocations: 0.8462 MB / 467.8 MB, free: 90.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003746/0.85, allocations: 1.107 MB / 468.9 MB, free: 89.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04194/0.892, allocations: 17.04 MB / 485.9 MB, free: 78.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004186/0.8925, allocations: 17.91 kB / 486 MB, free: 78.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002957/0.8954, allocations: 467.1 kB / 486.4 MB, free: 77.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005205/0.896, allocations: 0.6118 MB / 487 MB, free: 77.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02908/0.925, allocations: 15.54 MB / 0.4908 GB, free: 61.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09081/1.016, allocations: 58.73 MB / 0.5481 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02286/1.039, allocations: 20.9 MB / 0.5686 GB, free: 9.949 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02196/1.061, allocations: 9.832 MB / 0.5782 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.908e-05/1.061, allocations: 69.56 kB / 0.5782 GB, free: 15.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=333): time 6.412e-06/1.061, allocations: 0 / 0.5782 GB, free: 15.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=360): time 0.03743/1.098, allocations: 17.64 MB / 0.5954 GB, free: 14.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/1.099, allocations: 112.4 kB / 0.5956 GB, free: 13.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008652/1.107, allocations: 5.341 MB / 0.6008 GB, free: 8.605 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008212/1.108, allocations: 85.7 kB / 0.6009 GB, free: 8.516 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00433/1.112, allocations: 5.322 MB / 0.6061 GB, free: 3.168 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00183/1.114, allocations: 1.271 MB / 0.6073 GB, free: 1.906 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006235/1.115, allocations: 136 kB / 0.6074 GB, free: 1.773 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004152/1.115, allocations: 0.5794 MB / 0.608 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2083/1.324, allocations: 2.832 MB / 0.6108 GB, free: 140.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007513/1.331, allocations: 5.848 MB / 0.6165 GB, free: 135.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006919/1.338, allocations: 4.095 MB / 0.6205 GB, free: 134.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002478/1.338, allocations: 31.62 kB / 0.6205 GB, free: 134.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.01855/1.357, allocations: 9.865 MB / 0.6301 GB, free: 130.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.344e-05/1.357, allocations: 51.06 kB / 0.6302 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001831/1.357, allocations: 101.8 kB / 0.6303 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002204/1.359, allocations: 0.9386 MB / 0.6312 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005782/1.365, allocations: 1.613 MB / 0.6328 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/1.376, allocations: 9.968 MB / 0.6425 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006303/1.382, allocations: 441.2 kB / 0.6429 GB, free: 123 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001269/1.384, allocations: 361.8 kB / 0.6433 GB, free: 122.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * 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 (831): * Single equations (assignments): 823 * 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.007334/1.391, allocations: 3.844 MB / 0.647 GB, free: 121 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001675/1.393, allocations: 0.518 MB / 0.6475 GB, free: 121 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/1.403, allocations: 6.161 MB / 0.6535 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004891/1.408, allocations: 3.209 MB / 0.6567 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.506e-05/1.408, allocations: 12 kB / 0.6567 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.911e-05/1.408, allocations: 18.8 kB / 0.6567 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02732/1.436, allocations: 15.14 MB / 0.6715 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/1.436, allocations: 8.625 kB / 0.6715 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002793/1.438, allocations: 0.6358 MB / 0.6721 GB, free: 99.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002395/1.441, allocations: 0.903 MB / 0.673 GB, free: 98.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005267/1.441, allocations: 79.97 kB / 0.6731 GB, free: 98.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/1.453, allocations: 13.08 MB / 0.6858 GB, free: 85.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.453, allocations: 8 kB / 0.6859 GB, free: 85.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/1.467, allocations: 9.713 MB / 0.6953 GB, free: 75.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003044/1.47, allocations: 1.053 MB / 0.6964 GB, free: 74.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001245/1.471, allocations: 72 kB / 0.6964 GB, free: 74.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002884/1.474, allocations: 215.8 kB / 0.6966 GB, free: 73.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005635/1.475, allocations: 262.9 kB / 0.6969 GB, free: 73.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/1.475, allocations: 108 kB / 0.697 GB, free: 73.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005644/1.48, allocations: 3.512 MB / 0.7004 GB, free: 69.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.481, allocations: 0 / 0.7004 GB, free: 69.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009501/1.49, allocations: 1.85 MB / 0.7022 GB, free: 68.12 MB / 446.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 (315): * Single equations (assignments): 306 * 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,65.6%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001593/1.492, allocations: 274.5 kB / 0.7025 GB, free: 67.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01282/1.504, allocations: 7.317 MB / 0.7096 GB, free: 60.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.505, allocations: 0 / 0.7096 GB, free: 60.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006195/1.511, allocations: 3.548 MB / 0.7131 GB, free: 56.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006551/1.517, allocations: 1.08 MB / 0.7142 GB, free: 55.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03504/1.552, allocations: 22.17 MB / 0.7358 GB, free: 33.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01003/1.562, allocations: 6.853 MB / 0.7425 GB, free: 26.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006663/1.569, allocations: 1.953 MB / 0.7444 GB, free: 24.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/1.571, allocations: 387.4 kB / 0.7448 GB, free: 24.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.573e-06/1.571, allocations: 0 / 0.7448 GB, free: 24.3 MB / 446.1 MB Notification: Performance of Templates: time 0.3251/1.896, allocations: 69.86 MB / 0.813 GB, free: 127.4 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) Environment - environmentSimulation: