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.000906/0.0009061, allocations: 91.02 kB / 16.31 MB, free: 5.66 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.001252/0.001252, allocations: 179.3 kB / 17.21 MB, free: 5.578 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.775/1.775, allocations: 205.4 MB / 223.4 MB, free: 5.461 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.0004414/0.0004415, allocations: 12 kB / 280.2 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2314, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.02704/0.2585, allocations: 25.87 MB / 353.6 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02033/0.2789, allocations: 7.64 MB / 361.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006673/0.2856, allocations: 163.4 kB / 361.4 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006116/0.2918, allocations: 1.39 MB / 362.8 MB, free: 368 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.3032, allocations: 2.186 MB / 365 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005635/0.3088, allocations: 1.158 MB / 366.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01721/0.3261, allocations: 10.06 MB / 376.2 MB, free: 2.898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01563/0.3418, allocations: 6.127 MB / 382.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007299/0.3491, allocations: 3.241 MB / 385.6 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0085/0.3577, allocations: 4.225 MB / 389.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003307/0.361, allocations: 0.5391 MB / 390.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005043/0.3661, allocations: 0.8472 MB / 391.2 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00465/0.3707, allocations: 2.008 MB / 393.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005054/0.3758, allocations: 1.896 MB / 395.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01909/0.3949, allocations: 14.34 MB / 409.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.395, allocations: 3.984 kB / 409.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.395, allocations: 0 / 409.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006374/0.3956, allocations: 0 / 409.4 MB, free: 1.523 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.02849/0.4241, allocations: 9.303 MB / 418.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.4242, allocations: 12.03 kB / 418.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0126/0.4368, allocations: 2.089 MB / 420.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/0.4506, allocations: 5.374 MB / 426.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000819/0.4515, allocations: 0.6499 MB / 426.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00281/0.4543, allocations: 0.8396 MB / 427.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03314/0.4875, allocations: 11.41 MB / 439.1 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000225/0.4877, allocations: 7.906 kB / 439.1 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001178/0.4889, allocations: 359.9 kB / 439.5 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003717/0.4893, allocations: 377.5 kB / 439.8 MB, free: 2.848 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02167/0.511, allocations: 9.657 MB / 449.5 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4077/0.9187, allocations: 36.04 MB / 485.5 MB, free: 79.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01467/0.9335, allocations: 16.96 MB / 0.4907 GB, free: 63.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00656/0.9401, allocations: 3.539 MB / 0.4942 GB, free: 62.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01619/0.9563, allocations: 9.825 MB / 0.5038 GB, free: 52.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.9563, allocations: 64.97 kB / 0.5038 GB, free: 52.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=308): time 4.388e-06/0.9564, allocations: 0 / 0.5038 GB, free: 52.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=360): time 0.03488/0.9913, allocations: 15.84 MB / 0.5193 GB, free: 36.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.9913, allocations: 94.2 kB / 0.5194 GB, free: 36.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008172/0.9995, allocations: 4.484 MB / 0.5238 GB, free: 31.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005097/1, allocations: 85.7 kB / 0.5238 GB, free: 31.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00233/1.002, allocations: 3.886 MB / 0.5276 GB, free: 27.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001232/1.004, allocations: 1.218 MB / 0.5288 GB, free: 26.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004622/1.004, allocations: 92 kB / 0.5289 GB, free: 26.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000263/1.004, allocations: 488 kB / 0.5294 GB, free: 25.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003358/1.008, allocations: 1.934 MB / 0.5313 GB, free: 23.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00379/1.012, allocations: 3.402 MB / 0.5346 GB, free: 19.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003915/1.015, allocations: 2.522 MB / 0.537 GB, free: 17.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.215e-05/1.016, allocations: 16 kB / 0.5371 GB, free: 17.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01024/1.026, allocations: 6.6 MB / 0.5435 GB, free: 10.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/1.026, allocations: 27.95 kB / 0.5435 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-05/1.026, allocations: 44 kB / 0.5436 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/1.028, allocations: 0.7452 MB / 0.5443 GB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003643/1.031, allocations: 1.092 MB / 0.5454 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009235/1.041, allocations: 10.18 MB / 0.5553 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00394/1.045, allocations: 251.7 kB / 0.5555 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006224/1.045, allocations: 207.9 kB / 0.5557 GB, free: 13.62 MB / 398.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 (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 13,(1,100.0%) 5,(2,100.0%) 13,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005424/1.051, allocations: 2.538 MB / 0.5582 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/1.052, allocations: 493.9 kB / 0.5587 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/1.063, allocations: 5.501 MB / 0.5641 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-05/1.064, allocations: 39.98 kB / 0.5641 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.958e-05/1.064, allocations: 12 kB / 0.5641 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-05/1.064, allocations: 15.94 kB / 0.5641 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02786/1.092, allocations: 13.02 MB / 0.5769 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/1.092, allocations: 4 kB / 0.5769 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002869/1.094, allocations: 0.6204 MB / 0.5775 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002455/1.097, allocations: 0.9297 MB / 0.5784 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000388/1.097, allocations: 87.95 kB / 0.5785 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01685/1.114, allocations: 14.12 MB / 0.5922 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/1.114, allocations: 7.938 kB / 0.5922 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01532/1.13, allocations: 8.106 MB / 0.6002 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003693/1.133, allocations: 0.9909 MB / 0.6011 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001687/1.135, allocations: 72 kB / 0.6012 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003204/1.138, allocations: 211.8 kB / 0.6014 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006742/1.139, allocations: 278.2 kB / 0.6017 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002885/1.139, allocations: 104 kB / 0.6018 GB, free: 13.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006908/1.146, allocations: 3.04 MB / 0.6047 GB, free: 10.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.4e-07/1.146, allocations: 0 / 0.6047 GB, free: 10.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006435/1.153, allocations: 1.475 MB / 0.6062 GB, free: 8.816 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 13,(2,100.0%) 13,(4,93.8%) 33,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007326/1.153, allocations: 239.8 kB / 0.6064 GB, free: 8.578 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009977/1.163, allocations: 5.696 MB / 0.612 GB, free: 2.777 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.163, allocations: 4 kB / 0.612 GB, free: 2.773 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1759/1.339, allocations: 3.439 MB / 0.6153 GB, free: 153.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006972/1.346, allocations: 1.119 MB / 0.6164 GB, free: 153.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02801/1.374, allocations: 17.91 MB / 0.6339 GB, free: 145.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004828/1.379, allocations: 5.077 MB / 0.6389 GB, free: 143.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004029/1.383, allocations: 1.06 MB / 0.6399 GB, free: 143.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009315/1.384, allocations: 321.2 kB / 0.6402 GB, free: 143.4 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/1.384, allocations: 0 / 0.6402 GB, free: 143.4 MB / 446.1 MB Notification: Performance of Templates: time 0.09602/1.48, allocations: 64.69 MB / 0.7034 GB, free: 81.33 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)