Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 114.3 kB / 17.75 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 189.3 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009414/0.0009414, allocations: 55.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2076, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump): time 0.0127/0.2203, allocations: 12.32 MB / 413.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007/0.2273, allocations: 4.157 MB / 417.9 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.2288, allocations: 71.69 kB / 418 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.2308, allocations: 0.9043 MB / 418.9 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002323/0.2332, allocations: 1.083 MB / 420 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.2343, allocations: 0.6199 MB / 420.6 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003286/0.2376, allocations: 3.807 MB / 424.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00288/0.2405, allocations: 2.807 MB / 427.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.2423, allocations: 1.701 MB / 428.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00211/0.2445, allocations: 2.028 MB / 430.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005781/0.2451, allocations: 436 kB / 431.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008707/0.2459, allocations: 0.5154 MB / 431.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.247, allocations: 1.219 MB / 433.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001754/0.2488, allocations: 1.952 MB / 435 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004482/0.2532, allocations: 5.541 MB / 440.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2533, allocations: 0 / 440.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2533, allocations: 0 / 440.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.186e-05/0.2533, allocations: 4 kB / 440.6 MB, free: 1.488 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 731 * Number of variables: 731 Notification: Performance of Generate backend data structure: time 0.008083/0.2614, allocations: 3.961 MB / 444.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.2615, allocations: 8.031 kB / 444.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.2629, allocations: 484.4 kB / 445 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003562/0.2665, allocations: 2.084 MB / 447.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.2668, allocations: 388.4 kB / 447.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004022/0.2672, allocations: 287.8 kB / 447.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005908/0.2731, allocations: 3.711 MB / 451.5 MB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.899e-05/0.2732, allocations: 4 kB / 451.5 MB, free: 6.332 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002773/0.2735, allocations: 120 kB / 451.6 MB, free: 6.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.2736, allocations: 121.4 kB / 451.7 MB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004966/0.2786, allocations: 3.078 MB / 454.8 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01721/0.2958, allocations: 11.75 MB / 466.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/0.299, allocations: 2.806 MB / 469.4 MB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/0.3011, allocations: 1.294 MB / 470.7 MB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/0.3014, allocations: 126.4 kB / 470.8 MB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001764/0.3032, allocations: 1.16 MB / 471.9 MB, free: 1.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=153): time 3.427e-06/0.3032, allocations: 0 / 471.9 MB, free: 1.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=173): time 0.02039/0.3236, allocations: 9.365 MB / 481.3 MB, free: 7.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.3237, allocations: 338.4 kB / 481.6 MB, free: 7.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002848/0.3266, allocations: 2.108 MB / 483.7 MB, free: 5.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.3267, allocations: 65.69 kB / 483.8 MB, free: 5.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.3279, allocations: 1.375 MB / 485.2 MB, free: 3.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004755/0.3283, allocations: 0.5855 MB / 485.8 MB, free: 3.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000585/0.3289, allocations: 367.4 kB / 486.1 MB, free: 2.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.859e-05/0.329, allocations: 309.1 kB / 486.4 MB, free: 2.469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.3307, allocations: 1.024 MB / 487.5 MB, free: 1.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.3327, allocations: 1.604 MB / 489.1 MB, free: 15.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003508/0.3362, allocations: 2.595 MB / 491.7 MB, free: 12.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.3362, allocations: 4 kB / 491.7 MB, free: 12.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005756/0.342, allocations: 3.535 MB / 495.2 MB, free: 9.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.342, allocations: 15.92 kB / 495.2 MB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.3421, allocations: 16.44 kB / 495.2 MB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002659/0.3447, allocations: 1.08 MB / 496.3 MB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.3462, allocations: 379.4 kB / 496.7 MB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01552/0.3617, allocations: 16.06 MB / 0.5007 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.3638, allocations: 155.9 kB / 0.5009 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.364, allocations: 83.98 kB / 0.5009 GB, free: 6.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002843/0.3668, allocations: 1.784 MB / 0.5027 GB, free: 4.656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002039/0.3689, allocations: 1.581 MB / 0.5042 GB, free: 2.844 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003454/0.3723, allocations: 2.587 MB / 0.5068 GB, free: 60 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.027e-06/0.3724, allocations: 4 kB / 0.5068 GB, free: 56 kB / 430.1 MB Notification: Performance of matching and sorting (n=260) (initialization_lambda0): time 0.005705/0.3781, allocations: 3.504 MB / 0.5102 GB, free: 12.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3781, allocations: 15.98 kB / 0.5102 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.3781, allocations: 12 kB / 0.5102 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002634/0.3808, allocations: 1.078 MB / 0.5113 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.3822, allocations: 391.3 kB / 0.5116 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/0.3978, allocations: 16.06 MB / 0.5273 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/0.4001, allocations: 187.8 kB / 0.5275 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.4003, allocations: 79.98 kB / 0.5276 GB, free: 9.715 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,switch.closerWithArc[3].tSwitch,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].off,loadControl.pulseStart,$PRE.loadControl.pulseStart,$whenCondition1,$whenCondition2,$whenCondition3,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,14,100.0%), (1,12,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005061/0.4008, allocations: 331.8 kB / 0.5279 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003739/0.4012, allocations: 233.2 kB / 0.5281 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006382/0.4076, allocations: 3.282 MB / 0.5313 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/0.4076, allocations: 7.969 kB / 0.5313 GB, free: 5.836 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4076, allocations: 3.938 kB / 0.5313 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.4087, allocations: 0.5177 MB / 0.5318 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003563/0.409, allocations: 47.98 kB / 0.5319 GB, free: 5.246 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.4104, allocations: 131.8 kB / 0.532 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003391/0.4107, allocations: 173.7 kB / 0.5322 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007206/0.4179, allocations: 3.476 MB / 0.5356 GB, free: 1.445 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1794/0.5973, allocations: 3.797 MB / 0.5393 GB, free: 128 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001367/0.5987, allocations: 1.113 MB / 0.5404 GB, free: 128 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001774/0.6005, allocations: 1.455 MB / 0.5418 GB, free: 127.7 MB / 462.1 MB Notification: Performance of Backend: time 4.61e-07/0.6005, allocations: 0 / 0.5418 GB, free: 127.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008185/0.6087, allocations: 5.579 MB / 0.5472 GB, free: 124.7 MB / 462.1 MB Notification: Performance of SimCode: time 0.00744/0.6162, allocations: 6.473 MB / 0.5536 GB, free: 121.7 MB / 462.1 MB Notification: Performance of Templates: time 0.05879/0.675, allocations: 51.11 MB / 0.6035 GB, free: 73.14 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe 2>&1)