Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001089/0.001089, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001396/0.001396, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004344/0.0004345, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2123, allocations: 47.58 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.0247/0.2371, allocations: 25.87 MB / 352.3 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01805/0.2552, allocations: 7.64 MB / 360 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007238/0.2625, allocations: 163.4 kB / 360.1 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006148/0.2686, allocations: 1.394 MB / 361.5 MB, free: 352 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009121/0.2778, allocations: 2.182 MB / 363.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00447/0.2823, allocations: 1.162 MB / 364.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01279/0.2951, allocations: 10.05 MB / 374.9 MB, free: 2.891 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009807/0.3049, allocations: 6.131 MB / 381.1 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005305/0.3102, allocations: 3.241 MB / 384.3 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006837/0.3171, allocations: 4.217 MB / 388.5 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002145/0.3192, allocations: 0.5391 MB / 389.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.3232, allocations: 0.8472 MB / 389.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002418/0.3256, allocations: 2.012 MB / 391.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00288/0.3285, allocations: 1.896 MB / 393.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01421/0.3428, allocations: 14.34 MB / 408.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3428, allocations: 0 / 408.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3428, allocations: 0 / 408.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000365/0.3432, allocations: 0 / 408.2 MB, free: 1.52 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.02204/0.3652, allocations: 9.303 MB / 417.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3653, allocations: 8.031 kB / 417.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.3762, allocations: 2.092 MB / 419.6 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01066/0.3869, allocations: 5.374 MB / 424.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005128/0.3874, allocations: 0.6499 MB / 425.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/0.3889, allocations: 0.8436 MB / 426.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01989/0.4088, allocations: 11.4 MB / 437.8 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000154/0.409, allocations: 23.83 kB / 437.8 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007544/0.4097, allocations: 356 kB / 438.2 MB, free: 3.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000337/0.4101, allocations: 377.5 kB / 438.6 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01883/0.4289, allocations: 9.653 MB / 448.2 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3436/0.7725, allocations: 36.04 MB / 484.3 MB, free: 79.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/0.7839, allocations: 16.97 MB / 0.4895 GB, free: 64.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00462/0.7886, allocations: 3.542 MB / 0.4929 GB, free: 62.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0132/0.8018, allocations: 9.828 MB / 0.5025 GB, free: 52.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.8018, allocations: 64.97 kB / 0.5026 GB, free: 52.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=308): time 5.07e-06/0.8019, allocations: 0 / 0.5026 GB, free: 52.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=360): time 0.02761/0.8295, allocations: 15.84 MB / 0.5181 GB, free: 36.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.8295, allocations: 94.16 kB / 0.5182 GB, free: 36.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005885/0.8354, allocations: 4.48 MB / 0.5225 GB, free: 31.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001885/0.8356, allocations: 85.7 kB / 0.5226 GB, free: 31.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001795/0.8374, allocations: 3.882 MB / 0.5264 GB, free: 27.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000659/0.8381, allocations: 1.226 MB / 0.5276 GB, free: 26.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.8383, allocations: 88 kB / 0.5277 GB, free: 26.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.8385, allocations: 488 kB / 0.5282 GB, free: 25.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002805/0.8413, allocations: 1.938 MB / 0.53 GB, free: 23.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003266/0.8446, allocations: 3.402 MB / 0.5334 GB, free: 19.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0035/0.8481, allocations: 2.507 MB / 0.5358 GB, free: 17.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.761e-05/0.8482, allocations: 19.94 kB / 0.5358 GB, free: 17.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.009495/0.8577, allocations: 6.601 MB / 0.5423 GB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.8577, allocations: 27.95 kB / 0.5423 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.452e-05/0.8578, allocations: 48.06 kB / 0.5424 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/0.8595, allocations: 0.7474 MB / 0.5431 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003441/0.8629, allocations: 1.092 MB / 0.5441 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009564/0.8725, allocations: 10.17 MB / 0.5541 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003694/0.8762, allocations: 259.6 kB / 0.5543 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005028/0.8768, allocations: 211.8 kB / 0.5545 GB, free: 13.58 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.005041/0.8818, allocations: 2.538 MB / 0.557 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/0.8831, allocations: 490 kB / 0.5575 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/0.8937, allocations: 5.509 MB / 0.5629 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-05/0.8938, allocations: 36 kB / 0.5629 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.986e-05/0.8938, allocations: 12 kB / 0.5629 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-05/0.8939, allocations: 15.94 kB / 0.5629 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02512/0.919, allocations: 13.02 MB / 0.5756 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/0.919, allocations: 4 kB / 0.5756 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002839/0.9219, allocations: 0.6287 MB / 0.5762 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002471/0.9244, allocations: 0.9213 MB / 0.5771 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000416/0.9248, allocations: 87.95 kB / 0.5772 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01639/0.9412, allocations: 14.12 MB / 0.591 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/0.9413, allocations: 11.94 kB / 0.591 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01449/0.9558, allocations: 8.108 MB / 0.5989 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002693/0.9585, allocations: 0.9831 MB / 0.5999 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001262/0.9598, allocations: 72 kB / 0.6 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002768/0.9626, allocations: 215.8 kB / 0.6002 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000626/0.9632, allocations: 282.2 kB / 0.6004 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002769/0.9635, allocations: 108 kB / 0.6005 GB, free: 13.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006074/0.9696, allocations: 3.032 MB / 0.6035 GB, free: 10.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.9696, allocations: 0 / 0.6035 GB, free: 10.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006694/0.9763, allocations: 1.471 MB / 0.6049 GB, free: 8.789 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.0007932/0.9771, allocations: 247.9 kB / 0.6052 GB, free: 8.543 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01025/0.9874, allocations: 5.697 MB / 0.6107 GB, free: 2.742 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.9874, allocations: 64 / 0.6107 GB, free: 2.742 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1643/1.152, allocations: 3.445 MB / 0.6141 GB, free: 153.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008702/1.16, allocations: 1.115 MB / 0.6152 GB, free: 153.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02316/1.184, allocations: 17.92 MB / 0.6327 GB, free: 145.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00381/1.188, allocations: 5.062 MB / 0.6376 GB, free: 143.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003609/1.191, allocations: 1.058 MB / 0.6387 GB, free: 143.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008249/1.192, allocations: 317.6 kB / 0.639 GB, free: 143.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/1.192, allocations: 4 kB / 0.639 GB, free: 143.2 MB / 446.1 MB Notification: Performance of Templates: time 0.08446/1.276, allocations: 64.7 MB / 0.7022 GB, free: 81.07 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1)