Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 117.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 206.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2235, allocations: 50.54 MB / 410 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump): time 0.01294/0.2365, allocations: 12.35 MB / 422.3 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009209/0.2458, allocations: 4.215 MB / 426.5 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002658/0.2484, allocations: 71.69 kB / 426.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002871/0.2514, allocations: 0.9123 MB / 427.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.2549, allocations: 1.087 MB / 428.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.2568, allocations: 0.6163 MB / 429.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004616/0.2614, allocations: 3.826 MB / 433 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003685/0.2651, allocations: 2.807 MB / 435.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.2675, allocations: 1.709 MB / 437.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.2704, allocations: 2.028 MB / 439.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009885/0.2715, allocations: 432 kB / 440 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.273, allocations: 0.535 MB / 440.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001461/0.2744, allocations: 1.211 MB / 441.8 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002857/0.2773, allocations: 1.952 MB / 443.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005961/0.2833, allocations: 5.578 MB / 449.3 MB, free: 10.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2833, allocations: 0 / 449.3 MB, free: 10.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2833, allocations: 0 / 449.3 MB, free: 10.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001575/0.2835, allocations: 0 / 449.3 MB, free: 10.08 MB / 366.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.009435/0.2929, allocations: 4.063 MB / 453.3 MB, free: 5.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2929, allocations: 8.031 kB / 453.4 MB, free: 5.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.2946, allocations: 498.4 kB / 453.8 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003502/0.2981, allocations: 2.101 MB / 455.9 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/0.2984, allocations: 384.3 kB / 456.3 MB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004183/0.2989, allocations: 291.9 kB / 456.6 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005757/0.3046, allocations: 3.708 MB / 460.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.095e-05/0.3047, allocations: 15.89 kB / 460.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002557/0.305, allocations: 116 kB / 460.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/0.3051, allocations: 121.5 kB / 460.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004998/0.3101, allocations: 3.07 MB / 463.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01744/0.3275, allocations: 11.8 MB / 475.4 MB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003154/0.3307, allocations: 2.81 MB / 478.2 MB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002035/0.3328, allocations: 1.285 MB / 479.5 MB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/0.3331, allocations: 138.2 kB / 479.7 MB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/0.3348, allocations: 1.141 MB / 480.8 MB, free: 9.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=153): time 4.469e-06/0.3348, allocations: 7.938 kB / 480.8 MB, free: 9.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=173): time 0.02193/0.3568, allocations: 9.451 MB / 490.3 MB, free: 84 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001951/0.357, allocations: 360.1 kB / 490.6 MB, free: 15.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004114/0.3611, allocations: 2.116 MB / 492.7 MB, free: 13.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001708/0.3613, allocations: 65.69 kB / 492.8 MB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001599/0.3629, allocations: 1.422 MB / 494.2 MB, free: 11.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005882/0.3635, allocations: 0.6004 MB / 494.8 MB, free: 11.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006658/0.3642, allocations: 375.5 kB / 495.2 MB, free: 11.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.217e-05/0.3643, allocations: 309.1 kB / 495.5 MB, free: 10.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.3659, allocations: 1.028 MB / 496.5 MB, free: 9.668 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/0.368, allocations: 1.605 MB / 498.1 MB, free: 7.824 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003559/0.3715, allocations: 2.595 MB / 0.489 GB, free: 5.031 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.3715, allocations: 4 kB / 0.489 GB, free: 5.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005871/0.3774, allocations: 3.54 MB / 0.4924 GB, free: 1.453 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.3775, allocations: 15.94 kB / 0.4924 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/0.3775, allocations: 12 kB / 0.4925 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002641/0.3801, allocations: 1.088 MB / 0.4935 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.3816, allocations: 387.3 kB / 0.4939 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/0.3964, allocations: 16.06 MB / 0.5096 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.3984, allocations: 175.7 kB / 0.5097 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002291/0.3987, allocations: 79.98 kB / 0.5098 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002914/0.4016, allocations: 1.78 MB / 0.5116 GB, free: 12.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00202/0.4036, allocations: 1.59 MB / 0.5131 GB, free: 11.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003484/0.4071, allocations: 2.575 MB / 0.5156 GB, free: 8.266 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.12e-05/0.4072, allocations: 4 kB / 0.5156 GB, free: 8.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization_lambda0): time 0.005785/0.413, allocations: 3.524 MB / 0.5191 GB, free: 4.703 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.413, allocations: 12 kB / 0.5191 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.413, allocations: 15.98 kB / 0.5191 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002567/0.4156, allocations: 1.084 MB / 0.5202 GB, free: 3.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.417, allocations: 383.3 kB / 0.5205 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0148/0.4318, allocations: 16.07 MB / 0.5362 GB, free: 2.152 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/0.434, allocations: 191.8 kB / 0.5364 GB, free: 1.965 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/0.4343, allocations: 79.98 kB / 0.5365 GB, free: 1.887 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.0005787/0.4349, allocations: 327.8 kB / 0.5368 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005479/0.4355, allocations: 246.5 kB / 0.537 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2151/0.6506, allocations: 3.267 MB / 0.5402 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.828e-05/0.6507, allocations: 8.781 kB / 0.5402 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.6507, allocations: 0.5625 kB / 0.5402 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/0.6519, allocations: 0.5355 MB / 0.5407 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003494/0.6523, allocations: 46.14 kB / 0.5408 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.6536, allocations: 134.1 kB / 0.5409 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003953/0.654, allocations: 173.4 kB / 0.5411 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006045/0.66, allocations: 3.482 MB / 0.5445 GB, free: 121.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004546/0.6646, allocations: 3.817 MB / 0.5482 GB, free: 119.7 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001241/0.6659, allocations: 1.116 MB / 0.5493 GB, free: 119.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001779/0.6677, allocations: 1.453 MB / 0.5507 GB, free: 118.8 MB / 462.1 MB Notification: Performance of Backend: time 9.02e-07/0.6677, allocations: 0 / 0.5507 GB, free: 118.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007935/0.6756, allocations: 5.609 MB / 0.5562 GB, free: 115.6 MB / 462.1 MB Notification: Performance of SimCode: time 0.00802/0.6837, allocations: 6.569 MB / 0.5626 GB, free: 109.7 MB / 462.1 MB Notification: Performance of Templates: time 0.06459/0.7483, allocations: 51.26 MB / 0.6127 GB, free: 58.84 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe 2>&1)