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.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001473/0.001473, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.312/1.312, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001573/0.001573, allocations: 107.4 kB / 218 MB, free: 8.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.235e-05/2.239e-05, allocations: 4 kB / 262.2 MB, free: 26.37 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08145/0.08149, allocations: 38.77 MB / 301 MB, free: 3.613 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3559/0.4374, allocations: 121.5 MB / 422.5 MB, free: 11.94 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.4377, allocations: 83.58 kB / 422.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4881/0.9258, allocations: 122.6 MB / 0.5323 GB, free: 59.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.9258, allocations: 0 / 0.5323 GB, free: 59.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005108/0.9263, allocations: 139.8 kB / 0.5325 GB, free: 59.18 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1422 * Number of variables: 1422 Notification: Performance of Generate backend data structure: time 0.01566/0.942, allocations: 5.241 MB / 0.5376 GB, free: 53.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.9421, allocations: 12.03 kB / 0.5376 GB, free: 53.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004344/0.9464, allocations: 0.8866 MB / 0.5385 GB, free: 52.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008823/0.9553, allocations: 3.932 MB / 0.5423 GB, free: 49.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.9555, allocations: 187.9 kB / 0.5425 GB, free: 48.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001325/0.9568, allocations: 323.8 kB / 0.5428 GB, free: 48.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00899/0.9658, allocations: 4.802 MB / 0.5475 GB, free: 43.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.9762, allocations: 5.907 MB / 0.5533 GB, free: 37.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.9763, allocations: 7.906 kB / 0.5533 GB, free: 37.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004202/0.9768, allocations: 4 kB / 0.5533 GB, free: 37.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/0.9769, allocations: 238.7 kB / 0.5535 GB, free: 37.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03898/1.016, allocations: 21.45 MB / 0.5744 GB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004633/1.021, allocations: 4.227 MB / 0.5786 GB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002963/1.024, allocations: 1.903 MB / 0.5804 GB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004605/1.024, allocations: 151 kB / 0.5806 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.884e-05/1.024, allocations: 68.55 kB / 0.5806 GB, free: 8.809 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 6.102e-06/1.024, allocations: 4 kB / 0.5806 GB, free: 8.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=303): time 0.2572/1.281, allocations: 9.845 MB / 0.5903 GB, free: 53.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/1.281, allocations: 83.58 kB / 0.5903 GB, free: 53.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004838/1.286, allocations: 2.298 MB / 0.5926 GB, free: 52.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006707/1.287, allocations: 26.73 kB / 0.5926 GB, free: 52.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001894/1.289, allocations: 2.518 MB / 0.5951 GB, free: 52.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001185/1.29, allocations: 0.9941 MB / 0.596 GB, free: 51.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/1.29, allocations: 0 / 0.596 GB, free: 51.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001967/1.291, allocations: 455 kB / 0.5965 GB, free: 51.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/1.293, allocations: 1.435 MB / 0.5979 GB, free: 51.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002918/1.296, allocations: 2.484 MB / 0.6003 GB, free: 50.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003174/1.299, allocations: 1.905 MB / 0.6022 GB, free: 50.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.887e-05/1.299, allocations: 11.02 kB / 0.6022 GB, free: 50.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.008629/1.308, allocations: 5.039 MB / 0.6071 GB, free: 49.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/1.308, allocations: 21.25 kB / 0.6071 GB, free: 49.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-05/1.308, allocations: 43.42 kB / 0.6072 GB, free: 49.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002005/1.31, allocations: 0.9152 MB / 0.608 GB, free: 49.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003078/1.313, allocations: 0.8386 MB / 0.6089 GB, free: 49.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/1.323, allocations: 10.27 MB / 0.6189 GB, free: 45.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/1.327, allocations: 159.2 kB / 0.619 GB, free: 45.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005812/1.327, allocations: 157.8 kB / 0.6192 GB, free: 45.87 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 153 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 398 * 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,(4,93.8%) 19,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006156/1.328, allocations: 206.3 kB / 0.6194 GB, free: 45.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000913/1.329, allocations: 351.9 kB / 0.6197 GB, free: 45.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00748/1.336, allocations: 4.42 MB / 0.624 GB, free: 45.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.122e-05/1.336, allocations: 30.69 kB / 0.6241 GB, free: 45.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-05/1.336, allocations: 8.359 kB / 0.6241 GB, free: 45.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.872e-05/1.336, allocations: 18.38 kB / 0.6241 GB, free: 45.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/1.354, allocations: 10.09 MB / 0.634 GB, free: 42.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004692/1.358, allocations: 3.641 MB / 0.6375 GB, free: 41.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001967/1.36, allocations: 0.5028 MB / 0.638 GB, free: 41.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002306/1.363, allocations: 1.011 MB / 0.639 GB, free: 41.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002212/1.363, allocations: 31.28 kB / 0.639 GB, free: 41.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01224/1.375, allocations: 13.8 MB / 0.6525 GB, free: 31.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/1.375, allocations: 10.06 kB / 0.6525 GB, free: 31.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008892/1.384, allocations: 7.33 MB / 0.6597 GB, free: 27.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00186/1.386, allocations: 0.7306 MB / 0.6604 GB, free: 26.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006369/1.387, allocations: 21.95 kB / 0.6604 GB, free: 26.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/1.389, allocations: 144.5 kB / 0.6605 GB, free: 26.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004576/1.389, allocations: 230 kB / 0.6608 GB, free: 26.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/1.389, allocations: 89.89 kB / 0.6608 GB, free: 26.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002439/1.392, allocations: 1.697 MB / 0.6625 GB, free: 26.01 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.392, allocations: 2.344 kB / 0.6625 GB, free: 26.01 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004073/1.396, allocations: 0.9854 MB / 0.6635 GB, free: 26 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.port_n.Phi.re,smeeM.stator.port_n.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 (234): * Single equations (assignments): 226 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 19,(1,100.0%) 4,(1,100.0%) 8,(6,75.0%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007783/1.397, allocations: 446.9 kB / 0.6639 GB, free: 25.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00619/1.403, allocations: 4.583 MB / 0.6684 GB, free: 23.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.403, allocations: 0 / 0.6684 GB, free: 23.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004083/1.407, allocations: 2.968 MB / 0.6713 GB, free: 20.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003823/1.411, allocations: 0.606 MB / 0.6719 GB, free: 19.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/1.426, allocations: 8.363 MB / 0.68 GB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003188/1.429, allocations: 3.583 MB / 0.6835 GB, free: 9.664 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003391/1.432, allocations: 0.7353 MB / 0.6842 GB, free: 9.164 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006874/1.433, allocations: 221.9 kB / 0.6844 GB, free: 8.957 MB / 346.7 MB Notification: Performance of SimCode: time 6.71e-07/1.433, allocations: 0 / 0.6844 GB, free: 8.957 MB / 346.7 MB Notification: Performance of Templates: time 0.07894/1.512, allocations: 44.57 MB / 0.728 GB, free: 5.332 MB / 378.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe 2>&1)