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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001155/0.001155, allocations: 178.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.163/1.163, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001662/0.001662, allocations: 113.4 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.0003049, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07817/0.07849, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2866/0.3652, allocations: 117 MB / 472 MB, free: 5.348 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.3655, allocations: 91.2 kB / 472.1 MB, free: 5.301 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.563/0.9286, allocations: 192.7 MB / 0.6493 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.9286, allocations: 4 kB / 0.6493 GB, free: 12.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006845/0.9293, allocations: 199.8 kB / 0.6495 GB, free: 12.01 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2286 * Number of variables: 2286 Notification: Performance of Generate backend data structure: time 0.02543/0.9547, allocations: 8.714 MB / 0.658 GB, free: 3.195 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.9548, allocations: 8.031 kB / 0.658 GB, free: 3.188 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.966, allocations: 1.913 MB / 0.6599 GB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4111/1.377, allocations: 7.067 MB / 0.6668 GB, free: 23.02 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006848/1.378, allocations: 0.6394 MB / 0.6674 GB, free: 23 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003371/1.381, allocations: 0.8425 MB / 0.6682 GB, free: 23 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03014/1.411, allocations: 11.14 MB / 0.6791 GB, free: 22.12 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003963/1.412, allocations: 10.58 kB / 0.6791 GB, free: 22.12 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002514/1.414, allocations: 362.1 kB / 0.6794 GB, free: 22.12 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000348/1.415, allocations: 371.8 kB / 0.6798 GB, free: 22.1 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02416/1.439, allocations: 9.063 MB / 0.6886 GB, free: 22.02 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07013/1.509, allocations: 35.87 MB / 0.7237 GB, free: 13.37 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01353/1.523, allocations: 16.97 MB / 0.7402 GB, free: 14.52 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0159/1.539, allocations: 9.399 MB / 0.7494 GB, free: 9.289 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/1.539, allocations: 73.45 kB / 0.7495 GB, free: 9.223 MB / 410.8 MB Notification: Performance of pre-optimization done (n=327): time 5.19e-06/1.539, allocations: 0 / 0.7495 GB, free: 9.223 MB / 410.8 MB Notification: Performance of matching and sorting (n=381): time 0.03668/1.575, allocations: 16.6 MB / 0.7657 GB, free: 1.902 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/1.576, allocations: 92.81 kB / 0.7658 GB, free: 1.832 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006319/1.582, allocations: 3.842 MB / 0.7695 GB, free: 412 kB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006521/1.583, allocations: 87.55 kB / 0.7696 GB, free: 332 kB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004898/1.587, allocations: 4.007 MB / 0.7735 GB, free: 14.09 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001449/1.589, allocations: 1.287 MB / 0.7748 GB, free: 13.08 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/1.589, allocations: 96.31 kB / 0.7749 GB, free: 13.01 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002421/1.589, allocations: 484 kB / 0.7754 GB, free: 12.62 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003/1.592, allocations: 1.978 MB / 0.7773 GB, free: 11.86 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003745/1.596, allocations: 3.37 MB / 0.7806 GB, free: 9.305 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003832/1.6, allocations: 2.569 MB / 0.7831 GB, free: 8.141 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.397e-05/1.6, allocations: 12.19 kB / 0.7831 GB, free: 8.141 MB / 426.8 MB Notification: Performance of matching and sorting (n=597) (initialization): time 0.01112/1.611, allocations: 6.682 MB / 0.7896 GB, free: 5.551 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.437e-05/1.611, allocations: 26.59 kB / 0.7896 GB, free: 5.551 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/1.611, allocations: 49.64 kB / 0.7897 GB, free: 5.547 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/1.613, allocations: 0.768 MB / 0.7904 GB, free: 5.297 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004052/1.617, allocations: 1.092 MB / 0.7915 GB, free: 5.219 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/1.628, allocations: 10.54 MB / 0.8018 GB, free: 10.94 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005137/1.634, allocations: 255.8 kB / 0.8021 GB, free: 10.72 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009476/1.635, allocations: 211.3 kB / 0.8023 GB, free: 10.52 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 200 * 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 (541): * Single equations (assignments): 533 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006521/1.641, allocations: 2.533 MB / 0.8047 GB, free: 8.352 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/1.643, allocations: 497 kB / 0.8052 GB, free: 7.863 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/1.653, allocations: 5.71 MB / 0.8108 GB, free: 2.945 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-05/1.653, allocations: 36 kB / 0.8108 GB, free: 2.91 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.989e-05/1.653, allocations: 12 kB / 0.8108 GB, free: 2.898 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.301e-05/1.653, allocations: 28.02 kB / 0.8108 GB, free: 2.891 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02632/1.679, allocations: 13.85 MB / 0.8244 GB, free: 7.473 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-05/1.68, allocations: 4.094 kB / 0.8244 GB, free: 7.469 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00276/1.682, allocations: 0.6625 MB / 0.825 GB, free: 6.945 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002251/1.685, allocations: 0.9131 MB / 0.8259 GB, free: 6.199 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000302/1.685, allocations: 90.55 kB / 0.826 GB, free: 6.121 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2618/1.947, allocations: 14.3 MB / 0.84 GB, free: 75.02 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.947, allocations: 4.656 kB / 0.84 GB, free: 75.02 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/1.96, allocations: 9.125 MB / 0.8489 GB, free: 73.25 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00308/1.963, allocations: 0.9933 MB / 0.8499 GB, free: 73.16 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001207/1.965, allocations: 79.78 kB / 0.8499 GB, free: 73.16 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002769/1.967, allocations: 214.7 kB / 0.8501 GB, free: 73.16 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005623/1.968, allocations: 292.4 kB / 0.8504 GB, free: 73.15 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002286/1.968, allocations: 105.3 kB / 0.8505 GB, free: 73.15 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.004924/1.973, allocations: 2.918 MB / 0.8534 GB, free: 72.97 MB / 458.8 MB Notification: Performance of sort global known variables: time 3.01e-07/1.973, allocations: 0 / 0.8534 GB, free: 72.97 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.007771/1.981, allocations: 1.552 MB / 0.8549 GB, free: 72.97 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (303): * Single equations (assignments): 296 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,(4,93.8%) 33,(2,100.0%) 13,(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.001454/1.983, allocations: 0.5519 MB / 0.8554 GB, free: 72.87 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01043/1.993, allocations: 5.869 MB / 0.8611 GB, free: 72.04 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.993, allocations: 5.094 kB / 0.8612 GB, free: 72.04 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007031/2, allocations: 3.602 MB / 0.8647 GB, free: 71.34 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006775/2.007, allocations: 1.066 MB / 0.8657 GB, free: 71.32 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03991/2.047, allocations: 18 MB / 0.8833 GB, free: 63.68 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007237/2.054, allocations: 5.22 MB / 0.8884 GB, free: 62.71 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.005291/2.059, allocations: 1.078 MB / 0.8894 GB, free: 62.57 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/2.061, allocations: 325.6 kB / 0.8897 GB, free: 62.56 MB / 458.8 MB Notification: Performance of SimCode: time 2.765e-06/2.061, allocations: 0 / 0.8897 GB, free: 62.56 MB / 458.8 MB Notification: Performance of Templates: time 0.1223/2.183, allocations: 68.35 MB / 0.9565 GB, free: 42.84 MB / 458.8 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)