Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.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_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001015/0.001015, allocations: 179.5 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.222/1.222, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001419/0.001419, allocations: 107.9 kB / 256.9 MB, free: 4.328 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003112, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08487/0.08519, allocations: 44.49 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2895/0.3748, allocations: 115 MB / 470.1 MB, free: 7.273 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.3751, allocations: 98.66 kB / 470.2 MB, free: 7.219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4082/0.7833, allocations: 101.5 MB / 0.5583 GB, free: 85.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.7833, allocations: 0 / 0.5583 GB, free: 85.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002884/0.7836, allocations: 104.9 kB / 0.5584 GB, free: 85.51 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: 1063 * Number of variables: 1063 Notification: Performance of Generate backend data structure: time 0.01261/0.7962, allocations: 4.659 MB / 0.5629 GB, free: 83.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.7963, allocations: 12.77 kB / 0.5629 GB, free: 83.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005394/0.8017, allocations: 0.9613 MB / 0.5639 GB, free: 82.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009977/0.8117, allocations: 3.95 MB / 0.5677 GB, free: 80.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003282/0.812, allocations: 475.8 kB / 0.5682 GB, free: 80.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/0.8132, allocations: 414.2 kB / 0.5686 GB, free: 80.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008788/0.822, allocations: 5.252 MB / 0.5737 GB, free: 78.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-05/0.8221, allocations: 3.5 kB / 0.5737 GB, free: 78.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003868/0.8225, allocations: 169.6 kB / 0.5739 GB, free: 77.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/0.8226, allocations: 172.2 kB / 0.574 GB, free: 77.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007087/0.8297, allocations: 4.286 MB / 0.5782 GB, free: 76.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02805/0.8578, allocations: 17.64 MB / 0.5955 GB, free: 65.67 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005558/0.8634, allocations: 8.256 MB / 0.6035 GB, free: 56.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007162/0.8706, allocations: 4.675 MB / 0.6081 GB, free: 52.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001575/0.8722, allocations: 1.304 MB / 0.6094 GB, free: 50.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=190): time 4.068e-06/0.8722, allocations: 0 / 0.6094 GB, free: 50.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=223): time 0.01708/0.8893, allocations: 9.365 MB / 0.6185 GB, free: 41.22 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.8894, allocations: 346.4 kB / 0.6188 GB, free: 40.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/0.8926, allocations: 2.129 MB / 0.6209 GB, free: 38.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001879/0.8928, allocations: 73.69 kB / 0.621 GB, free: 38.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.8943, allocations: 1.87 MB / 0.6228 GB, free: 36.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004854/0.8948, allocations: 0.7507 MB / 0.6235 GB, free: 35.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.8949, allocations: 48 kB / 0.6236 GB, free: 35.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.895, allocations: 411.2 kB / 0.624 GB, free: 35.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.8965, allocations: 1.137 MB / 0.6251 GB, free: 34.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.8983, allocations: 1.872 MB / 0.6269 GB, free: 32.19 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.9002, allocations: 1.408 MB / 0.6283 GB, free: 30.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/0.9002, allocations: 8 kB / 0.6283 GB, free: 30.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007078/0.9073, allocations: 4.215 MB / 0.6324 GB, free: 26.51 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00148/0.9088, allocations: 7.814 MB / 0.64 GB, free: 17.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/0.9088, allocations: 20 kB / 0.6401 GB, free: 17.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002348/0.9112, allocations: 1.059 MB / 0.6411 GB, free: 16.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.9128, allocations: 491.2 kB / 0.6416 GB, free: 16.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.9247, allocations: 15.05 MB / 0.6563 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002768/0.9275, allocations: 167.9 kB / 0.6564 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/0.9278, allocations: 108 kB / 0.6565 GB, free: 276 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.9278, allocations: 4 kB / 0.6565 GB, free: 272 kB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006428/0.9342, allocations: 3.923 MB / 0.6604 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.623e-05/0.9343, allocations: 20 kB / 0.6604 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002347/0.9367, allocations: 1.064 MB / 0.6614 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/0.9386, allocations: 479.2 kB / 0.6619 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2257/1.164, allocations: 15.03 MB / 0.6765 GB, free: 87.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00287/1.167, allocations: 161.1 kB / 0.6767 GB, free: 87.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002843/1.168, allocations: 104.4 kB / 0.6768 GB, free: 87.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.loadControl.pulsStart,loadControl.pulsStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 22,(3,100.0%) 26,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00276/1.17, allocations: 1.346 MB / 0.6781 GB, free: 86.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005983/1.171, allocations: 277.1 kB / 0.6784 GB, free: 86.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006166/1.177, allocations: 3.527 MB / 0.6818 GB, free: 86.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/1.177, allocations: 23.61 kB / 0.6818 GB, free: 86.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.177, allocations: 0.5 kB / 0.6818 GB, free: 86.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/1.177, allocations: 10.41 kB / 0.6819 GB, free: 86.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/1.192, allocations: 7.447 MB / 0.6891 GB, free: 86.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.192, allocations: 2.188 kB / 0.6891 GB, free: 86.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/1.194, allocations: 308.3 kB / 0.6894 GB, free: 86.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0028/1.196, allocations: 1.094 MB / 0.6905 GB, free: 86.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002161/1.197, allocations: 62.5 kB / 0.6905 GB, free: 86.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01438/1.211, allocations: 12.59 MB / 0.7028 GB, free: 80.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/1.211, allocations: 5.234 kB / 0.7028 GB, free: 80.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007291/1.218, allocations: 5.013 MB / 0.7077 GB, free: 78.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/1.22, allocations: 0.6112 MB / 0.7083 GB, free: 78.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004458/1.221, allocations: 68.55 kB / 0.7084 GB, free: 78.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.222, allocations: 125.6 kB / 0.7085 GB, free: 78.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005187/1.223, allocations: 246.5 kB / 0.7088 GB, free: 78.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/1.223, allocations: 63.91 kB / 0.7088 GB, free: 78.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002262/1.225, allocations: 1.631 MB / 0.7104 GB, free: 77.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.225, allocations: 3.625 kB / 0.7104 GB, free: 77.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005211/1.23, allocations: 1.536 MB / 0.7119 GB, free: 77.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,speed.phi,speed.w,voltageController.I.y,loadInductor.inductor[2].i,loadInductor.inductor[3].i) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulsStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 60,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007047/1.231, allocations: 416.7 kB / 0.7123 GB, free: 77.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009234/1.24, allocations: 6.782 MB / 0.7189 GB, free: 73.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.24, allocations: 1.125 kB / 0.7189 GB, free: 73.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003235/1.244, allocations: 2.261 MB / 0.7211 GB, free: 72.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003319/1.247, allocations: 0.616 MB / 0.7217 GB, free: 72.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/1.264, allocations: 9.388 MB / 0.7309 GB, free: 67.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003533/1.267, allocations: 2.905 MB / 0.7338 GB, free: 66.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003136/1.271, allocations: 0.6983 MB / 0.7344 GB, free: 66.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000502/1.271, allocations: 175.4 kB / 0.7346 GB, free: 66.1 MB / 410.7 MB Notification: Performance of SimCode: time 9.11e-07/1.271, allocations: 0 / 0.7346 GB, free: 66.1 MB / 410.7 MB Notification: Performance of Templates: time 0.08302/1.354, allocations: 52.51 MB / 0.7859 GB, free: 31.5 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe 2>&1)