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.001164/0.001164, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001184/0.001184, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.504/1.504, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.001182/0.001182, allocations: 51.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2131, allocations: 46.64 MB / 324.9 MB, free: 1.898 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.02872/0.2419, allocations: 28.96 MB / 353.8 MB, free: 7.023 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02069/0.2626, allocations: 7.98 MB / 361.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007368/0.27, allocations: 167.4 kB / 362 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007257/0.2774, allocations: 1.655 MB / 363.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01134/0.2888, allocations: 2.354 MB / 366 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006086/0.2949, allocations: 1.623 MB / 367.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01585/0.3108, allocations: 10.45 MB / 378 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01687/0.3277, allocations: 9.464 MB / 387.5 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009593/0.3373, allocations: 4.544 MB / 392.1 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009859/0.3472, allocations: 5.488 MB / 397.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004011/0.3513, allocations: 1.352 MB / 398.9 MB, free: 9.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005149/0.3565, allocations: 1.722 MB / 400.6 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003923/0.3604, allocations: 3.007 MB / 403.6 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009715/0.3701, allocations: 5.637 MB / 409.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02128/0.3915, allocations: 17.32 MB / 426.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.3915, allocations: 0 / 426.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3915, allocations: 0 / 426.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000668/0.3922, allocations: 4 kB / 426.6 MB, free: 13.94 MB / 366.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.03379/0.426, allocations: 10.94 MB / 437.5 MB, free: 2.887 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.4261, allocations: 11.89 kB / 437.5 MB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/0.4382, allocations: 2.078 MB / 439.6 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/0.4492, allocations: 5.501 MB / 445.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000552/0.4497, allocations: 0.6427 MB / 445.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002396/0.4522, allocations: 0.8591 MB / 446.6 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.359/0.8112, allocations: 11.44 MB / 458.1 MB, free: 96.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003221/0.8115, allocations: 8.953 kB / 458.1 MB, free: 96.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002404/0.8139, allocations: 354.7 kB / 458.4 MB, free: 96.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000721/0.8147, allocations: 379.8 kB / 458.8 MB, free: 96.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02116/0.8358, allocations: 9.665 MB / 468.5 MB, free: 91.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05792/0.8938, allocations: 35.83 MB / 0.4925 GB, free: 63.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/0.9064, allocations: 16.97 MB / 0.509 GB, free: 45.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005069/0.9115, allocations: 3.513 MB / 0.5125 GB, free: 41.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01411/0.9256, allocations: 9.786 MB / 0.522 GB, free: 31.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.9257, allocations: 68.97 kB / 0.5221 GB, free: 31.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=308): time 5.34e-06/0.9257, allocations: 0 / 0.5221 GB, free: 31.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=360): time 0.03041/0.9561, allocations: 15.49 MB / 0.5372 GB, free: 15.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.9562, allocations: 86.22 kB / 0.5373 GB, free: 15.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006364/0.9626, allocations: 4.523 MB / 0.5417 GB, free: 11.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007002/0.9633, allocations: 81.7 kB / 0.5418 GB, free: 11.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002004/0.9653, allocations: 3.89 MB / 0.5456 GB, free: 7.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001175/0.9665, allocations: 1.223 MB / 0.5468 GB, free: 5.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/0.9676, allocations: 0.7922 MB / 0.5476 GB, free: 5.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.471e-05/0.9677, allocations: 309.1 kB / 0.5479 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00273/0.9704, allocations: 1.906 MB / 0.5497 GB, free: 2.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003541/0.974, allocations: 3.379 MB / 0.553 GB, free: 14.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009788/0.9838, allocations: 5.649 MB / 0.5585 GB, free: 8.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.674e-05/0.9839, allocations: 19.94 kB / 0.5586 GB, free: 8.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01272/0.9966, allocations: 6.557 MB / 0.565 GB, free: 1.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.007e-05/0.9967, allocations: 24.94 kB / 0.565 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-05/0.9968, allocations: 44.84 kB / 0.565 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002/0.9988, allocations: 0.763 MB / 0.5658 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004321/1.003, allocations: 1.057 MB / 0.5668 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/1.014, allocations: 11.11 MB / 0.5776 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004381/1.019, allocations: 239.7 kB / 0.5779 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007605/1.02, allocations: 208 kB / 0.5781 GB, free: 3.922 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.005389/1.025, allocations: 2.531 MB / 0.5805 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/1.026, allocations: 486 kB / 0.581 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009736/1.036, allocations: 5.466 MB / 0.5863 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.682e-05/1.036, allocations: 36 kB / 0.5864 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.253e-05/1.036, allocations: 12 kB / 0.5864 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.875e-05/1.036, allocations: 15.94 kB / 0.5864 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02571/1.062, allocations: 12.96 MB / 0.5991 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/1.062, allocations: 4 kB / 0.5991 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002743/1.065, allocations: 0.6086 MB / 0.5997 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00258/1.067, allocations: 0.9331 MB / 0.6006 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002811/1.068, allocations: 83.97 kB / 0.6007 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.225/1.293, allocations: 15.38 MB / 0.6157 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/1.293, allocations: 5.875 kB / 0.6157 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/1.305, allocations: 8.027 MB / 0.6235 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002678/1.308, allocations: 0.9836 MB / 0.6245 GB, free: 141 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001274/1.31, allocations: 75.66 kB / 0.6246 GB, free: 141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002944/1.312, allocations: 189.7 kB / 0.6247 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006902/1.313, allocations: 285.2 kB / 0.625 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/1.313, allocations: 97.75 kB / 0.6251 GB, free: 140.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004833/1.318, allocations: 3.072 MB / 0.6281 GB, free: 139.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.42e-07/1.318, allocations: 0 / 0.6281 GB, free: 139.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006975/1.325, allocations: 1.475 MB / 0.6295 GB, free: 139.6 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.0009947/1.326, allocations: 247.8 kB / 0.6298 GB, free: 139.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01878/1.345, allocations: 8.185 MB / 0.6378 GB, free: 136.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.345, allocations: 0 / 0.6378 GB, free: 136.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005138/1.35, allocations: 3.423 MB / 0.6411 GB, free: 135.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006917/1.357, allocations: 1.148 MB / 0.6422 GB, free: 134.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/1.384, allocations: 18.64 MB / 0.6604 GB, free: 118.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004571/1.388, allocations: 5.067 MB / 0.6654 GB, free: 114.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004055/1.393, allocations: 1.061 MB / 0.6664 GB, free: 113.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009927/1.394, allocations: 331.4 kB / 0.6667 GB, free: 113 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/1.394, allocations: 3.938 kB / 0.6667 GB, free: 113 MB / 446.1 MB Notification: Performance of Templates: time 0.09819/1.492, allocations: 69.64 MB / 0.7347 GB, free: 43.32 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)