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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001159/0.001159, allocations: 190.2 kB / 8.132 MB, free: 2.199 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.076/1.076, allocations: 194.2 MB / 202.8 MB, free: 8.738 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.001803/0.001803, allocations: 120.2 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.061e-06/6.101e-06, allocations: 0 / 297.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08036/0.08038, allocations: 44.48 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2459/0.3264, allocations: 114.2 MB / 456.3 MB, free: 13.65 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.3267, allocations: 79.7 kB / 456.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.4155/0.7422, allocations: 100.1 MB / 0.5434 GB, free: 75.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004353/0.7427, allocations: 104.3 kB / 0.5435 GB, free: 75.54 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.0143/0.757, allocations: 4.171 MB / 0.5476 GB, free: 73.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.7571, allocations: 7.281 kB / 0.5476 GB, free: 73.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006877/0.7639, allocations: 0.9664 MB / 0.5486 GB, free: 73.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/0.7761, allocations: 3.927 MB / 0.5524 GB, free: 72.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004358/0.7765, allocations: 352.6 kB / 0.5527 GB, free: 72.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001446/0.778, allocations: 242.1 kB / 0.553 GB, free: 72.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009636/0.7877, allocations: 3.972 MB / 0.5568 GB, free: 72.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.8003, allocations: 4.618 MB / 0.5614 GB, free: 70.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002153/0.8006, allocations: 12.91 kB / 0.5614 GB, free: 70.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00115/0.8018, allocations: 3.906 kB / 0.5614 GB, free: 70.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/0.8019, allocations: 166.5 kB / 0.5615 GB, free: 70.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03486/0.8368, allocations: 17.04 MB / 0.5782 GB, free: 61.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003077/0.8399, allocations: 1.545 MB / 0.5797 GB, free: 61.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00344/0.8434, allocations: 1.857 MB / 0.5815 GB, free: 60.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01232/0.8558, allocations: 5.688 MB / 0.5871 GB, free: 57.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002201/0.858, allocations: 1.338 MB / 0.5884 GB, free: 56.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=212): time 8.566e-06/0.858, allocations: 0 / 0.5884 GB, free: 56.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=245): time 0.019/0.877, allocations: 7.501 MB / 0.5957 GB, free: 53.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.8772, allocations: 343.3 kB / 0.596 GB, free: 53.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004298/0.8815, allocations: 1.8 MB / 0.5978 GB, free: 52.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003288/0.8819, allocations: 36.7 kB / 0.5978 GB, free: 52.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.8833, allocations: 1.489 MB / 0.5993 GB, free: 51.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008578/0.8842, allocations: 0.7869 MB / 0.6 GB, free: 50.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/0.8845, allocations: 0 / 0.6 GB, free: 50.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.8847, allocations: 419.5 kB / 0.6004 GB, free: 50.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/0.8866, allocations: 1.162 MB / 0.6016 GB, free: 49.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/0.889, allocations: 1.915 MB / 0.6034 GB, free: 48.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002737/0.8917, allocations: 1.517 MB / 0.6049 GB, free: 47.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/0.8918, allocations: 6.625 kB / 0.6049 GB, free: 47.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.007862/0.8996, allocations: 4.058 MB / 0.6089 GB, free: 46.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001446/0.9011, allocations: 8.064 MB / 0.6168 GB, free: 37.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.445e-05/0.9012, allocations: 18.53 kB / 0.6168 GB, free: 37.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003004/0.9042, allocations: 1.043 MB / 0.6178 GB, free: 37.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/0.9068, allocations: 0.5235 MB / 0.6183 GB, free: 37.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/0.9204, allocations: 13.2 MB / 0.6312 GB, free: 24.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003269/0.9237, allocations: 113.8 kB / 0.6313 GB, free: 24.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005423/0.9243, allocations: 116.6 kB / 0.6314 GB, free: 24.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.9243, allocations: 5.094 kB / 0.6314 GB, free: 24.27 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007619/0.9319, allocations: 3.755 MB / 0.6351 GB, free: 20.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.562e-05/0.932, allocations: 20.61 kB / 0.6351 GB, free: 20.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002731/0.9348, allocations: 1.029 MB / 0.6361 GB, free: 20.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00237/0.9372, allocations: 0.5132 MB / 0.6366 GB, free: 19.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/0.9498, allocations: 13.22 MB / 0.6495 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/0.9531, allocations: 104.2 kB / 0.6496 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005588/0.9537, allocations: 111.4 kB / 0.6497 GB, free: 6.496 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[3].v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[1].v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[2].v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * 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 (299): * Single equations (assignments): 292 * 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%) 23,(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.001077/0.9548, allocations: 208.3 kB / 0.6499 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008885/0.9557, allocations: 268.7 kB / 0.6502 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007573/0.9633, allocations: 3.517 MB / 0.6536 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.9633, allocations: 24 kB / 0.6536 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.9633, allocations: 3.938 kB / 0.6536 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.9634, allocations: 15.86 kB / 0.6537 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1398/1.103, allocations: 7.208 MB / 0.6607 GB, free: 105.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.103, allocations: 8.875 kB / 0.6607 GB, free: 105.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/1.105, allocations: 342.5 kB / 0.661 GB, free: 105.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002596/1.108, allocations: 1.043 MB / 0.6621 GB, free: 105.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001997/1.108, allocations: 30.91 kB / 0.6621 GB, free: 105.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/1.12, allocations: 10.88 MB / 0.6727 GB, free: 100.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.12, allocations: 3.375 kB / 0.6727 GB, free: 100.5 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008089/1.128, allocations: 5.207 MB / 0.6778 GB, free: 100 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/1.129, allocations: 0.6159 MB / 0.6784 GB, free: 99.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000503/1.13, allocations: 27.06 kB / 0.6784 GB, free: 99.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/1.132, allocations: 89.69 kB / 0.6785 GB, free: 99.95 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003285/1.132, allocations: 160.1 kB / 0.6787 GB, free: 99.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/1.132, allocations: 68.59 kB / 0.6787 GB, free: 99.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001939/1.134, allocations: 1.34 MB / 0.68 GB, free: 99.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00512/1.139, allocations: 1.334 MB / 0.6813 GB, free: 99.8 MB / 394.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 (185): * Single equations (assignments): 177 * 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 55,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006501/1.14, allocations: 407.2 kB / 0.6817 GB, free: 99.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009652/1.149, allocations: 6.492 MB / 0.6881 GB, free: 98.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.149, allocations: 3.219 kB / 0.6881 GB, free: 98.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003401/1.153, allocations: 2.059 MB / 0.6901 GB, free: 97.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/1.156, allocations: 459.4 kB / 0.6905 GB, free: 97.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/1.174, allocations: 6.623 MB / 0.697 GB, free: 96.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003583/1.178, allocations: 3.056 MB / 0.7 GB, free: 95.69 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/1.178, allocations: 0 / 0.7 GB, free: 95.69 MB / 394.7 MB Notification: Performance of Templates: time 0.09883/1.276, allocations: 60.4 MB / 0.7589 GB, free: 69.61 MB / 394.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)