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.006862/0.006862, allocations: 101.4 kB / 15.73 MB, free: 6.477 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.001586/0.001586, allocations: 195.9 kB / 16.67 MB, free: 6.379 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.375/1.375, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001115/0.001115, allocations: 42.94 kB / 326.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07904/0.08016, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04098/0.1212, allocations: 41.27 MB / 414.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02173/0.143, allocations: 11.08 MB / 425.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008193/0.1512, allocations: 255.2 kB / 425.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.019/0.1703, allocations: 7.893 MB / 433.7 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.1821, allocations: 3.651 MB / 437.3 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006587/0.1887, allocations: 2.311 MB / 439.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01628/0.205, allocations: 12.66 MB / 452.3 MB, free: 1.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2369/0.4419, allocations: 23.52 MB / 475.8 MB, free: 4.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009536/0.4515, allocations: 6.446 MB / 482.3 MB, free: 4.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01063/0.4622, allocations: 7.267 MB / 489.6 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004816/0.467, allocations: 1.841 MB / 491.4 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006363/0.4734, allocations: 2.251 MB / 493.6 MB, free: 0.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009724/0.4831, allocations: 4.193 MB / 497.8 MB, free: 0 / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0136/0.4967, allocations: 7.205 MB / 0.4932 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02595/0.5227, allocations: 24.19 MB / 0.5168 GB, free: 4.891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5228, allocations: 0 / 0.5168 GB, free: 4.891 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5228, allocations: 0 / 0.5168 GB, free: 4.891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005415/0.5233, allocations: 4 kB / 0.5168 GB, free: 4.887 MB / 414.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.04124/0.5646, allocations: 14.44 MB / 0.5309 GB, free: 6.434 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.5646, allocations: 8.031 kB / 0.5309 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03504/0.5997, allocations: 6.16 MB / 0.537 GB, free: 324 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.016/0.6157, allocations: 7.086 MB / 0.5439 GB, free: 9.512 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007325/0.6165, allocations: 0.8444 MB / 0.5447 GB, free: 8.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00396/0.6204, allocations: 1.107 MB / 0.5458 GB, free: 7.582 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03681/0.6572, allocations: 17.17 MB / 0.5626 GB, free: 6.344 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002865/0.6576, allocations: 19.89 kB / 0.5626 GB, free: 6.324 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001676/0.6593, allocations: 466.9 kB / 0.563 GB, free: 5.879 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006257/0.6599, allocations: 0.6125 MB / 0.5636 GB, free: 5.266 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03326/0.6932, allocations: 15.56 MB / 0.5788 GB, free: 5.688 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4909/1.184, allocations: 57.88 MB / 0.6353 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01904/1.203, allocations: 20.88 MB / 0.6557 GB, free: 140.2 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005231/1.208, allocations: 3.307 MB / 0.659 GB, free: 140.2 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01517/1.224, allocations: 9.517 MB / 0.6682 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/1.224, allocations: 77.66 kB / 0.6683 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=313): time 5.53e-06/1.224, allocations: 3.969 kB / 0.6683 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=340): time 0.03175/1.255, allocations: 16.79 MB / 0.6847 GB, free: 132 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/1.256, allocations: 113.8 kB / 0.6848 GB, free: 131.9 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008232/1.264, allocations: 5.414 MB / 0.6901 GB, free: 129.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005418/1.264, allocations: 80.86 kB / 0.6902 GB, free: 129.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0026/1.267, allocations: 5.339 MB / 0.6954 GB, free: 125.8 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00109/1.268, allocations: 1.208 MB / 0.6966 GB, free: 124.9 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001712/1.27, allocations: 1.34 MB / 0.6979 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.009e-05/1.27, allocations: 305.1 kB / 0.6982 GB, free: 123.9 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003662/1.274, allocations: 2.748 MB / 0.7009 GB, free: 122.9 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004794/1.278, allocations: 5.801 MB / 0.7065 GB, free: 117.8 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008895/1.287, allocations: 8.962 MB / 0.7153 GB, free: 110.8 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.001e-05/1.287, allocations: 27.25 kB / 0.7153 GB, free: 110.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.0148/1.302, allocations: 9.674 MB / 0.7248 GB, free: 102.5 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/1.302, allocations: 48.5 kB / 0.7248 GB, free: 102.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.485e-05/1.302, allocations: 111.9 kB / 0.7249 GB, free: 102.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002163/1.305, allocations: 0.9338 MB / 0.7258 GB, free: 101.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004916/1.309, allocations: 1.572 MB / 0.7274 GB, free: 99.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/1.32, allocations: 10.53 MB / 0.7376 GB, free: 88.87 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006183/1.326, allocations: 439 kB / 0.7381 GB, free: 88.44 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009406/1.327, allocations: 364 kB / 0.7384 GB, free: 88.08 MB / 0.5138 GB 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 (818): * Single equations (assignments): 813 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.005566/1.332, allocations: 3.829 MB / 0.7422 GB, free: 84.24 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.333, allocations: 0.5132 MB / 0.7427 GB, free: 83.72 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008861/1.342, allocations: 5.895 MB / 0.7484 GB, free: 77.75 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004056/1.346, allocations: 3.049 MB / 0.7514 GB, free: 74.7 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/1.346, allocations: 12 kB / 0.7514 GB, free: 74.69 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.626e-05/1.346, allocations: 15.94 kB / 0.7514 GB, free: 74.67 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02198/1.368, allocations: 14.68 MB / 0.7658 GB, free: 59.89 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/1.368, allocations: 4 kB / 0.7658 GB, free: 59.89 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002398/1.371, allocations: 0.5968 MB / 0.7663 GB, free: 59.29 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00223/1.373, allocations: 0.9055 MB / 0.7672 GB, free: 58.38 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002444/1.373, allocations: 83.97 kB / 0.7673 GB, free: 58.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/1.385, allocations: 14 MB / 0.781 GB, free: 43.62 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.385, allocations: 12.03 kB / 0.781 GB, free: 43.61 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/1.397, allocations: 8.514 MB / 0.7893 GB, free: 34.91 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002724/1.4, allocations: 0.9943 MB / 0.7903 GB, free: 33.89 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007735/1.401, allocations: 64 kB / 0.7903 GB, free: 33.83 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002409/1.403, allocations: 199.8 kB / 0.7905 GB, free: 33.63 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005418/1.404, allocations: 258.5 kB / 0.7908 GB, free: 33.38 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/1.404, allocations: 100.4 kB / 0.7909 GB, free: 33.28 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004825/1.409, allocations: 3.583 MB / 0.7944 GB, free: 29.71 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.9e-07/1.409, allocations: 4 kB / 0.7944 GB, free: 29.71 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006349/1.415, allocations: 1.826 MB / 0.7962 GB, free: 27.89 MB / 0.5138 GB 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 (298): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,64.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005687/1.416, allocations: 261.9 kB / 0.7964 GB, free: 27.64 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.009972/1.426, allocations: 7.102 MB / 0.8033 GB, free: 20.49 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.426, allocations: 0 / 0.8033 GB, free: 20.49 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005259/1.431, allocations: 3.397 MB / 0.8067 GB, free: 17.03 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006432/1.437, allocations: 1.181 MB / 0.8078 GB, free: 15.86 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2358/1.673, allocations: 18.27 MB / 0.8257 GB, free: 156.2 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01037/1.684, allocations: 6.661 MB / 0.8322 GB, free: 155.3 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005781/1.689, allocations: 1.941 MB / 0.8341 GB, free: 155.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/1.691, allocations: 385.6 kB / 0.8344 GB, free: 155.2 MB / 0.5138 GB Notification: Performance of SimCode: time 1.823e-06/1.691, allocations: 0 / 0.8344 GB, free: 155.2 MB / 0.5138 GB Notification: Performance of Templates: time 0.1068/1.797, allocations: 69.78 MB / 0.9026 GB, free: 111.8 MB / 0.5138 GB 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)