Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.001835/0.001835, allocations: 191.2 kB / 8.135 MB, free: 2.047 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.398/1.398, allocations: 194.2 MB / 202.8 MB, free: 8.535 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.001719/0.001719, allocations: 124.4 kB / 247.8 MB, free: 6.27 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.003e-06, allocations: 0 / 297.6 MB, free: 7.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0725/0.07253, allocations: 44.49 MB / 342.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2305/0.3031, allocations: 109.7 MB / 451.8 MB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.3034, allocations: 89.77 kB / 451.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1725/0.4759, allocations: 61.18 MB / 0.5011 GB, free: 11.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002031/0.4762, allocations: 79.92 kB / 0.5011 GB, free: 11.36 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: 724 * Number of variables: 724 Notification: Performance of Generate backend data structure: time 0.006494/0.4827, allocations: 2.989 MB / 0.504 GB, free: 8.312 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4827, allocations: 15.97 kB / 0.5041 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.4847, allocations: 479.5 kB / 0.5045 GB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004649/0.4894, allocations: 2.068 MB / 0.5065 GB, free: 5.699 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.4896, allocations: 287.8 kB / 0.5068 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004772/0.4901, allocations: 167.9 kB / 0.507 GB, free: 5.215 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005247/0.4954, allocations: 2.713 MB / 0.5096 GB, free: 2.496 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1525/0.6479, allocations: 3.2 MB / 0.5127 GB, free: 57.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.406e-05/0.648, allocations: 5.594 kB / 0.5128 GB, free: 57.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003016/0.6483, allocations: 3.625 kB / 0.5128 GB, free: 57.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.6485, allocations: 120.9 kB / 0.5129 GB, free: 57.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01713/0.6656, allocations: 11.28 MB / 0.5239 GB, free: 55.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.6673, allocations: 1.208 MB / 0.5251 GB, free: 55.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.6688, allocations: 1.228 MB / 0.5263 GB, free: 55.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000305/0.6691, allocations: 136.8 kB / 0.5264 GB, free: 55.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001277/0.6704, allocations: 1.088 MB / 0.5275 GB, free: 55.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=155): time 3.577e-06/0.6705, allocations: 3.625 kB / 0.5275 GB, free: 55.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=179): time 0.0123/0.6828, allocations: 6.459 MB / 0.5338 GB, free: 54.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.6829, allocations: 313.5 kB / 0.5341 GB, free: 53.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/0.6853, allocations: 1.552 MB / 0.5356 GB, free: 53.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002476/0.6856, allocations: 37.2 kB / 0.5356 GB, free: 53.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007314/0.6863, allocations: 1.056 MB / 0.5366 GB, free: 53.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004533/0.6868, allocations: 0.5722 MB / 0.5372 GB, free: 52.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.6869, allocations: 2.438 kB / 0.5372 GB, free: 52.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.687, allocations: 388.4 kB / 0.5376 GB, free: 52.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.6883, allocations: 0.9992 MB / 0.5386 GB, free: 52.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.6898, allocations: 1.515 MB / 0.54 GB, free: 51.99 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.6912, allocations: 1.21 MB / 0.5412 GB, free: 51.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.6913, allocations: 3.938 kB / 0.5412 GB, free: 51.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005075/0.6963, allocations: 3.425 MB / 0.5446 GB, free: 51.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007709/0.6971, allocations: 5.147 MB / 0.5496 GB, free: 46.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.6972, allocations: 11.12 kB / 0.5496 GB, free: 46.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002914/0.7001, allocations: 1.185 MB / 0.5508 GB, free: 46.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.7016, allocations: 371.1 kB / 0.5511 GB, free: 46.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/0.7134, allocations: 13.22 MB / 0.564 GB, free: 38.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/0.7156, allocations: 117.5 kB / 0.5641 GB, free: 38.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/0.7159, allocations: 80.17 kB / 0.5642 GB, free: 38.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.7159, allocations: 7.094 kB / 0.5642 GB, free: 38.83 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004685/0.7206, allocations: 3.168 MB / 0.5673 GB, free: 37.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.7206, allocations: 11.44 kB / 0.5673 GB, free: 37.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00269/0.7233, allocations: 1.174 MB / 0.5685 GB, free: 37.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.7247, allocations: 364.2 kB / 0.5688 GB, free: 37.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/0.7362, allocations: 13.2 MB / 0.5817 GB, free: 28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/0.7385, allocations: 107.8 kB / 0.5818 GB, free: 28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/0.7387, allocations: 80.33 kB / 0.5819 GB, free: 27.98 MB / 394.7 MB 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[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[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: 57 * 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 (209): * Single equations (assignments): 202 * 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%) 16,(3,100.0%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005158/0.7392, allocations: 188.6 kB / 0.5821 GB, free: 27.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004018/0.7396, allocations: 218.8 kB / 0.5823 GB, free: 27.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005591/0.7452, allocations: 3.266 MB / 0.5855 GB, free: 26.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.7453, allocations: 21.81 kB / 0.5855 GB, free: 26.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.7453, allocations: 0 / 0.5855 GB, free: 26.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/0.7453, allocations: 11.06 kB / 0.5855 GB, free: 26.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.7556, allocations: 6.129 MB / 0.5915 GB, free: 24.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-06/0.7556, allocations: 3.469 kB / 0.5915 GB, free: 24.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009614/0.7566, allocations: 204.1 kB / 0.5917 GB, free: 24.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003768/0.7603, allocations: 1.386 MB / 0.593 GB, free: 23.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001828/0.7606, allocations: 26.55 kB / 0.5931 GB, free: 23.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01491/0.7755, allocations: 13.56 MB / 0.6063 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.7755, allocations: 9.562 kB / 0.6063 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007351/0.7829, allocations: 4.825 MB / 0.611 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/0.7842, allocations: 0.5125 MB / 0.6115 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004522/0.7847, allocations: 24.58 kB / 0.6116 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/0.7862, allocations: 96.31 kB / 0.6116 GB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/0.7865, allocations: 136.7 kB / 0.6118 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/0.7867, allocations: 50.34 kB / 0.6118 GB, free: 12.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001726/0.7884, allocations: 1.17 MB / 0.613 GB, free: 11.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003555/0.792, allocations: 1.079 MB / 0.614 GB, free: 11.97 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y) * 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 (116): * Single equations (assignments): 107 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 4 {7 51,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005016/0.7925, allocations: 340.1 kB / 0.6143 GB, free: 11.83 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008309/0.8008, allocations: 5.762 MB / 0.62 GB, free: 8.906 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.8009, allocations: 0 / 0.62 GB, free: 8.906 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003323/0.8042, allocations: 2.142 MB / 0.6221 GB, free: 7.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.8065, allocations: 391.6 kB / 0.6224 GB, free: 7.758 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.8169, allocations: 5.153 MB / 0.6275 GB, free: 5.727 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002062/0.819, allocations: 2.392 MB / 0.6298 GB, free: 4.73 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.819, allocations: 0 / 0.6298 GB, free: 4.73 MB / 394.7 MB Notification: Performance of Templates: time 0.22/1.039, allocations: 49.32 MB / 0.678 GB, free: 66.75 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe 2>&1)