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.007187/0.007187, allocations: 102 kB / 15.73 MB, free: 6.062 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.001411/0.001411, allocations: 192 kB / 16.67 MB, free: 5.973 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.415/1.415, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.00118/0.00118, allocations: 45.98 kB / 326.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08508/0.08627, allocations: 46.62 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04118/0.1275, allocations: 41.26 MB / 414.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02203/0.1496, allocations: 11.09 MB / 425.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006259/0.1559, allocations: 255.2 kB / 425.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0181/0.174, allocations: 7.948 MB / 433.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01367/0.1877, allocations: 3.729 MB / 437.5 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006919/0.1946, allocations: 2.307 MB / 439.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01807/0.2127, allocations: 12.67 MB / 452.5 MB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2322/0.445, allocations: 23.52 MB / 476 MB, free: 4.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01018/0.4552, allocations: 6.472 MB / 482.5 MB, free: 3.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01095/0.4662, allocations: 7.27 MB / 489.7 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004523/0.4707, allocations: 1.842 MB / 491.6 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006972/0.4777, allocations: 2.253 MB / 493.8 MB, free: 424 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005809/0.4836, allocations: 3.738 MB / 497.6 MB, free: 14.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01319/0.4968, allocations: 7.186 MB / 0.4929 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03121/0.528, allocations: 24.25 MB / 0.5166 GB, free: 2.867 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.5281, allocations: 0 / 0.5166 GB, free: 2.867 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5281, allocations: 4 kB / 0.5166 GB, free: 2.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007878/0.5289, allocations: 4 kB / 0.5166 GB, free: 2.859 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.0469/0.5758, allocations: 14.71 MB / 0.531 GB, free: 4.113 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.5759, allocations: 12.03 kB / 0.531 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03599/0.6119, allocations: 6.219 MB / 0.5371 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01939/0.6313, allocations: 7.119 MB / 0.544 GB, free: 7.109 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001065/0.6324, allocations: 0.8419 MB / 0.5448 GB, free: 6.277 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004302/0.6367, allocations: 1.11 MB / 0.5459 GB, free: 5.176 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0461/0.6829, allocations: 17.16 MB / 0.5627 GB, free: 3.938 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005511/0.6834, allocations: 19.89 kB / 0.5627 GB, free: 3.918 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003733/0.6872, allocations: 470 kB / 0.5631 GB, free: 3.473 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007297/0.6879, allocations: 0.6091 MB / 0.5637 GB, free: 2.859 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0354/0.7234, allocations: 15.57 MB / 0.5789 GB, free: 3.277 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09751/0.8209, allocations: 58.04 MB / 0.6356 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4379/1.259, allocations: 20.88 MB / 0.656 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0109/1.27, allocations: 3.3 MB / 0.6592 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03041/1.3, allocations: 9.553 MB / 0.6686 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.341e-05/1.3, allocations: 66.56 kB / 0.6686 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=313): time 1.238e-05/1.3, allocations: 3.688 kB / 0.6686 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=340): time 0.05377/1.354, allocations: 17.06 MB / 0.6853 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/1.354, allocations: 112 kB / 0.6854 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01109/1.365, allocations: 5.409 MB / 0.6907 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000527/1.366, allocations: 85.36 kB / 0.6908 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003443/1.369, allocations: 5.532 MB / 0.6962 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00134/1.371, allocations: 1.261 MB / 0.6974 GB, free: 155 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002542/1.373, allocations: 1.349 MB / 0.6987 GB, free: 154.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.941e-05/1.373, allocations: 308.6 kB / 0.699 GB, free: 154 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006221/1.38, allocations: 2.746 MB / 0.7017 GB, free: 153 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00779/1.387, allocations: 5.795 MB / 0.7073 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.015/1.402, allocations: 8.971 MB / 0.7161 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.908e-05/1.403, allocations: 31.75 kB / 0.7161 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.02113/1.424, allocations: 9.699 MB / 0.7256 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.85e-05/1.424, allocations: 51.38 kB / 0.7257 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000168/1.424, allocations: 104 kB / 0.7257 GB, free: 134 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002271/1.426, allocations: 0.9279 MB / 0.7267 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005027/1.431, allocations: 1.583 MB / 0.7282 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/1.442, allocations: 10.54 MB / 0.7385 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006116/1.448, allocations: 435.4 kB / 0.7389 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/1.449, allocations: 360 kB / 0.7393 GB, free: 120 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.006438/1.456, allocations: 3.852 MB / 0.743 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/1.457, allocations: 0.5395 MB / 0.7435 GB, free: 115.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009199/1.466, allocations: 5.887 MB / 0.7493 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003954/1.47, allocations: 3.041 MB / 0.7523 GB, free: 106.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.376e-05/1.47, allocations: 11.94 kB / 0.7523 GB, free: 106.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.948e-05/1.47, allocations: 19.92 kB / 0.7523 GB, free: 106.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02343/1.494, allocations: 14.68 MB / 0.7666 GB, free: 91.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/1.494, allocations: 11.98 kB / 0.7666 GB, free: 91.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002454/1.496, allocations: 0.5974 MB / 0.7672 GB, free: 91.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002248/1.499, allocations: 0.898 MB / 0.7681 GB, free: 90.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002825/1.499, allocations: 71.98 kB / 0.7682 GB, free: 90.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/1.511, allocations: 14.03 MB / 0.7819 GB, free: 75.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.511, allocations: 8.062 kB / 0.7819 GB, free: 75.53 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/1.523, allocations: 8.54 MB / 0.7902 GB, free: 66.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002782/1.526, allocations: 1.025 MB / 0.7912 GB, free: 65.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/1.527, allocations: 68 kB / 0.7913 GB, free: 65.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002661/1.53, allocations: 199.8 kB / 0.7915 GB, free: 65.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005655/1.531, allocations: 258.5 kB / 0.7917 GB, free: 65.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002239/1.531, allocations: 104 kB / 0.7918 GB, free: 65.13 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005441/1.536, allocations: 3.575 MB / 0.7953 GB, free: 61.58 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/1.536, allocations: 0 / 0.7953 GB, free: 61.58 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007639/1.544, allocations: 1.82 MB / 0.7971 GB, free: 59.76 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.0007324/1.545, allocations: 269.9 kB / 0.7973 GB, free: 59.49 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0104/1.555, allocations: 7.113 MB / 0.8043 GB, free: 52.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/1.555, allocations: 4 kB / 0.8043 GB, free: 52.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005133/1.56, allocations: 3.388 MB / 0.8076 GB, free: 48.86 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005657/1.566, allocations: 1.182 MB / 0.8088 GB, free: 47.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02943/1.595, allocations: 18.58 MB / 0.8269 GB, free: 29 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006233/1.602, allocations: 6.669 MB / 0.8334 GB, free: 22.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0051/1.607, allocations: 1.933 MB / 0.8353 GB, free: 20.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.608, allocations: 391.4 kB / 0.8357 GB, free: 19.98 MB / 0.5294 GB Notification: Performance of SimCode: time 9.52e-07/1.608, allocations: 0 / 0.8357 GB, free: 19.98 MB / 0.5294 GB Notification: Performance of Templates: time 0.3197/1.927, allocations: 69.78 MB / 0.9038 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)