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.001538/0.001538, allocations: 182.4 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.526/1.526, 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.001608/0.001608, allocations: 116.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.876e-05, allocations: 4 kB / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07981/0.07985, allocations: 44.49 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3444/0.4243, allocations: 114.9 MB / 464.4 MB, free: 13.15 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.4245, allocations: 84.02 kB / 464.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4499/0.8744, allocations: 101.5 MB / 0.5527 GB, free: 71.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.8745, allocations: 3.844 kB / 0.5527 GB, free: 71.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002761/0.8748, allocations: 95.03 kB / 0.5528 GB, free: 71.62 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.01005/0.8848, allocations: 4.165 MB / 0.5569 GB, free: 70.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.8849, allocations: 11.44 kB / 0.5569 GB, free: 70.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005194/0.8901, allocations: 0.9546 MB / 0.5578 GB, free: 69.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008883/0.899, allocations: 3.913 MB / 0.5616 GB, free: 69.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/0.8993, allocations: 482.8 kB / 0.5621 GB, free: 68.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007425/0.9, allocations: 406.7 kB / 0.5625 GB, free: 68.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008323/0.9084, allocations: 5.151 MB / 0.5675 GB, free: 68.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.785e-05/0.9085, allocations: 3.219 kB / 0.5675 GB, free: 68.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004057/0.9089, allocations: 177.3 kB / 0.5677 GB, free: 68.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/0.909, allocations: 168.7 kB / 0.5679 GB, free: 68.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006614/0.9156, allocations: 4.146 MB / 0.5719 GB, free: 68.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02574/0.9414, allocations: 17.71 MB / 0.5892 GB, free: 62.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005648/0.9471, allocations: 8.106 MB / 0.5971 GB, free: 55.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002628/0.9498, allocations: 1.804 MB / 0.5989 GB, free: 54.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009733/0.9595, allocations: 5.378 MB / 0.6041 GB, free: 51.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001936/0.9615, allocations: 1.181 MB / 0.6053 GB, free: 51.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=173): time 4.418e-06/0.9615, allocations: 0 / 0.6053 GB, free: 51.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=205): time 0.01629/0.9778, allocations: 6.846 MB / 0.612 GB, free: 48.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.978, allocations: 346.3 kB / 0.6123 GB, free: 47.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004289/0.9823, allocations: 2.121 MB / 0.6144 GB, free: 46.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003607/0.9826, allocations: 68.61 kB / 0.6144 GB, free: 46.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001776/0.9844, allocations: 1.906 MB / 0.6163 GB, free: 45.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007648/0.9852, allocations: 0.6853 MB / 0.617 GB, free: 44.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.9854, allocations: 50.41 kB / 0.617 GB, free: 44.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.9856, allocations: 403.7 kB / 0.6174 GB, free: 44.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002248/0.9878, allocations: 1.023 MB / 0.6184 GB, free: 44.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002971/0.9908, allocations: 1.779 MB / 0.6201 GB, free: 42.72 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/0.9934, allocations: 1.301 MB / 0.6214 GB, free: 42.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/0.9934, allocations: 7.719 kB / 0.6214 GB, free: 42.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005887/0.9993, allocations: 3.844 MB / 0.6252 GB, free: 40.69 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001472/1.001, allocations: 8.279 MB / 0.6333 GB, free: 31.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.208e-05/1.001, allocations: 24.16 kB / 0.6333 GB, free: 31.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003049/1.004, allocations: 1.01 MB / 0.6343 GB, free: 30.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/1.006, allocations: 471.7 kB / 0.6347 GB, free: 30.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/1.017, allocations: 14.13 MB / 0.6485 GB, free: 16.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/1.02, allocations: 169.6 kB / 0.6487 GB, free: 16.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/1.02, allocations: 107.5 kB / 0.6488 GB, free: 16.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/1.02, allocations: 5.875 kB / 0.6488 GB, free: 16.46 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004683/1.025, allocations: 3.578 MB / 0.6523 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/1.025, allocations: 20 kB / 0.6523 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/1.027, allocations: 0.9982 MB / 0.6533 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/1.028, allocations: 462.8 kB / 0.6537 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/1.04, allocations: 14.14 MB / 0.6675 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/1.042, allocations: 162 kB / 0.6677 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002358/1.043, allocations: 103.8 kB / 0.6678 GB, free: 14.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 254 * 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%) 21,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005437/1.043, allocations: 271.8 kB / 0.668 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004487/1.044, allocations: 276 kB / 0.6683 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005871/1.05, allocations: 3.194 MB / 0.6714 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/1.05, allocations: 21.69 kB / 0.6714 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.05, allocations: 0 / 0.6714 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/1.05, allocations: 6.938 kB / 0.6714 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/1.061, allocations: 6.969 MB / 0.6782 GB, free: 5.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.061, allocations: 0 / 0.6782 GB, free: 5.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/1.062, allocations: 284.6 kB / 0.6785 GB, free: 4.781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002517/1.065, allocations: 1.023 MB / 0.6795 GB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/1.065, allocations: 62.34 kB / 0.6796 GB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2502/1.315, allocations: 11.51 MB / 0.6908 GB, free: 74.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.315, allocations: 6.688 kB / 0.6908 GB, free: 74.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008169/1.323, allocations: 4.593 MB / 0.6953 GB, free: 74.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002009/1.326, allocations: 0.5866 MB / 0.6959 GB, free: 74.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005832/1.326, allocations: 64.03 kB / 0.6959 GB, free: 74.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/1.328, allocations: 125.8 kB / 0.6961 GB, free: 74.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005695/1.328, allocations: 241.9 kB / 0.6963 GB, free: 74.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.328, allocations: 58.31 kB / 0.6963 GB, free: 74.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002714/1.331, allocations: 1.616 MB / 0.6979 GB, free: 73.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.331, allocations: 0 / 0.6979 GB, free: 73.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005184/1.336, allocations: 1.502 MB / 0.6994 GB, free: 73.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.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[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 138 * 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 {4 54,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007462/1.337, allocations: 469.4 kB / 0.6998 GB, free: 73.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008097/1.345, allocations: 6.382 MB / 0.7061 GB, free: 72.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.345, allocations: 3.938 kB / 0.7061 GB, free: 72.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003063/1.348, allocations: 2.101 MB / 0.7081 GB, free: 71.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003192/1.352, allocations: 0.616 MB / 0.7087 GB, free: 71.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/1.364, allocations: 6.396 MB / 0.715 GB, free: 70.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00233/1.366, allocations: 2.896 MB / 0.7178 GB, free: 69.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003658/1.37, allocations: 1.046 MB / 0.7188 GB, free: 69.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/1.371, allocations: 136.7 kB / 0.719 GB, free: 69.53 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/1.371, allocations: 0 / 0.719 GB, free: 69.53 MB / 410.7 MB Notification: Performance of Templates: time 0.08005/1.451, allocations: 55.15 MB / 0.7728 GB, free: 50.88 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)