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.0007558/0.0007558, allocations: 91.3 kB / 16.65 MB, free: 6.555 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.0007954/0.0007955, allocations: 179.2 kB / 17.56 MB, free: 6.18 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.411/1.411, allocations: 205.4 MB / 223.7 MB, free: 13.05 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.0004382/0.0004384, allocations: 20.36 kB / 280.7 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08296/0.08341, allocations: 47.58 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.02735/0.1108, allocations: 27.83 MB / 356.2 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0174/0.1282, allocations: 7.961 MB / 364.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005296/0.1336, allocations: 163.4 kB / 364.3 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005612/0.1392, allocations: 1.648 MB / 365.9 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008973/0.1482, allocations: 2.358 MB / 368.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004944/0.1532, allocations: 1.607 MB / 369.9 MB, free: 10 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1944/0.3476, allocations: 10.65 MB / 380.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01009/0.3577, allocations: 7.914 MB / 388.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004829/0.3625, allocations: 3.31 MB / 391.8 MB, free: 11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006963/0.3695, allocations: 4.394 MB / 396.2 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001756/0.3713, allocations: 0.5409 MB / 396.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003508/0.3748, allocations: 0.9026 MB / 397.6 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001884/0.3767, allocations: 2.039 MB / 399.6 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01064/0.3874, allocations: 4.596 MB / 404.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01504/0.4024, allocations: 16.38 MB / 420.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4025, allocations: 4 kB / 420.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4025, allocations: 0 / 420.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004698/0.403, allocations: 0 / 420.6 MB, free: 15.26 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.02511/0.4281, allocations: 9.207 MB / 429.8 MB, free: 6.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4281, allocations: 12.02 kB / 429.8 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01206/0.4402, allocations: 2.093 MB / 431.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/0.4516, allocations: 5.512 MB / 437.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000628/0.4523, allocations: 0.6422 MB / 438.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002433/0.4547, allocations: 0.8504 MB / 438.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03039/0.4851, allocations: 11.47 MB / 450.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002597/0.4854, allocations: 8 kB / 450.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001773/0.4872, allocations: 355.4 kB / 450.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000388/0.4876, allocations: 385.5 kB / 451.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02368/0.5113, allocations: 9.723 MB / 460.9 MB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07431/0.5856, allocations: 36.07 MB / 496.9 MB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01864/0.6043, allocations: 16.99 MB / 0.5019 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006539/0.6109, allocations: 3.54 MB / 0.5053 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01728/0.6282, allocations: 9.821 MB / 0.5149 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/0.6283, allocations: 64.97 kB / 0.515 GB, free: 2.742 MB / 430.1 MB Notification: Performance of pre-optimization done (n=308): time 5.5e-06/0.6283, allocations: 0 / 0.515 GB, free: 2.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=360): time 0.03648/0.6648, allocations: 15.81 MB / 0.5304 GB, free: 2.781 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.6649, allocations: 90.22 kB / 0.5305 GB, free: 2.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1908/0.8557, allocations: 4.509 MB / 0.5349 GB, free: 147.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008295/0.8566, allocations: 85.86 kB / 0.535 GB, free: 147.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003019/0.8596, allocations: 3.881 MB / 0.5388 GB, free: 146.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001545/0.8612, allocations: 1.23 MB / 0.54 GB, free: 146.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000584/0.8618, allocations: 356.7 kB / 0.5403 GB, free: 146.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.353e-05/0.8618, allocations: 301.8 kB / 0.5406 GB, free: 145.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003602/0.8654, allocations: 1.949 MB / 0.5425 GB, free: 145.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004116/0.8696, allocations: 3.427 MB / 0.5459 GB, free: 142.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007379/0.8769, allocations: 5.728 MB / 0.5515 GB, free: 138.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.58e-05/0.877, allocations: 14.44 kB / 0.5515 GB, free: 138.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01134/0.8883, allocations: 6.642 MB / 0.558 GB, free: 135.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.142e-05/0.8885, allocations: 31.38 kB / 0.558 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.547e-05/0.8885, allocations: 43.25 kB / 0.558 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/0.8905, allocations: 0.7455 MB / 0.5588 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003795/0.8943, allocations: 1.088 MB / 0.5598 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/0.9047, allocations: 10.19 MB / 0.5698 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004568/0.9093, allocations: 251.5 kB / 0.57 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006831/0.91, allocations: 212.6 kB / 0.5702 GB, free: 127.4 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.005203/0.9152, allocations: 2.546 MB / 0.5727 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/0.9164, allocations: 493.9 kB / 0.5732 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008909/0.9254, allocations: 5.519 MB / 0.5786 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.8e-05/0.9254, allocations: 37.59 kB / 0.5786 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/0.9254, allocations: 14.81 kB / 0.5786 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.071e-05/0.9255, allocations: 24.42 kB / 0.5786 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/0.9455, allocations: 13.04 MB / 0.5914 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.9455, allocations: 7.984 kB / 0.5914 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002442/0.948, allocations: 0.6246 MB / 0.592 GB, free: 115 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002112/0.9501, allocations: 0.9162 MB / 0.5929 GB, free: 114 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002371/0.9504, allocations: 87.97 kB / 0.593 GB, free: 113.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/0.9636, allocations: 14.14 MB / 0.6068 GB, free: 99.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/0.9636, allocations: 7.938 kB / 0.6068 GB, free: 99.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/0.9766, allocations: 8.149 MB / 0.6147 GB, free: 90.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002579/0.9792, allocations: 0.9871 MB / 0.6157 GB, free: 89.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006416/0.9799, allocations: 73.25 kB / 0.6158 GB, free: 89.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/0.9822, allocations: 219.7 kB / 0.616 GB, free: 89.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005479/0.9827, allocations: 282.2 kB / 0.6163 GB, free: 89.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/0.9829, allocations: 99.97 kB / 0.6163 GB, free: 89.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004156/0.9871, allocations: 3.067 MB / 0.6193 GB, free: 86.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.9871, allocations: 0 / 0.6193 GB, free: 86.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004959/0.9921, allocations: 1.484 MB / 0.6208 GB, free: 84.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.0006373/0.9927, allocations: 245.5 kB / 0.621 GB, free: 84.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008273/1.001, allocations: 5.709 MB / 0.6266 GB, free: 78.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/1.001, allocations: 3 kB / 0.6266 GB, free: 78.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004824/1.006, allocations: 3.459 MB / 0.63 GB, free: 75.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008769/1.015, allocations: 1.102 MB / 0.6311 GB, free: 73.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02542/1.04, allocations: 18.83 MB / 0.6494 GB, free: 54.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004192/1.044, allocations: 5.066 MB / 0.6544 GB, free: 49.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003972/1.048, allocations: 1.056 MB / 0.6554 GB, free: 48.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009156/1.049, allocations: 323.4 kB / 0.6557 GB, free: 48.5 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/1.049, allocations: 0 / 0.6557 GB, free: 48.5 MB / 446.1 MB Notification: Performance of Templates: time 0.3118/1.361, allocations: 66.25 MB / 0.7204 GB, free: 115 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)