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.001516/0.001516, allocations: 107.2 kB / 16.92 MB, free: 5.77 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.00164/0.00164, allocations: 191.5 kB / 17.85 MB, free: 5.168 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.46/1.46, allocations: 205.1 MB / 223.7 MB, free: 12.34 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.001427/0.001427, allocations: 52.16 kB / 280 MB, free: 3.191 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09534/0.09678, allocations: 46.63 MB / 326.6 MB, free: 4.492 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.0307/0.1275, allocations: 29.42 MB / 356 MB, free: 6.926 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01941/0.147, allocations: 8.124 MB / 364.2 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006174/0.1532, allocations: 175.4 kB / 364.3 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00623/0.1595, allocations: 1.932 MB / 366.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.1695, allocations: 2.647 MB / 368.9 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005174/0.1747, allocations: 1.774 MB / 370.7 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1765/0.3513, allocations: 10.16 MB / 380.9 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01266/0.364, allocations: 9.455 MB / 390.3 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007555/0.3716, allocations: 4.75 MB / 395.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008411/0.38, allocations: 5.527 MB / 400.6 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003261/0.3833, allocations: 1.364 MB / 402 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004075/0.3874, allocations: 1.73 MB / 403.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002288/0.3897, allocations: 3.023 MB / 406.7 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005745/0.3954, allocations: 5.653 MB / 412.4 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01593/0.4114, allocations: 17.39 MB / 429.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4114, allocations: 0 / 429.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4115, allocations: 3.656 kB / 429.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005903/0.4121, allocations: 3.984 kB / 429.8 MB, free: 6.039 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.03238/0.4444, allocations: 10.97 MB / 440.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4445, allocations: 11.89 kB / 440.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/0.4571, allocations: 2.084 MB / 442.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01362/0.4707, allocations: 5.818 MB / 448.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007055/0.4715, allocations: 0.6461 MB / 449.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002834/0.4743, allocations: 0.8435 MB / 450.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02735/0.5017, allocations: 11.42 MB / 461.6 MB, free: 6.344 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002759/0.502, allocations: 11.19 kB / 461.6 MB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001742/0.5037, allocations: 359.1 kB / 461.9 MB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003747/0.5041, allocations: 377.5 kB / 462.3 MB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02269/0.5268, allocations: 9.632 MB / 471.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0738/0.6007, allocations: 35.71 MB / 0.4957 GB, free: 8.125 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01767/0.6184, allocations: 16.94 MB / 0.5123 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006383/0.6248, allocations: 3.499 MB / 0.5157 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01729/0.6421, allocations: 9.693 MB / 0.5252 GB, free: 7.973 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/0.6422, allocations: 64.97 kB / 0.5252 GB, free: 7.898 MB / 446.1 MB Notification: Performance of pre-optimization done (n=308): time 5.22e-06/0.6422, allocations: 3.938 kB / 0.5252 GB, free: 7.895 MB / 446.1 MB Notification: Performance of matching and sorting (n=360): time 0.2218/0.864, allocations: 15.3 MB / 0.5402 GB, free: 148.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.8641, allocations: 93.22 kB / 0.5403 GB, free: 148.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007791/0.8719, allocations: 4.435 MB / 0.5446 GB, free: 146.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004949/0.8724, allocations: 87.52 kB / 0.5447 GB, free: 146.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002238/0.8747, allocations: 3.892 MB / 0.5485 GB, free: 143.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009009/0.8756, allocations: 1.22 MB / 0.5497 GB, free: 142.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/0.8766, allocations: 0.7911 MB / 0.5504 GB, free: 142.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.8767, allocations: 305.1 kB / 0.5507 GB, free: 142.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002905/0.8796, allocations: 1.894 MB / 0.5526 GB, free: 141.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00317/0.8828, allocations: 3.36 MB / 0.5559 GB, free: 138.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006033/0.8888, allocations: 5.6 MB / 0.5613 GB, free: 135 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.098e-05/0.8889, allocations: 15.75 kB / 0.5613 GB, free: 135 MB / 446.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.009468/0.8983, allocations: 6.5 MB / 0.5677 GB, free: 132.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.8984, allocations: 26.66 kB / 0.5677 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.474e-05/0.8985, allocations: 47.91 kB / 0.5678 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/0.9001, allocations: 0.7436 MB / 0.5685 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003413/0.9035, allocations: 1.062 MB / 0.5695 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008501/0.912, allocations: 11.01 MB / 0.5803 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004388/0.9164, allocations: 237.8 kB / 0.5805 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005185/0.917, allocations: 204.5 kB / 0.5807 GB, free: 123 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.005018/0.922, allocations: 2.538 MB / 0.5832 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001393/0.9234, allocations: 488.1 kB / 0.5836 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008166/0.9316, allocations: 5.393 MB / 0.5889 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-05/0.9316, allocations: 40 kB / 0.5889 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.9317, allocations: 12 kB / 0.589 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-05/0.9317, allocations: 18.66 kB / 0.589 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01691/0.9486, allocations: 12.82 MB / 0.6015 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.9487, allocations: 17.64 kB / 0.6015 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/0.951, allocations: 0.6046 MB / 0.6021 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001838/0.9529, allocations: 0.9036 MB / 0.603 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/0.9531, allocations: 99.83 kB / 0.6031 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/0.9649, allocations: 15.28 MB / 0.618 GB, free: 88.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.9649, allocations: 7.938 kB / 0.618 GB, free: 88.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01133/0.9763, allocations: 7.929 MB / 0.6257 GB, free: 80.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002339/0.9786, allocations: 0.9636 MB / 0.6267 GB, free: 79.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/0.9798, allocations: 83.94 kB / 0.6268 GB, free: 79.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002565/0.9823, allocations: 187.8 kB / 0.6269 GB, free: 79.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006507/0.983, allocations: 276.3 kB / 0.6272 GB, free: 78.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/0.9832, allocations: 108 kB / 0.6273 GB, free: 78.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004082/0.9873, allocations: 3.009 MB / 0.6303 GB, free: 75.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.9873, allocations: 0 / 0.6303 GB, free: 75.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004767/0.9921, allocations: 1.466 MB / 0.6317 GB, free: 74.34 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.0005117/0.9926, allocations: 241.8 kB / 0.6319 GB, free: 74.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01802/1.011, allocations: 8.137 MB / 0.6399 GB, free: 65.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.011, allocations: 4 kB / 0.6399 GB, free: 65.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004541/1.015, allocations: 3.395 MB / 0.6432 GB, free: 62.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005064/1.02, allocations: 1.155 MB / 0.6443 GB, free: 61.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02159/1.042, allocations: 14.97 MB / 0.6589 GB, free: 46.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004502/1.046, allocations: 5.068 MB / 0.6639 GB, free: 41.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004107/1.051, allocations: 1.064 MB / 0.6649 GB, free: 40.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008668/1.051, allocations: 323.4 kB / 0.6652 GB, free: 39.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/1.051, allocations: 0 / 0.6652 GB, free: 39.7 MB / 446.1 MB Notification: Performance of Templates: time 0.3018/1.353, allocations: 68.7 MB / 0.7323 GB, free: 122.4 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)