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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001355/0.001355, allocations: 181.6 kB / 13.64 MB, free: 1.676 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.555/1.555, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001698/0.001699, allocations: 120.6 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.735e-05/2.746e-05, allocations: 0 / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07998/0.08002, allocations: 44.5 MB / 349.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3538/0.4339, allocations: 130.3 MB / 479.7 MB, free: 14.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.4342, allocations: 82.27 kB / 479.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5073/0.9415, allocations: 130.5 MB / 0.596 GB, free: 74.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.9416, allocations: 0 / 0.596 GB, free: 74.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005402/0.9422, allocations: 142 kB / 0.5961 GB, free: 74.7 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01457/0.9567, allocations: 5.38 MB / 0.6014 GB, free: 72.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.9568, allocations: 11.59 kB / 0.6014 GB, free: 72.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00603/0.9628, allocations: 1.146 MB / 0.6025 GB, free: 71.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/0.9739, allocations: 4.878 MB / 0.6073 GB, free: 69.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002772/0.9742, allocations: 425.4 kB / 0.6077 GB, free: 69.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001294/0.9755, allocations: 0.56 MB / 0.6082 GB, free: 69.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/0.9892, allocations: 7.015 MB / 0.6151 GB, free: 64.13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/0.9894, allocations: 7.906 kB / 0.6151 GB, free: 64.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007008/0.9901, allocations: 237.9 kB / 0.6153 GB, free: 63.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001899/0.9903, allocations: 249.4 kB / 0.6156 GB, free: 63.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009909/1, allocations: 5.568 MB / 0.621 GB, free: 58.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0344/1.035, allocations: 23.82 MB / 0.6443 GB, free: 34.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006172/1.041, allocations: 8.587 MB / 0.6526 GB, free: 25.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003007/1.044, allocations: 2.228 MB / 0.6548 GB, free: 23.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/1.055, allocations: 6.936 MB / 0.6616 GB, free: 16.08 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/1.055, allocations: 60.55 kB / 0.6616 GB, free: 16.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=234): time 5.38e-06/1.055, allocations: 0 / 0.6616 GB, free: 16.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=285): time 0.02564/1.08, allocations: 12.11 MB / 0.6735 GB, free: 3.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/1.081, allocations: 81.62 kB / 0.6736 GB, free: 3.727 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003961/1.085, allocations: 2.925 MB / 0.6764 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003288/1.085, allocations: 77.7 kB / 0.6765 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001728/1.087, allocations: 2.664 MB / 0.6791 GB, free: 14.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009348/1.088, allocations: 0.9728 MB / 0.68 GB, free: 13.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/1.088, allocations: 72 kB / 0.6801 GB, free: 13.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000233/1.088, allocations: 449.8 kB / 0.6805 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002301/1.09, allocations: 1.472 MB / 0.682 GB, free: 11.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003006/1.093, allocations: 2.632 MB / 0.6845 GB, free: 7.957 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002898/1.096, allocations: 1.942 MB / 0.6864 GB, free: 5.992 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.839e-05/1.096, allocations: 8 kB / 0.6864 GB, free: 5.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=471) (initialization): time 0.009148/1.105, allocations: 5.377 MB / 0.6917 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/1.105, allocations: 20 kB / 0.6917 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-05/1.106, allocations: 43.98 kB / 0.6918 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2368/1.342, allocations: 0.8538 MB / 0.6926 GB, free: 81.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003919/1.346, allocations: 0.8587 MB / 0.6934 GB, free: 81.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/1.358, allocations: 9.775 MB / 0.703 GB, free: 77.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004696/1.363, allocations: 236.5 kB / 0.7032 GB, free: 77.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007092/1.364, allocations: 164.9 kB / 0.7034 GB, free: 77.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (418): * Single equations (assignments): 409 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * 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: 3 {(6,72.2%) 23,(2,100.0%) 13,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007557/1.365, allocations: 331.2 kB / 0.7037 GB, free: 77.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001221/1.366, allocations: 389.6 kB / 0.704 GB, free: 77.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008469/1.374, allocations: 4.522 MB / 0.7085 GB, free: 76.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/1.374, allocations: 26.12 kB / 0.7085 GB, free: 76.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/1.374, allocations: 8.25 kB / 0.7085 GB, free: 76.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.818e-05/1.374, allocations: 19.09 kB / 0.7085 GB, free: 76.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01769/1.392, allocations: 9.941 MB / 0.7182 GB, free: 75.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005699/1.398, allocations: 3.794 MB / 0.7219 GB, free: 75.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002036/1.4, allocations: 0.4889 MB / 0.7224 GB, free: 75.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002295/1.402, allocations: 0.982 MB / 0.7234 GB, free: 75.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002739/1.403, allocations: 67.17 kB / 0.7234 GB, free: 75.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01248/1.415, allocations: 14.77 MB / 0.7379 GB, free: 64.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.415, allocations: 3.562 kB / 0.7379 GB, free: 64.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009982/1.425, allocations: 7.098 MB / 0.7448 GB, free: 61.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002364/1.428, allocations: 0.785 MB / 0.7456 GB, free: 60.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008014/1.428, allocations: 67.19 kB / 0.7456 GB, free: 60.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/1.431, allocations: 182.1 kB / 0.7458 GB, free: 60.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005252/1.431, allocations: 209.5 kB / 0.746 GB, free: 60.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/1.431, allocations: 84.64 kB / 0.7461 GB, free: 60.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003604/1.435, allocations: 2.201 MB / 0.7482 GB, free: 59.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.9e-07/1.435, allocations: 3.531 kB / 0.7482 GB, free: 59.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005719/1.441, allocations: 1.198 MB / 0.7494 GB, free: 59.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (224): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(6,75.0%) 23,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001243/1.442, allocations: 0.5499 MB / 0.7499 GB, free: 59.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006729/1.449, allocations: 4.635 MB / 0.7545 GB, free: 57.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.449, allocations: 3.562 kB / 0.7545 GB, free: 57.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004121/1.453, allocations: 2.964 MB / 0.7574 GB, free: 56.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004303/1.457, allocations: 0.829 MB / 0.7582 GB, free: 55.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/1.472, allocations: 8.549 MB / 0.7665 GB, free: 52.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003082/1.476, allocations: 3.608 MB / 0.77 GB, free: 50.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003242/1.479, allocations: 0.8262 MB / 0.7708 GB, free: 50.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008653/1.48, allocations: 255.2 kB / 0.7711 GB, free: 50.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.933e-06/1.48, allocations: 0 / 0.7711 GB, free: 50.77 MB / 410.7 MB Notification: Performance of Templates: time 0.08665/1.566, allocations: 56.17 MB / 0.8259 GB, free: 7.91 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe 2>&1)