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.0015/0.0015, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001172/0.001172, allocations: 195.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001244/0.001244, allocations: 59.92 kB / 278.3 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1878, allocations: 46.62 MB / 324.9 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04037/0.2282, allocations: 40.53 MB / 365.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02136/0.2496, allocations: 10.91 MB / 376.3 MB, free: 484 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006656/0.2562, allocations: 247.1 kB / 376.6 MB, free: 236 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01698/0.2733, allocations: 7.385 MB / 383.9 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.284, allocations: 3.281 MB / 387.2 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005805/0.2898, allocations: 2.116 MB / 389.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01448/0.3043, allocations: 12.68 MB / 402 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03364/0.3379, allocations: 26.32 MB / 428.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008226/0.3462, allocations: 6.411 MB / 434.8 MB, free: 5.766 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01042/0.3566, allocations: 7.315 MB / 442.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003964/0.3606, allocations: 1.84 MB / 443.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005058/0.3657, allocations: 2.265 MB / 446.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002992/0.3687, allocations: 3.713 MB / 449.9 MB, free: 6.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1685/0.5372, allocations: 7.191 MB / 457.1 MB, free: 44.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02434/0.5616, allocations: 24.02 MB / 481.1 MB, free: 39.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5616, allocations: 0 / 481.1 MB, free: 39.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5616, allocations: 0 / 481.1 MB, free: 39.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005823/0.5622, allocations: 2.625 kB / 481.1 MB, free: 39.93 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.04167/0.6039, allocations: 14.48 MB / 495.6 MB, free: 33.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.604, allocations: 9.656 kB / 495.6 MB, free: 33.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0316/0.6356, allocations: 6.141 MB / 0.49 GB, free: 31.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/0.6482, allocations: 6.975 MB / 0.4968 GB, free: 27.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004581/0.6487, allocations: 0.8515 MB / 0.4976 GB, free: 27.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002605/0.6513, allocations: 1.11 MB / 0.4987 GB, free: 26.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03066/0.682, allocations: 17.19 MB / 0.5155 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002516/0.6823, allocations: 23.36 kB / 0.5155 GB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001383/0.6837, allocations: 470.9 kB / 0.5159 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003809/0.6841, allocations: 0.6052 MB / 0.5165 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02559/0.7097, allocations: 15.58 MB / 0.5318 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09405/0.8037, allocations: 58.6 MB / 0.589 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02029/0.8241, allocations: 20.92 MB / 0.6094 GB, free: 6.254 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005714/0.8298, allocations: 3.376 MB / 0.6127 GB, free: 2.883 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2099/1.04, allocations: 9.682 MB / 0.6222 GB, free: 174.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/1.04, allocations: 71.66 kB / 0.6222 GB, free: 174.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=319): time 5.921e-06/1.04, allocations: 1.125 kB / 0.6222 GB, free: 174.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=346): time 0.03017/1.07, allocations: 16.92 MB / 0.6388 GB, free: 168.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/1.07, allocations: 115.8 kB / 0.6389 GB, free: 168.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006773/1.077, allocations: 5.421 MB / 0.6442 GB, free: 166.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004066/1.077, allocations: 81.33 kB / 0.6442 GB, free: 166.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002303/1.08, allocations: 5.327 MB / 0.6494 GB, free: 162.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008576/1.08, allocations: 1.232 MB / 0.6506 GB, free: 161.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001849/1.082, allocations: 1.346 MB / 0.652 GB, free: 160.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.393e-05/1.082, allocations: 306.1 kB / 0.6523 GB, free: 160.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003467/1.086, allocations: 2.792 MB / 0.655 GB, free: 158.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004941/1.091, allocations: 5.844 MB / 0.6607 GB, free: 151.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008334/1.099, allocations: 9.056 MB / 0.6695 GB, free: 141.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.516e-05/1.099, allocations: 28 kB / 0.6696 GB, free: 141.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01343/1.113, allocations: 9.77 MB / 0.6791 GB, free: 133.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.971e-05/1.113, allocations: 48 kB / 0.6791 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/1.113, allocations: 105.7 kB / 0.6792 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002214/1.115, allocations: 0.9486 MB / 0.6802 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005008/1.12, allocations: 1.582 MB / 0.6817 GB, free: 130.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/1.13, allocations: 10.62 MB / 0.6921 GB, free: 120.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005918/1.136, allocations: 429.9 kB / 0.6925 GB, free: 120.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008383/1.137, allocations: 364 kB / 0.6928 GB, free: 120 MB / 478.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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(8,26,67.2%), (2,8,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005744/1.143, allocations: 3.833 MB / 0.6966 GB, free: 116.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/1.144, allocations: 0.5209 MB / 0.6971 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009114/1.153, allocations: 5.992 MB / 0.7029 GB, free: 109.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004226/1.157, allocations: 3.127 MB / 0.706 GB, free: 106.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-05/1.157, allocations: 12 kB / 0.706 GB, free: 106.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-05/1.157, allocations: 19.94 kB / 0.706 GB, free: 106.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02562/1.183, allocations: 14.84 MB / 0.7205 GB, free: 91.49 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/1.183, allocations: 7.938 kB / 0.7205 GB, free: 91.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002396/1.185, allocations: 0.6021 MB / 0.7211 GB, free: 90.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002222/1.188, allocations: 0.9176 MB / 0.722 GB, free: 89.95 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002507/1.188, allocations: 83.97 kB / 0.7221 GB, free: 89.87 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/1.199, allocations: 14.13 MB / 0.7359 GB, free: 75.06 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.199, allocations: 5.875 kB / 0.7359 GB, free: 75.05 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/1.211, allocations: 8.666 MB / 0.7444 GB, free: 66.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002302/1.213, allocations: 1.006 MB / 0.7453 GB, free: 65.17 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008057/1.214, allocations: 68 kB / 0.7454 GB, free: 65.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002417/1.216, allocations: 199.8 kB / 0.7456 GB, free: 64.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005592/1.217, allocations: 262.5 kB / 0.7459 GB, free: 64.65 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002216/1.217, allocations: 107.9 kB / 0.746 GB, free: 64.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00516/1.222, allocations: 3.583 MB / 0.7495 GB, free: 60.98 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.222, allocations: 0 / 0.7495 GB, free: 60.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007899/1.23, allocations: 1.834 MB / 0.7512 GB, free: 59.15 MB / 478.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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,8,100.0%), (1,4,100.0%), (1,8,100.0%), (3,4,77.8%), (8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008601/1.231, allocations: 269.4 kB / 0.7515 GB, free: 58.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01621/1.247, allocations: 9.163 MB / 0.7605 GB, free: 49.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.248, allocations: 0 / 0.7605 GB, free: 49.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005106/1.253, allocations: 3.443 MB / 0.7638 GB, free: 46.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00584/1.258, allocations: 1.176 MB / 0.765 GB, free: 45.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02995/1.288, allocations: 23.25 MB / 0.7877 GB, free: 21.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006824/1.295, allocations: 6.661 MB / 0.7942 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005934/1.301, allocations: 1.933 MB / 0.7961 GB, free: 13.06 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/1.302, allocations: 387.4 kB / 0.7964 GB, free: 12.68 MB / 478.1 MB Notification: Performance of SimCode: time 1.203e-06/1.302, allocations: 7.828 kB / 0.7964 GB, free: 12.68 MB / 478.1 MB Notification: Performance of Templates: time 0.289/1.591, allocations: 74.99 MB / 0.8697 GB, free: 108.3 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (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)