Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001415/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001881/0.001881, allocations: 190.7 kB / 16.13 MB, free: 6.66 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.395/1.395, allocations: 205.1 MB / 222 MB, free: 4.727 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.001237/0.001237, allocations: 51.86 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2226, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.02981/0.2524, allocations: 28.96 MB / 353.6 MB, free: 7.078 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01746/0.2699, allocations: 8.023 MB / 361.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005839/0.2758, allocations: 163.4 kB / 361.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006328/0.2822, allocations: 1.648 MB / 363.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.2923, allocations: 2.377 MB / 365.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007477/0.2998, allocations: 1.615 MB / 367.5 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02082/0.3206, allocations: 10.68 MB / 378.2 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01915/0.3398, allocations: 7.97 MB / 386.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006478/0.3463, allocations: 3.861 MB / 390 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00727/0.3536, allocations: 5.089 MB / 395.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002839/0.3565, allocations: 0.793 MB / 395.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004365/0.3609, allocations: 1.16 MB / 397 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002652/0.3636, allocations: 2.418 MB / 399.4 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008744/0.3723, allocations: 5.031 MB / 404.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02209/0.3944, allocations: 16.96 MB / 421.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3945, allocations: 0 / 421.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3945, allocations: 0 / 421.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005768/0.3951, allocations: 0 / 421.4 MB, free: 2.977 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.03198/0.4271, allocations: 10.93 MB / 432.4 MB, free: 7.934 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.4271, allocations: 15.95 kB / 432.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/0.4403, allocations: 2.082 MB / 434.5 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01528/0.4556, allocations: 5.501 MB / 440 MB, free: 260 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001026/0.4567, allocations: 0.6466 MB / 440.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003643/0.4604, allocations: 0.8552 MB / 441.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03266/0.4931, allocations: 11.44 MB / 452.9 MB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004308/0.4935, allocations: 11.89 kB / 452.9 MB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002512/0.4961, allocations: 356 kB / 453.3 MB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004449/0.4965, allocations: 377.5 kB / 453.6 MB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3323/0.8288, allocations: 9.659 MB / 463.3 MB, free: 97.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07028/0.8992, allocations: 35.84 MB / 499.1 MB, free: 69.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01502/0.9143, allocations: 16.95 MB / 0.504 GB, free: 50.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006307/0.9206, allocations: 3.512 MB / 0.5074 GB, free: 47.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01852/0.9392, allocations: 9.791 MB / 0.517 GB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/0.9393, allocations: 68.97 kB / 0.517 GB, free: 37.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=308): time 6.151e-06/0.9393, allocations: 0 / 0.517 GB, free: 37.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=360): time 0.03409/0.9734, allocations: 15.48 MB / 0.5322 GB, free: 21.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.9735, allocations: 86.22 kB / 0.5322 GB, free: 21.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009801/0.9833, allocations: 4.516 MB / 0.5366 GB, free: 16.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006379/0.984, allocations: 89.7 kB / 0.5367 GB, free: 16.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002268/0.9862, allocations: 3.881 MB / 0.5405 GB, free: 12.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001246/0.9875, allocations: 1.219 MB / 0.5417 GB, free: 11.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00207/0.9896, allocations: 0.7998 MB / 0.5425 GB, free: 10.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.9896, allocations: 305.1 kB / 0.5428 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003119/0.9928, allocations: 1.902 MB / 0.5446 GB, free: 8.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003479/0.9963, allocations: 3.386 MB / 0.548 GB, free: 4.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007418/1.004, allocations: 5.649 MB / 0.5535 GB, free: 14.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.774e-05/1.004, allocations: 12 kB / 0.5535 GB, free: 14.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01312/1.017, allocations: 6.557 MB / 0.5599 GB, free: 7.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.403e-05/1.017, allocations: 28.84 kB / 0.5599 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.903e-05/1.017, allocations: 44 kB / 0.56 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/1.019, allocations: 0.7514 MB / 0.5607 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004216/1.024, allocations: 1.069 MB / 0.5617 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/1.035, allocations: 10.18 MB / 0.5717 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004607/1.04, allocations: 243.6 kB / 0.5719 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001114/1.041, allocations: 208 kB / 0.5721 GB, free: 10.68 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.007321/1.048, allocations: 2.534 MB / 0.5746 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002088/1.051, allocations: 482.1 kB / 0.575 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/1.062, allocations: 5.465 MB / 0.5804 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.245e-05/1.062, allocations: 39.98 kB / 0.5804 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.214e-05/1.062, allocations: 12 kB / 0.5804 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.31e-05/1.062, allocations: 27.8 kB / 0.5804 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0269/1.089, allocations: 12.95 MB / 0.5931 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/1.089, allocations: 4 kB / 0.5931 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002976/1.092, allocations: 0.6089 MB / 0.5937 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002639/1.095, allocations: 0.9172 MB / 0.5946 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004973/1.095, allocations: 83.97 kB / 0.5947 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0166/1.112, allocations: 14.12 MB / 0.6085 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/1.112, allocations: 8 kB / 0.6085 GB, free: 4.488 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2043/1.316, allocations: 8.023 MB / 0.6163 GB, free: 145.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002973/1.319, allocations: 0.9849 MB / 0.6173 GB, free: 145.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009882/1.32, allocations: 73.78 kB / 0.6173 GB, free: 145.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002695/1.323, allocations: 190.3 kB / 0.6175 GB, free: 145.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006475/1.323, allocations: 274.5 kB / 0.6178 GB, free: 145.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002311/1.324, allocations: 108.1 kB / 0.6179 GB, free: 145.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004971/1.329, allocations: 3.065 MB / 0.6209 GB, free: 144.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/1.329, allocations: 0 / 0.6209 GB, free: 144.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005144/1.334, allocations: 1.48 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.0006771/1.335, allocations: 245.6 kB / 0.6226 GB, free: 144.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008379/1.343, allocations: 5.628 MB / 0.628 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.343, allocations: 2.938 kB / 0.6281 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005761/1.349, allocations: 3.42 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.006623/1.355, 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.02973/1.385, allocations: 18.63 MB / 0.6507 GB, free: 127.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005215/1.39, allocations: 5.075 MB / 0.6556 GB, free: 123.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004428/1.395, allocations: 1.056 MB / 0.6566 GB, free: 122.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/1.396, allocations: 322.4 kB / 0.657 GB, free: 122.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/1.396, allocations: 0 / 0.657 GB, free: 122.6 MB / 446.1 MB Notification: Performance of Templates: time 0.1067/1.503, allocations: 67.14 MB / 0.7225 GB, free: 56.05 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1)