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.006057/0.006057, allocations: 104.8 kB / 15.73 MB, free: 6.039 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.001221/0.001222, allocations: 193 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.376/1.376, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001902/0.001902, allocations: 53.83 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08314/0.08506, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04087/0.126, allocations: 41.26 MB / 414.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02321/0.1492, allocations: 11.09 MB / 425.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007205/0.1565, allocations: 255.2 kB / 425.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01901/0.1755, allocations: 7.948 MB / 433.8 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01315/0.1887, allocations: 3.729 MB / 437.5 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006858/0.1956, allocations: 2.315 MB / 439.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01625/0.2118, allocations: 12.65 MB / 452.5 MB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2608/0.4727, allocations: 23.52 MB / 476 MB, free: 4.477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01339/0.4861, allocations: 6.469 MB / 482.4 MB, free: 4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01396/0.5001, allocations: 7.269 MB / 489.7 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005157/0.5053, allocations: 1.849 MB / 491.6 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006823/0.5121, allocations: 2.247 MB / 493.8 MB, free: 464 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00569/0.5179, allocations: 3.744 MB / 497.6 MB, free: 14.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01461/0.5325, allocations: 7.188 MB / 0.4929 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03249/0.565, allocations: 24.19 MB / 0.5165 GB, free: 2.926 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.5651, allocations: 0 / 0.5165 GB, free: 2.926 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.157e-06/0.5651, allocations: 0 / 0.5165 GB, free: 2.926 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008457/0.566, allocations: 7.469 kB / 0.5165 GB, free: 2.922 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.04383/0.6098, allocations: 14.43 MB / 0.5306 GB, free: 4.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.339e-05/0.6099, allocations: 12.03 kB / 0.5306 GB, free: 4.469 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03653/0.6464, allocations: 6.162 MB / 0.5367 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01715/0.6636, allocations: 7.09 MB / 0.5436 GB, free: 7.551 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009116/0.6646, allocations: 0.8409 MB / 0.5444 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004246/0.6688, allocations: 1.115 MB / 0.5455 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04349/0.7124, allocations: 17.17 MB / 0.5623 GB, free: 4.375 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003733/0.7128, allocations: 11.47 kB / 0.5623 GB, free: 4.367 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00277/0.7156, allocations: 470.1 kB / 0.5627 GB, free: 3.918 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005994/0.7162, allocations: 0.6129 MB / 0.5633 GB, free: 3.301 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03295/0.7491, allocations: 15.57 MB / 0.5785 GB, free: 3.719 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1004/0.8495, allocations: 57.88 MB / 0.635 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3724/1.222, allocations: 20.89 MB / 0.6554 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006508/1.228, allocations: 3.3 MB / 0.6587 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01605/1.245, allocations: 9.525 MB / 0.668 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/1.245, allocations: 72.53 kB / 0.668 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=313): time 5.461e-06/1.245, allocations: 0.9844 kB / 0.668 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=340): time 0.02825/1.273, allocations: 16.79 MB / 0.6844 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/1.273, allocations: 119.2 kB / 0.6846 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006587/1.28, allocations: 5.408 MB / 0.6898 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002822/1.28, allocations: 81.36 kB / 0.6899 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002132/1.282, allocations: 5.341 MB / 0.6951 GB, free: 155.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008013/1.283, allocations: 1.198 MB / 0.6963 GB, free: 154.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001689/1.285, allocations: 1.349 MB / 0.6976 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.787e-05/1.285, allocations: 301.1 kB / 0.6979 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003493/1.288, allocations: 2.752 MB / 0.7006 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004535/1.293, allocations: 5.796 MB / 0.7063 GB, free: 147.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008189/1.301, allocations: 8.96 MB / 0.715 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.025e-05/1.301, allocations: 29.34 kB / 0.715 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.01358/1.314, allocations: 9.68 MB / 0.7245 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.539e-05/1.315, allocations: 52 kB / 0.7245 GB, free: 134 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/1.315, allocations: 104 kB / 0.7246 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002105/1.317, allocations: 0.9253 MB / 0.7255 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00471/1.322, allocations: 1.58 MB / 0.7271 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009959/1.331, allocations: 10.53 MB / 0.7374 GB, free: 121 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005046/1.337, allocations: 434.2 kB / 0.7378 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007565/1.337, allocations: 364 kB / 0.7381 GB, free: 120.2 MB / 0.5294 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.005899/1.343, allocations: 3.833 MB / 0.7419 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/1.345, allocations: 0.5131 MB / 0.7424 GB, free: 115.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009444/1.354, allocations: 5.909 MB / 0.7481 GB, free: 109.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004033/1.358, allocations: 3.037 MB / 0.7511 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.509e-05/1.358, allocations: 15.94 kB / 0.7511 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.677e-05/1.358, allocations: 15.94 kB / 0.7511 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02445/1.383, allocations: 14.68 MB / 0.7655 GB, free: 92.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/1.383, allocations: 7.938 kB / 0.7655 GB, free: 92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00235/1.385, allocations: 0.5968 MB / 0.7661 GB, free: 91.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002094/1.387, allocations: 0.9081 MB / 0.7669 GB, free: 90.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002094/1.387, allocations: 75.98 kB / 0.767 GB, free: 90.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/1.399, allocations: 14.01 MB / 0.7807 GB, free: 75.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.399, allocations: 12.02 kB / 0.7807 GB, free: 75.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01152/1.41, allocations: 8.512 MB / 0.789 GB, free: 67.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002444/1.413, allocations: 0.9982 MB / 0.79 GB, free: 66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006961/1.413, allocations: 63.98 kB / 0.7901 GB, free: 65.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002295/1.416, allocations: 207.8 kB / 0.7903 GB, free: 65.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005344/1.416, allocations: 250.5 kB / 0.7905 GB, free: 65.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000206/1.416, allocations: 104 kB / 0.7906 GB, free: 65.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004572/1.421, allocations: 3.571 MB / 0.7941 GB, free: 61.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/1.421, allocations: 4 kB / 0.7941 GB, free: 61.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00596/1.427, allocations: 1.822 MB / 0.7959 GB, free: 60.02 MB / 0.5294 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.0005297/1.428, allocations: 261.3 kB / 0.7961 GB, free: 59.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009975/1.438, allocations: 7.108 MB / 0.8031 GB, free: 52.61 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.438, allocations: 0 / 0.8031 GB, free: 52.61 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005149/1.443, allocations: 3.388 MB / 0.8064 GB, free: 49.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006474/1.449, allocations: 1.182 MB / 0.8075 GB, free: 47.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02912/1.478, allocations: 18.28 MB / 0.8254 GB, free: 29.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00719/1.486, allocations: 6.66 MB / 0.8319 GB, free: 22.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00488/1.491, allocations: 1.937 MB / 0.8338 GB, free: 21.01 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009664/1.491, allocations: 387.4 kB / 0.8341 GB, free: 20.63 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/1.492, allocations: 7.938 kB / 0.8341 GB, free: 20.62 MB / 0.5294 GB Notification: Performance of Templates: time 0.311/1.803, allocations: 69.77 MB / 0.9023 GB, free: 150.4 MB / 0.5294 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)