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.001249/0.001249, allocations: 179 kB / 16.38 MB, free: 5.762 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.212/1.212, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001579/0.001579, allocations: 112.9 kB / 256.9 MB, free: 4.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002954, allocations: 12 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07979/0.08009, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.301/0.3811, allocations: 130.3 MB / 485.4 MB, free: 8.309 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.3814, allocations: 89.45 kB / 485.5 MB, free: 8.262 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4676/0.849, allocations: 130.4 MB / 0.6015 GB, free: 63.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.8491, allocations: 0 / 0.6015 GB, free: 63.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004795/0.8496, allocations: 147.8 kB / 0.6016 GB, free: 63.07 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.01671/0.8663, allocations: 6.008 MB / 0.6075 GB, free: 56.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.8664, allocations: 8.031 kB / 0.6075 GB, free: 56.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00628/0.8726, allocations: 1.148 MB / 0.6086 GB, free: 55.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01192/0.8846, allocations: 4.914 MB / 0.6134 GB, free: 50.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002573/0.8849, allocations: 427.3 kB / 0.6138 GB, free: 50.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/0.8861, allocations: 0.5583 MB / 0.6144 GB, free: 49.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/0.8984, allocations: 7.168 MB / 0.6214 GB, free: 42.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.8986, allocations: 11.84 kB / 0.6214 GB, free: 42.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000493/0.8991, allocations: 244 kB / 0.6216 GB, free: 42.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/0.8993, allocations: 247.2 kB / 0.6218 GB, free: 42.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009033/0.9083, allocations: 5.791 MB / 0.6275 GB, free: 36.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03342/0.9418, allocations: 23.75 MB / 0.6507 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006145/0.9479, allocations: 8.719 MB / 0.6592 GB, free: 2.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2346/1.183, allocations: 6.747 MB / 0.6658 GB, free: 61.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/1.183, allocations: 64.38 kB / 0.6659 GB, free: 61.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=250): time 4.078e-06/1.183, allocations: 0 / 0.6659 GB, free: 61.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=302): time 0.03582/1.219, allocations: 16.42 MB / 0.6819 GB, free: 58.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/1.219, allocations: 84.47 kB / 0.682 GB, free: 58.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004831/1.223, allocations: 2.944 MB / 0.6849 GB, free: 58.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002807/1.224, allocations: 76.39 kB / 0.6849 GB, free: 58.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001896/1.226, allocations: 2.642 MB / 0.6875 GB, free: 57.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000901/1.227, allocations: 1.027 MB / 0.6885 GB, free: 56.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/1.227, allocations: 73.47 kB / 0.6886 GB, free: 56.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002489/1.227, allocations: 455 kB / 0.689 GB, free: 56.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003198/1.23, allocations: 1.627 MB / 0.6906 GB, free: 56.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003662/1.234, allocations: 2.793 MB / 0.6933 GB, free: 55.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003424/1.237, allocations: 2.101 MB / 0.6954 GB, free: 55.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.28e-05/1.237, allocations: 10.31 kB / 0.6954 GB, free: 55.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.009617/1.247, allocations: 5.732 MB / 0.701 GB, free: 54.74 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/1.247, allocations: 18.78 kB / 0.701 GB, free: 54.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.772e-05/1.247, allocations: 43.31 kB / 0.701 GB, free: 54.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/1.249, allocations: 0.8674 MB / 0.7019 GB, free: 54.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/1.252, allocations: 0.887 MB / 0.7028 GB, free: 54.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/1.263, allocations: 10.04 MB / 0.7126 GB, free: 50.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004136/1.267, allocations: 237.9 kB / 0.7128 GB, free: 50.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003995/1.267, allocations: 165 kB / 0.713 GB, free: 50.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * 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 (431): * Single equations (assignments): 422 * 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.003317/1.271, allocations: 1.625 MB / 0.7145 GB, free: 49.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008855/1.271, allocations: 397.5 kB / 0.7149 GB, free: 49.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007537/1.279, allocations: 4.886 MB / 0.7197 GB, free: 46.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-05/1.279, allocations: 33.03 kB / 0.7197 GB, free: 46.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.953e-05/1.279, allocations: 12.31 kB / 0.7197 GB, free: 46.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001037/1.279, allocations: 13.88 kB / 0.7197 GB, free: 46.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/1.296, allocations: 10.56 MB / 0.7301 GB, free: 42.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005416/1.302, allocations: 4.119 MB / 0.7341 GB, free: 40.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/1.304, allocations: 0.5179 MB / 0.7346 GB, free: 40.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002215/1.306, allocations: 0.9868 MB / 0.7355 GB, free: 40.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/1.306, allocations: 73.61 kB / 0.7356 GB, free: 40.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/1.318, allocations: 15.11 MB / 0.7504 GB, free: 28.67 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.318, allocations: 9.453 kB / 0.7504 GB, free: 28.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009888/1.328, allocations: 7.659 MB / 0.7579 GB, free: 21.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002339/1.33, allocations: 0.794 MB / 0.7586 GB, free: 20.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000458/1.331, allocations: 67.42 kB / 0.7587 GB, free: 20.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/1.333, allocations: 192.5 kB / 0.7589 GB, free: 20.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004747/1.333, allocations: 224.1 kB / 0.7591 GB, free: 20.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/1.333, allocations: 90.33 kB / 0.7592 GB, free: 20.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003058/1.336, allocations: 2.234 MB / 0.7614 GB, free: 18.51 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.336, allocations: 0 / 0.7614 GB, free: 18.51 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004048/1.341, allocations: 1.207 MB / 0.7625 GB, free: 17.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 232 * 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,72.2%) 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.0008332/1.341, allocations: 0.4998 MB / 0.763 GB, free: 16.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007148/1.349, allocations: 5.007 MB / 0.7679 GB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.349, allocations: 1.875 kB / 0.7679 GB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004103/1.353, allocations: 3.155 MB / 0.771 GB, free: 9.527 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004262/1.357, allocations: 0.8266 MB / 0.7718 GB, free: 8.875 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02019/1.377, allocations: 12.62 MB / 0.7841 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003582/1.381, allocations: 3.614 MB / 0.7877 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003488/1.384, allocations: 0.8471 MB / 0.7885 GB, free: 9.922 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007108/1.385, allocations: 258.1 kB / 0.7887 GB, free: 9.68 MB / 410.7 MB Notification: Performance of SimCode: time 2.315e-06/1.385, allocations: 0 / 0.7887 GB, free: 9.68 MB / 410.7 MB Notification: Performance of Templates: time 0.2876/1.673, allocations: 55.85 MB / 0.8433 GB, free: 71.05 MB / 426.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)