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.005593/0.005592, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001165/0.001165, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.392/1.392, allocations: 205.1 MB / 222.5 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.001101/0.001101, allocations: 54.14 kB / 326.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07866/0.07977, allocations: 46.62 MB / 373.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04003/0.1198, allocations: 41.26 MB / 414.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02133/0.1412, allocations: 11.08 MB / 425.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008675/0.1499, allocations: 255.2 kB / 425.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02589/0.1759, allocations: 7.897 MB / 433.7 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01792/0.1938, allocations: 3.658 MB / 437.4 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01041/0.2043, allocations: 2.304 MB / 439.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02518/0.2295, allocations: 12.67 MB / 452.3 MB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2611/0.4906, allocations: 23.51 MB / 475.8 MB, free: 4.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01141/0.502, allocations: 6.44 MB / 482.3 MB, free: 4.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01092/0.513, allocations: 7.272 MB / 489.6 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005096/0.5181, allocations: 1.843 MB / 491.4 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006745/0.5249, allocations: 2.251 MB / 493.6 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01061/0.5355, allocations: 4.188 MB / 497.8 MB, free: 0 / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01582/0.5513, allocations: 7.21 MB / 0.4932 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02771/0.5791, allocations: 24.25 MB / 0.5169 GB, free: 4.977 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5791, allocations: 0 / 0.5169 GB, free: 4.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.5791, allocations: 0 / 0.5169 GB, free: 4.977 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006402/0.5798, allocations: 0 / 0.5169 GB, free: 4.977 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.04191/0.6217, allocations: 14.72 MB / 0.5313 GB, free: 6.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.6218, allocations: 8.031 kB / 0.5313 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03607/0.6579, allocations: 6.232 MB / 0.5374 GB, free: 52 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01624/0.6741, allocations: 7.105 MB / 0.5443 GB, free: 9.227 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009936/0.6752, allocations: 0.8497 MB / 0.5451 GB, free: 8.387 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004254/0.6794, allocations: 1.111 MB / 0.5462 GB, free: 7.285 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04352/0.723, allocations: 17.16 MB / 0.563 GB, free: 6.055 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006183/0.7236, allocations: 19.91 kB / 0.563 GB, free: 6.035 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003655/0.7273, allocations: 472.5 kB / 0.5634 GB, free: 5.586 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007594/0.7281, allocations: 0.6091 MB / 0.564 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03782/0.7659, allocations: 15.57 MB / 0.5792 GB, free: 5.395 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4688/1.235, allocations: 58.02 MB / 0.6359 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01789/1.253, allocations: 20.87 MB / 0.6563 GB, free: 140.2 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005665/1.258, allocations: 3.296 MB / 0.6595 GB, free: 140.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01556/1.274, allocations: 9.564 MB / 0.6689 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/1.274, allocations: 71.98 kB / 0.6689 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=313): time 5.09e-06/1.274, allocations: 0 / 0.6689 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=340): time 0.03242/1.307, allocations: 17.05 MB / 0.6856 GB, free: 131.9 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/1.307, allocations: 112.1 kB / 0.6857 GB, free: 131.8 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007518/1.314, allocations: 5.422 MB / 0.691 GB, free: 129.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005694/1.315, allocations: 81.08 kB / 0.691 GB, free: 129.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002743/1.318, allocations: 5.534 MB / 0.6964 GB, free: 126.2 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00118/1.319, allocations: 1.255 MB / 0.6977 GB, free: 125.2 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001808/1.321, allocations: 1.352 MB / 0.699 GB, free: 124.5 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.673e-05/1.321, allocations: 305.1 kB / 0.6993 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003696/1.324, allocations: 2.748 MB / 0.702 GB, free: 123.2 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005096/1.329, allocations: 5.8 MB / 0.7076 GB, free: 118.2 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009031/1.338, allocations: 8.965 MB / 0.7164 GB, free: 111 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00012/1.339, allocations: 29.25 kB / 0.7164 GB, free: 111 MB / 0.5138 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.01681/1.355, allocations: 9.703 MB / 0.7259 GB, free: 102.4 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/1.356, allocations: 52 kB / 0.7259 GB, free: 102.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001548/1.356, allocations: 110.7 kB / 0.726 GB, free: 102.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002209/1.358, allocations: 0.9223 MB / 0.7269 GB, free: 101.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005314/1.363, allocations: 1.579 MB / 0.7285 GB, free: 99.76 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/1.374, allocations: 10.54 MB / 0.7388 GB, free: 88.82 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00612/1.38, allocations: 439.4 kB / 0.7392 GB, free: 88.39 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/1.381, allocations: 356 kB / 0.7395 GB, free: 88.04 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.006679/1.388, allocations: 3.837 MB / 0.7433 GB, free: 84.19 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00162/1.389, allocations: 0.5356 MB / 0.7438 GB, free: 83.65 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/1.4, allocations: 5.906 MB / 0.7496 GB, free: 77.67 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004441/1.405, allocations: 3.045 MB / 0.7526 GB, free: 74.62 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-05/1.405, allocations: 8 kB / 0.7526 GB, free: 74.61 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-05/1.405, allocations: 16.05 kB / 0.7526 GB, free: 74.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02689/1.432, allocations: 14.68 MB / 0.7669 GB, free: 59.82 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.272e-05/1.432, allocations: 16.08 kB / 0.7669 GB, free: 59.81 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002557/1.434, allocations: 0.5899 MB / 0.7675 GB, free: 59.22 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002393/1.437, allocations: 0.8978 MB / 0.7684 GB, free: 58.31 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004347/1.437, allocations: 79.97 kB / 0.7685 GB, free: 58.23 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01256/1.45, allocations: 14.02 MB / 0.7822 GB, free: 43.54 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/1.45, allocations: 7.938 kB / 0.7822 GB, free: 43.53 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/1.462, allocations: 8.541 MB / 0.7905 GB, free: 34.81 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002597/1.465, allocations: 1.025 MB / 0.7915 GB, free: 33.76 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00116/1.466, allocations: 71.97 kB / 0.7916 GB, free: 33.69 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002666/1.469, allocations: 199.8 kB / 0.7918 GB, free: 33.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005627/1.47, allocations: 254.5 kB / 0.792 GB, free: 33.24 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002258/1.47, allocations: 104 kB / 0.7921 GB, free: 33.14 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005106/1.475, allocations: 3.575 MB / 0.7956 GB, free: 29.59 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.01e-07/1.475, allocations: 0 / 0.7956 GB, free: 29.59 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008236/1.483, allocations: 1.828 MB / 0.7974 GB, free: 27.76 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.0008609/1.484, allocations: 258.2 kB / 0.7976 GB, free: 27.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01033/1.494, allocations: 7.109 MB / 0.8046 GB, free: 20.34 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/1.494, allocations: 4 kB / 0.8046 GB, free: 20.34 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00489/1.499, allocations: 3.396 MB / 0.8079 GB, free: 16.88 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005771/1.505, allocations: 1.188 MB / 0.8091 GB, free: 15.69 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2375/1.743, allocations: 18.58 MB / 0.8272 GB, free: 156.4 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01021/1.753, allocations: 6.659 MB / 0.8337 GB, free: 155.5 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006113/1.759, allocations: 1.946 MB / 0.8356 GB, free: 155.4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/1.76, allocations: 386 kB / 0.836 GB, free: 155.4 MB / 0.5138 GB Notification: Performance of SimCode: time 1.282e-06/1.76, allocations: 0 / 0.836 GB, free: 155.4 MB / 0.5138 GB Notification: Performance of Templates: time 0.1098/1.87, allocations: 69.76 MB / 0.9041 GB, free: 111.7 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)