Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001296/0.001296, allocations: 103.4 kB / 16.62 MB, free: 6.809 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.001243/0.001243, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.379/1.379, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.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.001296/0.001296, allocations: 47.94 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08655/0.08786, allocations: 46.62 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.02928/0.1172, allocations: 28.97 MB / 355.1 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01766/0.1349, allocations: 7.977 MB / 363.1 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006246/0.1412, allocations: 163.4 kB / 363.2 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00688/0.1482, allocations: 1.663 MB / 364.9 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01128/0.1595, allocations: 2.362 MB / 367.3 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005552/0.165, allocations: 1.61 MB / 368.9 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.186/0.3511, allocations: 10.46 MB / 379.3 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01449/0.3656, allocations: 9.464 MB / 388.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007743/0.3734, allocations: 4.548 MB / 393.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008525/0.3819, allocations: 5.483 MB / 398.8 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003448/0.3854, allocations: 1.355 MB / 400.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004713/0.3901, allocations: 1.716 MB / 401.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003486/0.3936, allocations: 3.01 MB / 404.9 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007031/0.4007, allocations: 5.64 MB / 410.6 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01735/0.4181, allocations: 17.33 MB / 427.9 MB, free: 7.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4181, allocations: 0 / 427.9 MB, free: 7.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.614e-06/0.4181, allocations: 0 / 427.9 MB, free: 7.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0007807/0.4189, allocations: 4 kB / 427.9 MB, free: 7.68 MB / 334.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.0404/0.4593, allocations: 10.93 MB / 438.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.4594, allocations: 15.89 kB / 438.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01746/0.4769, allocations: 2.079 MB / 440.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01309/0.49, allocations: 5.508 MB / 446.4 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006899/0.4907, allocations: 0.6466 MB / 447.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003178/0.4939, allocations: 0.847 MB / 447.9 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0276/0.5215, allocations: 11.44 MB / 459.4 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000194/0.5218, allocations: 4 kB / 459.4 MB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0011/0.5229, allocations: 355 kB / 459.7 MB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003451/0.5232, allocations: 385.5 kB / 460.1 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0195/0.5427, allocations: 9.663 MB / 469.8 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07058/0.6133, allocations: 35.84 MB / 0.4937 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01644/0.6298, allocations: 16.95 MB / 0.5103 GB, free: 7.168 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006265/0.6362, allocations: 3.521 MB / 0.5137 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01799/0.6542, allocations: 9.781 MB / 0.5233 GB, free: 9.664 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/0.6543, allocations: 72.44 kB / 0.5233 GB, free: 9.586 MB / 446.1 MB Notification: Performance of pre-optimization done (n=308): time 6.492e-06/0.6543, allocations: 0 / 0.5233 GB, free: 9.586 MB / 446.1 MB Notification: Performance of matching and sorting (n=360): time 0.3425/0.9968, allocations: 15.49 MB / 0.5385 GB, free: 147.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.9969, allocations: 88.53 kB / 0.5386 GB, free: 147.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007918/1.005, allocations: 4.519 MB / 0.543 GB, free: 146 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005804/1.005, allocations: 88.45 kB / 0.5431 GB, free: 145.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002428/1.008, allocations: 3.876 MB / 0.5468 GB, free: 142.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001126/1.009, allocations: 1.226 MB / 0.548 GB, free: 142 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/1.01, allocations: 0.7917 MB / 0.5488 GB, free: 141.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.771e-05/1.01, allocations: 305.6 kB / 0.5491 GB, free: 141.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003342/1.013, allocations: 1.912 MB / 0.551 GB, free: 140.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003506/1.017, allocations: 3.386 MB / 0.5543 GB, free: 138 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005949/1.023, allocations: 5.652 MB / 0.5598 GB, free: 134.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.243e-05/1.023, allocations: 11.78 kB / 0.5598 GB, free: 134.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.009629/1.033, allocations: 6.551 MB / 0.5662 GB, free: 131.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/1.033, allocations: 23.53 kB / 0.5662 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.605e-05/1.033, allocations: 50.94 kB / 0.5663 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001762/1.035, allocations: 0.7658 MB / 0.567 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003552/1.038, allocations: 1.058 MB / 0.5681 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00896/1.047, allocations: 11.11 MB / 0.5789 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00631/1.053, allocations: 241.4 kB / 0.5791 GB, free: 122.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007869/1.054, allocations: 206.5 kB / 0.5793 GB, free: 122.1 MB / 446.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.005291/1.06, allocations: 2.533 MB / 0.5818 GB, free: 120.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/1.061, allocations: 488.6 kB / 0.5823 GB, free: 120.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007988/1.069, allocations: 5.458 MB / 0.5876 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.021e-05/1.069, allocations: 32 kB / 0.5876 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/1.069, allocations: 15.75 kB / 0.5876 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.701e-05/1.069, allocations: 18.86 kB / 0.5877 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/1.088, allocations: 12.95 MB / 0.6003 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/1.088, allocations: 7.938 kB / 0.6003 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/1.091, allocations: 0.6087 MB / 0.6009 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/1.093, allocations: 0.9205 MB / 0.6018 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002679/1.093, allocations: 87.91 kB / 0.6019 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/1.105, allocations: 15.39 MB / 0.6169 GB, free: 87.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/1.105, allocations: 11.94 kB / 0.6169 GB, free: 87.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/1.116, allocations: 8.022 MB / 0.6248 GB, free: 79.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003047/1.119, allocations: 0.987 MB / 0.6257 GB, free: 78.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/1.12, allocations: 76.81 kB / 0.6258 GB, free: 78.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002509/1.123, allocations: 188.6 kB / 0.626 GB, free: 77.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006367/1.124, allocations: 282.2 kB / 0.6263 GB, free: 77.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002132/1.124, allocations: 103.9 kB / 0.6264 GB, free: 77.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004069/1.128, allocations: 3.067 MB / 0.6293 GB, free: 74.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.51e-07/1.128, allocations: 0 / 0.6293 GB, free: 74.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006849/1.135, allocations: 1.477 MB / 0.6308 GB, free: 73.07 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.0007042/1.135, allocations: 247.3 kB / 0.631 GB, free: 72.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01865/1.154, allocations: 8.19 MB / 0.639 GB, free: 64.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.154, allocations: 0 / 0.639 GB, free: 64.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004842/1.159, allocations: 3.424 MB / 0.6424 GB, free: 61.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005945/1.165, allocations: 1.148 MB / 0.6435 GB, free: 59.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02539/1.19, allocations: 18.65 MB / 0.6617 GB, free: 41.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00438/1.195, allocations: 5.064 MB / 0.6666 GB, free: 36.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003771/1.199, allocations: 1.06 MB / 0.6677 GB, free: 35.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009799/1.2, allocations: 331.4 kB / 0.668 GB, free: 34.73 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/1.2, allocations: 0 / 0.668 GB, free: 34.73 MB / 446.1 MB Notification: Performance of Templates: time 0.2786/1.478, allocations: 69.65 MB / 0.736 GB, free: 120.1 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1)