Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.003959/0.003959, allocations: 176.3 kB / 7.452 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.28/1.28, allocations: 170.6 MB / 178.4 MB, free: 15.41 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002097/0.002096, allocations: 116.5 kB / 217.7 MB, free: 8.176 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.514e-06/7.524e-06, allocations: 0 / 261.7 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09938/0.09941, allocations: 38.76 MB / 300.5 MB, free: 3.914 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3591/0.4585, allocations: 104.3 MB / 404.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.4589, allocations: 84.52 kB / 404.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 0.1816/0.6405, allocations: 60.76 MB / 465.7 MB, free: 5.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005087/0.641, allocations: 79.94 kB / 465.7 MB, free: 5.43 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 727 * Number of variables: 727 Notification: Performance of Generate backend data structure: time 0.01194/0.653, allocations: 2.994 MB / 468.7 MB, free: 2.363 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.404e-05/0.6531, allocations: 8.031 kB / 468.7 MB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003647/0.6567, allocations: 483.5 kB / 469.2 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1932/0.85, allocations: 2.006 MB / 471.2 MB, free: 112.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003792/0.8504, allocations: 284.8 kB / 471.5 MB, free: 112.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001243/0.8517, allocations: 172.1 kB / 471.7 MB, free: 112.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005672/0.8573, allocations: 2.713 MB / 474.4 MB, free: 112.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005238/0.8626, allocations: 3.226 MB / 477.6 MB, free: 111.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.487e-05/0.8627, allocations: 10.84 kB / 477.6 MB, free: 111.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002394/0.863, allocations: 7.297 kB / 477.6 MB, free: 111.9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.8631, allocations: 114.2 kB / 477.7 MB, free: 111.9 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01955/0.8826, allocations: 11.3 MB / 489 MB, free: 109.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.8845, allocations: 1.201 MB / 490.2 MB, free: 109.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.8861, allocations: 1.229 MB / 491.5 MB, free: 109.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/0.8865, allocations: 150.2 kB / 491.6 MB, free: 109.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/0.8879, allocations: 1.079 MB / 492.7 MB, free: 109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=155): time 3.637e-06/0.8879, allocations: 0 / 492.7 MB, free: 109 MB / 346.7 MB Notification: Performance of matching and sorting (n=179): time 0.01332/0.9012, allocations: 6.462 MB / 499.2 MB, free: 108.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.9014, allocations: 339 kB / 499.5 MB, free: 107.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/0.9041, allocations: 1.493 MB / 0.4892 GB, free: 107.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002333/0.9043, allocations: 33.48 kB / 0.4893 GB, free: 107.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009566/0.9053, allocations: 1.056 MB / 0.4903 GB, free: 107.1 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004944/0.9058, allocations: 0.5821 MB / 0.4909 GB, free: 106.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.9059, allocations: 0 / 0.4909 GB, free: 106.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.906, allocations: 389.2 kB / 0.4912 GB, free: 106.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.9074, allocations: 0.9994 MB / 0.4922 GB, free: 106.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.909, allocations: 1.521 MB / 0.4937 GB, free: 105.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.9107, allocations: 1.209 MB / 0.4949 GB, free: 105.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.9107, allocations: 3.375 kB / 0.4949 GB, free: 105.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.006148/0.9168, allocations: 3.477 MB / 0.4983 GB, free: 103.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.9169, allocations: 3.906 kB / 0.4983 GB, free: 103.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/0.9169, allocations: 15.92 kB / 0.4983 GB, free: 103.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003178/0.9201, allocations: 1.177 MB / 0.4995 GB, free: 103.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.9219, allocations: 375.4 kB / 0.4998 GB, free: 103.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/0.9363, allocations: 13.2 MB / 0.5127 GB, free: 94.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/0.9395, allocations: 114.1 kB / 0.5128 GB, free: 94.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006646/0.9402, allocations: 85.11 kB / 0.5129 GB, free: 93.99 MB / 346.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[2].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] 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].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched) * 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.001136/0.9414, allocations: 180.3 kB / 0.5131 GB, free: 93.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/0.9425, allocations: 217.6 kB / 0.5133 GB, free: 93.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007278/0.9497, allocations: 3.271 MB / 0.5165 GB, free: 92.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.9498, allocations: 16.16 kB / 0.5165 GB, free: 92.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.9498, allocations: 3.719 kB / 0.5165 GB, free: 92.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.9499, allocations: 10.78 kB / 0.5165 GB, free: 92.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/0.9643, allocations: 6.137 MB / 0.5225 GB, free: 89.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.9643, allocations: 0 / 0.5225 GB, free: 89.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009646/0.9653, allocations: 202.5 kB / 0.5227 GB, free: 88.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003737/0.9691, allocations: 1.383 MB / 0.524 GB, free: 87.83 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/0.9693, allocations: 32.42 kB / 0.5241 GB, free: 87.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/0.9844, allocations: 13.55 MB / 0.5373 GB, free: 75.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/0.9844, allocations: 5.219 kB / 0.5373 GB, free: 75.08 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007955/0.9924, allocations: 4.842 MB / 0.542 GB, free: 70.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00236/0.9949, allocations: 0.5001 MB / 0.5425 GB, free: 70.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/0.9962, allocations: 22.61 kB / 0.5425 GB, free: 70.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002457/0.9987, allocations: 109.8 kB / 0.5426 GB, free: 70.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004065/0.9991, allocations: 130.1 kB / 0.5428 GB, free: 70.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/0.9993, allocations: 56.62 kB / 0.5428 GB, free: 70.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.003025/1.002, allocations: 1.122 MB / 0.5439 GB, free: 69.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003825/1.006, allocations: 0.6215 MB / 0.5445 GB, free: 68.47 MB / 346.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].tSwitch,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].quenched) * 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.0007053/1.007, allocations: 313.9 kB / 0.5448 GB, free: 68.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005568/1.012, allocations: 3.323 MB / 0.5481 GB, free: 65.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.013, allocations: 7.438 kB / 0.5481 GB, free: 65.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003647/1.016, allocations: 2.137 MB / 0.5502 GB, free: 63.26 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003163/1.019, allocations: 385.8 kB / 0.5505 GB, free: 62.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/1.035, allocations: 5.055 MB / 0.5555 GB, free: 58.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004084/1.039, allocations: 2.38 MB / 0.5578 GB, free: 56.6 MB / 346.7 MB Notification: Performance of SimCode: time 1.453e-06/1.039, allocations: 0 / 0.5578 GB, free: 56.6 MB / 346.7 MB Notification: Performance of Templates: time 0.06542/1.104, allocations: 34.69 MB / 0.5917 GB, free: 26.05 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe 2>&1)