Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.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.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001655/0.001655, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.437/1.437, allocations: 205.1 MB / 222 MB, free: 4.715 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.001123/0.001123, allocations: 47.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2271, allocations: 46.64 MB / 324.7 MB, free: 1.91 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.028/0.2551, allocations: 28.96 MB / 353.6 MB, free: 7.074 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01838/0.2735, allocations: 8.012 MB / 361.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007322/0.2809, allocations: 163.4 kB / 361.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00758/0.2885, allocations: 1.648 MB / 363.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009785/0.2984, allocations: 2.393 MB / 365.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004958/0.3034, allocations: 1.611 MB / 367.5 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01345/0.3168, allocations: 10.67 MB / 378.1 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009865/0.3267, allocations: 7.977 MB / 386.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005728/0.3325, allocations: 3.857 MB / 390 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00729/0.3398, allocations: 5.089 MB / 395.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003081/0.3429, allocations: 0.793 MB / 395.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004296/0.3472, allocations: 1.159 MB / 397 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002902/0.3501, allocations: 2.414 MB / 399.4 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008137/0.3583, allocations: 5.031 MB / 404.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01756/0.3759, allocations: 16.96 MB / 421.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3759, allocations: 0 / 421.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3759, allocations: 0 / 421.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004507/0.3764, allocations: 0 / 421.4 MB, free: 2.98 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.03096/0.4074, allocations: 10.94 MB / 432.4 MB, free: 7.934 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.4074, allocations: 8.031 kB / 432.4 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.4183, allocations: 2.086 MB / 434.5 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/0.4308, allocations: 5.505 MB / 440 MB, free: 260 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005344/0.4313, allocations: 0.6388 MB / 440.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00185/0.4332, allocations: 0.8513 MB / 441.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02349/0.4567, allocations: 11.45 MB / 452.9 MB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002194/0.457, allocations: 7.906 kB / 452.9 MB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001246/0.4582, allocations: 356 kB / 453.3 MB, free: 2.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003645/0.4586, allocations: 377.5 kB / 453.6 MB, free: 2.504 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3291/0.7877, allocations: 9.658 MB / 463.3 MB, free: 97.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05031/0.8381, allocations: 35.84 MB / 499.1 MB, free: 69.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.8493, allocations: 16.96 MB / 0.504 GB, free: 50.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004632/0.854, allocations: 3.518 MB / 0.5074 GB, free: 47.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01297/0.867, allocations: 9.775 MB / 0.517 GB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.867, allocations: 68.91 kB / 0.517 GB, free: 37.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=308): time 4.548e-06/0.867, allocations: 0 / 0.517 GB, free: 37.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=360): time 0.02915/0.8962, allocations: 15.48 MB / 0.5321 GB, free: 21.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.8963, allocations: 86.22 kB / 0.5322 GB, free: 21.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007269/0.9036, allocations: 4.519 MB / 0.5366 GB, free: 16.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005237/0.9041, allocations: 93.16 kB / 0.5367 GB, free: 16.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001945/0.9061, allocations: 3.886 MB / 0.5405 GB, free: 12.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001076/0.9072, allocations: 1.227 MB / 0.5417 GB, free: 11.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/0.9085, allocations: 0.7885 MB / 0.5425 GB, free: 10.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.683e-05/0.9086, allocations: 301.1 kB / 0.5428 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002823/0.9114, allocations: 1.914 MB / 0.5447 GB, free: 8.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003381/0.9148, allocations: 3.375 MB / 0.5479 GB, free: 4.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006882/0.9217, allocations: 5.653 MB / 0.5535 GB, free: 14.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.18e-05/0.9217, allocations: 12 kB / 0.5535 GB, free: 14.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.0118/0.9335, allocations: 6.565 MB / 0.5599 GB, free: 7.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/0.9336, allocations: 24.94 kB / 0.5599 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.329e-05/0.9337, allocations: 44 kB / 0.56 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002069/0.9357, allocations: 0.7456 MB / 0.5607 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00405/0.9398, allocations: 1.065 MB / 0.5617 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.9513, allocations: 10.18 MB / 0.5717 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/0.9559, allocations: 243.8 kB / 0.5719 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007148/0.9567, allocations: 207.9 kB / 0.5721 GB, free: 10.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * 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 (534): * Single equations (assignments): 526 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 4 systems {(2,13,100.0%), (1,5,100.0%), (2,13,100.0%), (3,14,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005942/0.9626, allocations: 2.538 MB / 0.5746 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00149/0.9641, allocations: 486.1 kB / 0.575 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/0.975, allocations: 5.461 MB / 0.5804 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-05/0.975, allocations: 36 kB / 0.5804 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-05/0.9751, allocations: 12 kB / 0.5804 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.782e-05/0.9751, allocations: 19.88 kB / 0.5804 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02533/1, allocations: 12.95 MB / 0.5931 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/1.001, allocations: 4 kB / 0.5931 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002717/1.003, allocations: 0.6091 MB / 0.5937 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002369/1.006, allocations: 0.9369 MB / 0.5946 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000243/1.006, allocations: 83.97 kB / 0.5947 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01567/1.022, allocations: 14.11 MB / 0.6085 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.022, allocations: 12.05 kB / 0.6085 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2128/1.234, allocations: 8.016 MB / 0.6163 GB, free: 145.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002978/1.237, allocations: 0.9768 MB / 0.6173 GB, free: 145.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001029/1.238, allocations: 79.34 kB / 0.6173 GB, free: 145.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00248/1.241, allocations: 189.7 kB / 0.6175 GB, free: 145.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007557/1.242, allocations: 279.1 kB / 0.6178 GB, free: 145.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002532/1.242, allocations: 103.9 kB / 0.6179 GB, free: 145.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004745/1.247, allocations: 3.071 MB / 0.6209 GB, free: 144.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.247, allocations: 0 / 0.6209 GB, free: 144.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005145/1.252, allocations: 1.482 MB / 0.6223 GB, free: 144.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.strayReluctance.Phi.re,smee3.stator.strayReluctance.Phi.im) * 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 (284): * Single equations (assignments): 277 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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,13,100.0%), (2,13,100.0%), (4,33,93.8%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007026/1.253, allocations: 234.6 kB / 0.6225 GB, free: 144.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007775/1.26, allocations: 5.642 MB / 0.6281 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.26, allocations: 0 / 0.6281 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004898/1.265, allocations: 3.409 MB / 0.6314 GB, free: 140 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00481/1.27, allocations: 1.097 MB / 0.6325 GB, free: 139.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02263/1.293, allocations: 18.64 MB / 0.6507 GB, free: 127.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004442/1.297, allocations: 5.085 MB / 0.6556 GB, free: 123.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003885/1.301, allocations: 1.056 MB / 0.6567 GB, free: 122.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/1.302, allocations: 322.9 kB / 0.657 GB, free: 122.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.734e-06/1.302, allocations: 0 / 0.657 GB, free: 122.6 MB / 446.1 MB Notification: Performance of Templates: time 0.1013/1.404, allocations: 67.13 MB / 0.7225 GB, free: 56 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1)