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.001755/0.001755, allocations: 182.5 kB / 8.349 MB, free: 0.7031 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.487/1.487, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001631/0.001631, allocations: 118.1 kB / 248.1 MB, free: 6.367 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.034e-05/2.042e-05, allocations: 7.984 kB / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08627/0.08631, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3141/0.4004, allocations: 116.2 MB / 458.8 MB, free: 12.37 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.4007, allocations: 88.56 kB / 458.9 MB, free: 12.32 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7994/1.2, allocations: 190.4 MB / 0.6341 GB, free: 28.71 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.395e-06/1.2, allocations: 0 / 0.6341 GB, free: 28.71 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0008287/1.201, allocations: 198.9 kB / 0.6343 GB, free: 28.52 MB / 395.1 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.03431/1.235, allocations: 7.882 MB / 0.642 GB, free: 20.56 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/1.235, allocations: 8.75 kB / 0.642 GB, free: 20.55 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01923/1.255, allocations: 1.905 MB / 0.6438 GB, free: 18.63 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02545/1.28, allocations: 7.046 MB / 0.6507 GB, free: 11.62 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005733/1.281, allocations: 280 kB / 0.651 GB, free: 11.35 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003144/1.284, allocations: 0.4998 MB / 0.6515 GB, free: 10.85 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02599/1.31, allocations: 8.193 MB / 0.6595 GB, free: 2.648 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4663/1.776, allocations: 9.633 MB / 0.6689 GB, free: 28.15 MB / 395.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002229/1.777, allocations: 8.531 kB / 0.6689 GB, free: 28.15 MB / 395.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001035/1.778, allocations: 8.656 kB / 0.6689 GB, free: 28.15 MB / 395.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002472/1.778, allocations: 368.9 kB / 0.6693 GB, free: 28.13 MB / 395.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05956/1.837, allocations: 34.33 MB / 0.7028 GB, free: 21.77 MB / 395.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01522/1.853, allocations: 16.56 MB / 0.719 GB, free: 25.34 MB / 411.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005281/1.858, allocations: 3.215 MB / 0.7221 GB, free: 25.29 MB / 411.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01837/1.876, allocations: 9.253 MB / 0.7311 GB, free: 22.94 MB / 411.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/1.876, allocations: 66.75 kB / 0.7312 GB, free: 22.88 MB / 411.2 MB Notification: Performance of pre-optimization done (n=295): time 4.869e-06/1.876, allocations: 0 / 0.7312 GB, free: 22.88 MB / 411.2 MB Notification: Performance of matching and sorting (n=347): time 0.02364/1.9, allocations: 12.08 MB / 0.743 GB, free: 17.8 MB / 411.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/1.9, allocations: 88.78 kB / 0.7431 GB, free: 17.73 MB / 411.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00483/1.905, allocations: 3.146 MB / 0.7461 GB, free: 16.47 MB / 411.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0006052/1.906, allocations: 25.7 kB / 0.7462 GB, free: 16.44 MB / 411.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.00205/1.908, allocations: 3.896 MB / 0.75 GB, free: 13.49 MB / 411.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009851/1.909, allocations: 1.133 MB / 0.7511 GB, free: 12.6 MB / 411.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/1.909, allocations: 0 / 0.7511 GB, free: 12.6 MB / 411.2 MB Notification: Performance of setup shared object (initialization): time 0.0002373/1.909, allocations: 485.4 kB / 0.7515 GB, free: 12.21 MB / 411.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/1.911, allocations: 1.627 MB / 0.7531 GB, free: 11.5 MB / 411.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003077/1.914, allocations: 3.044 MB / 0.7561 GB, free: 8.988 MB / 411.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004054/1.919, allocations: 2.54 MB / 0.7586 GB, free: 8.035 MB / 411.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-05/1.919, allocations: 14.25 kB / 0.7586 GB, free: 8.035 MB / 411.2 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01014/1.929, allocations: 5.928 MB / 0.7644 GB, free: 5.867 MB / 411.2 MB Notification: Performance of prepare postOptimizeDAE: time 5.948e-05/1.929, allocations: 25.8 kB / 0.7644 GB, free: 5.867 MB / 411.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.442e-05/1.929, allocations: 49 kB / 0.7645 GB, free: 5.867 MB / 411.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/1.931, allocations: 0.7034 MB / 0.7651 GB, free: 5.629 MB / 411.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003839/1.935, allocations: 1.049 MB / 0.7662 GB, free: 5.59 MB / 411.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009589/1.944, allocations: 9.658 MB / 0.7756 GB, free: 14.09 MB / 427.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004284/1.949, allocations: 163.3 kB / 0.7758 GB, free: 14.07 MB / 427.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000788/1.949, allocations: 203.6 kB / 0.776 GB, free: 14.04 MB / 427.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (520): * Single equations (assignments): 512 * 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,(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009041/1.95, allocations: 231.6 kB / 0.7762 GB, free: 13.89 MB / 427.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.952, allocations: 438.7 kB / 0.7766 GB, free: 13.66 MB / 427.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009483/1.961, allocations: 5.003 MB / 0.7815 GB, free: 11.54 MB / 427.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/1.961, allocations: 33.97 kB / 0.7815 GB, free: 11.54 MB / 427.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/1.961, allocations: 16.34 kB / 0.7815 GB, free: 11.54 MB / 427.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-05/1.961, allocations: 16.97 kB / 0.7815 GB, free: 11.54 MB / 427.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02013/1.981, allocations: 11.24 MB / 0.7925 GB, free: 6.617 MB / 427.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-05/1.981, allocations: 9.469 kB / 0.7925 GB, free: 6.617 MB / 427.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00261/1.984, allocations: 0.596 MB / 0.7931 GB, free: 6.598 MB / 427.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002082/1.986, allocations: 0.8861 MB / 0.794 GB, free: 6.301 MB / 427.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/1.986, allocations: 36.03 kB / 0.794 GB, free: 6.293 MB / 427.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/2.001, allocations: 13.52 MB / 0.8072 GB, free: 12.19 MB / 443.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/2.001, allocations: 9.25 kB / 0.8072 GB, free: 12.19 MB / 443.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/2.013, allocations: 7.911 MB / 0.8149 GB, free: 4.766 MB / 443.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002288/2.015, allocations: 0.894 MB / 0.8158 GB, free: 3.941 MB / 443.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006416/2.016, allocations: 20 kB / 0.8158 GB, free: 3.922 MB / 443.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002305/2.018, allocations: 156.2 kB / 0.816 GB, free: 3.812 MB / 443.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005212/2.018, allocations: 262.1 kB / 0.8162 GB, free: 3.652 MB / 443.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002273/2.019, allocations: 98.8 kB / 0.8163 GB, free: 3.562 MB / 443.2 MB Notification: Performance of sorting global known variables: time 0.003713/2.022, allocations: 2.318 MB / 0.8186 GB, free: 1.484 MB / 443.2 MB Notification: Performance of sort global known variables: time 2e-07/2.022, allocations: 0 / 0.8186 GB, free: 1.484 MB / 443.2 MB Notification: Performance of remove unused functions: time 0.00613/2.029, allocations: 1.324 MB / 0.8199 GB, free: 180 kB / 443.2 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 263 * 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.218/2.247, allocations: 0.5467 MB / 0.8204 GB, free: 74.09 MB / 443.2 MB Notification: Performance of simCode: created initialization part: time 0.007183/2.254, allocations: 4.973 MB / 0.8253 GB, free: 73.33 MB / 443.2 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/2.254, allocations: 3.094 kB / 0.8253 GB, free: 73.33 MB / 443.2 MB Notification: Performance of simCode: created simulation system equations: time 0.004081/2.258, allocations: 3.11 MB / 0.8283 GB, free: 72.68 MB / 443.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004495/2.262, allocations: 0.7567 MB / 0.8291 GB, free: 72.66 MB / 443.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02408/2.287, allocations: 11.81 MB / 0.8406 GB, free: 70.04 MB / 443.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00685/2.293, allocations: 5.198 MB / 0.8457 GB, free: 69.13 MB / 443.2 MB Notification: Performance of simCode: alias equations: time 0.004702/2.298, allocations: 0.9934 MB / 0.8466 GB, free: 69 MB / 443.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/2.299, allocations: 286 kB / 0.8469 GB, free: 69 MB / 443.2 MB Notification: Performance of SimCode: time 8.32e-07/2.299, allocations: 0 / 0.8469 GB, free: 69 MB / 443.2 MB Notification: Performance of Templates: time 0.09209/2.391, allocations: 52.78 MB / 0.8985 GB, free: 65.87 MB / 443.2 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)