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.001096/0.001096, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2345, allocations: 50.55 MB / 410 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump): time 0.0135/0.2481, allocations: 12.34 MB / 422.3 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008657/0.2568, allocations: 4.216 MB / 426.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.2593, allocations: 71.69 kB / 426.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.2618, allocations: 0.881 MB / 427.5 MB, free: 36 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003333/0.2651, allocations: 1.044 MB / 428.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.2668, allocations: 0.6202 MB / 429.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004967/0.2718, allocations: 3.827 MB / 433 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003615/0.2754, allocations: 2.8 MB / 435.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.2779, allocations: 1.705 MB / 437.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00304/0.2809, allocations: 2.031 MB / 439.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00102/0.282, allocations: 432 kB / 439.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.2835, allocations: 0.5349 MB / 440.5 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001536/0.285, allocations: 1.211 MB / 441.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002497/0.2875, allocations: 1.956 MB / 443.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005045/0.2926, allocations: 5.558 MB / 449.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.2926, allocations: 0 / 449.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2926, allocations: 0 / 449.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.999e-05/0.2927, allocations: 0 / 449.2 MB, free: 10.18 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.00778/0.3005, allocations: 3.965 MB / 453.1 MB, free: 6.145 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3006, allocations: 8.031 kB / 453.2 MB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.3021, allocations: 484.3 kB / 453.6 MB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003756/0.3059, allocations: 2.092 MB / 455.7 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/0.3062, allocations: 376.4 kB / 456.1 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003923/0.3066, allocations: 291.8 kB / 456.4 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005668/0.3122, allocations: 3.712 MB / 460.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-05/0.3123, allocations: 11.91 kB / 460.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002557/0.3126, allocations: 116 kB / 460.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.3127, allocations: 121.5 kB / 460.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00486/0.3176, allocations: 3.078 MB / 463.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01721/0.3348, allocations: 11.76 MB / 475.2 MB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003286/0.3381, allocations: 2.802 MB / 478 MB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0029/0.341, allocations: 1.289 MB / 479.3 MB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003356/0.3414, allocations: 130.4 kB / 479.4 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002338/0.3437, allocations: 1.152 MB / 480.5 MB, free: 9.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=153): time 4.207e-06/0.3438, allocations: 4 kB / 480.5 MB, free: 9.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=173): time 0.02142/0.3652, allocations: 9.368 MB / 489.9 MB, free: 432 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/0.3654, allocations: 360.1 kB / 490.3 MB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003295/0.3687, allocations: 2.112 MB / 492.4 MB, free: 13.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001906/0.3689, allocations: 65.69 kB / 492.4 MB, free: 13.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001191/0.3701, allocations: 1.395 MB / 493.8 MB, free: 12.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005529/0.3707, allocations: 0.5661 MB / 494.4 MB, free: 11.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006514/0.3713, allocations: 375.4 kB / 494.8 MB, free: 11.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.3715, allocations: 309.1 kB / 495.1 MB, free: 11.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.3731, allocations: 1.032 MB / 496.1 MB, free: 10.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00205/0.3752, allocations: 1.605 MB / 497.7 MB, free: 8.219 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003565/0.3788, allocations: 2.595 MB / 0.4886 GB, free: 5.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.3788, allocations: 4 kB / 0.4886 GB, free: 5.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.006047/0.3848, allocations: 3.535 MB / 0.492 GB, free: 1.852 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.3849, allocations: 15.88 kB / 0.492 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.3849, allocations: 16 kB / 0.4921 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002749/0.3877, allocations: 1.084 MB / 0.4931 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.3892, allocations: 387.3 kB / 0.4935 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01589/0.4051, allocations: 16.06 MB / 0.5092 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/0.4078, allocations: 171.7 kB / 0.5093 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/0.4081, allocations: 79.98 kB / 0.5094 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003074/0.4112, allocations: 1.78 MB / 0.5112 GB, free: 13.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002059/0.4132, allocations: 1.593 MB / 0.5127 GB, free: 11.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003594/0.4168, allocations: 2.575 MB / 0.5152 GB, free: 8.668 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.988e-06/0.4169, allocations: 4 kB / 0.5152 GB, free: 8.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization_lambda0): time 0.006085/0.423, allocations: 3.507 MB / 0.5187 GB, free: 5.121 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.423, allocations: 12 kB / 0.5187 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/0.423, allocations: 15.98 kB / 0.5187 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002752/0.4258, allocations: 1.076 MB / 0.5197 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.4273, allocations: 379.3 kB / 0.5201 GB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01589/0.4432, allocations: 16.06 MB / 0.5358 GB, free: 2.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/0.4458, allocations: 187.8 kB / 0.536 GB, free: 2.406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002951/0.4461, allocations: 79.98 kB / 0.536 GB, free: 2.328 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.0005575/0.4467, allocations: 335.8 kB / 0.5364 GB, free: 1.992 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000591/0.4473, allocations: 237.2 kB / 0.5366 GB, free: 1.758 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1942/0.6415, allocations: 3.272 MB / 0.5398 GB, free: 121.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-05/0.6416, allocations: 9.094 kB / 0.5398 GB, free: 121.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6416, allocations: 1 kB / 0.5398 GB, free: 121.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/0.643, allocations: 0.524 MB / 0.5403 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003877/0.6434, allocations: 46.58 kB / 0.5403 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/0.645, allocations: 133.4 kB / 0.5405 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003729/0.6453, allocations: 175.1 kB / 0.5406 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00599/0.6513, allocations: 3.472 MB / 0.544 GB, free: 121.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004423/0.6558, allocations: 3.808 MB / 0.5477 GB, free: 119.9 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001155/0.657, allocations: 1.11 MB / 0.5488 GB, free: 119.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001678/0.6586, allocations: 1.458 MB / 0.5503 GB, free: 118.9 MB / 462.1 MB Notification: Performance of Backend: time 1.173e-06/0.6587, allocations: 0 / 0.5503 GB, free: 118.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00771/0.6664, allocations: 5.593 MB / 0.5557 GB, free: 115.9 MB / 462.1 MB Notification: Performance of SimCode: time 0.00837/0.6748, allocations: 6.463 MB / 0.562 GB, free: 110.4 MB / 462.1 MB Notification: Performance of Templates: time 0.09078/0.7656, allocations: 51.25 MB / 0.6121 GB, free: 59.53 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)