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.001558/0.001559, allocations: 110.3 kB / 17.73 MB, free: 5.297 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.001792/0.001793, allocations: 185.4 kB / 18.67 MB, free: 4.375 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.331/1.331, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 43.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2301, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump): time 0.0128/0.2429, allocations: 12.32 MB / 413.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006813/0.2498, allocations: 4.157 MB / 417.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.2509, allocations: 71.69 kB / 418 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.2527, allocations: 0.9045 MB / 418.9 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.2548, allocations: 1.079 MB / 420 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.256, allocations: 0.627 MB / 420.6 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003454/0.2594, allocations: 3.815 MB / 424.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002863/0.2623, allocations: 2.8 MB / 427.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/0.2644, allocations: 1.701 MB / 428.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/0.2669, allocations: 2.027 MB / 430.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006231/0.2675, allocations: 435.9 kB / 431.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009312/0.2685, allocations: 0.5232 MB / 431.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.2696, allocations: 1.208 MB / 433.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00215/0.2717, allocations: 1.956 MB / 435 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005594/0.2773, allocations: 5.57 MB / 440.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2773, allocations: 4 kB / 440.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2773, allocations: 0 / 440.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001115/0.2775, allocations: 0 / 440.6 MB, free: 1.477 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.00797/0.2854, allocations: 4.051 MB / 444.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.2855, allocations: 8.031 kB / 444.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.2869, allocations: 490.4 kB / 445.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003569/0.2905, allocations: 2.097 MB / 447.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.2908, allocations: 380.4 kB / 447.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004169/0.2913, allocations: 287.9 kB / 447.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005877/0.2971, allocations: 3.711 MB / 451.6 MB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.77e-05/0.2972, allocations: 7.953 kB / 451.6 MB, free: 6.215 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002544/0.2975, allocations: 124 kB / 451.7 MB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.2976, allocations: 117.5 kB / 451.9 MB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005155/0.3028, allocations: 3.074 MB / 454.9 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0174/0.3202, allocations: 11.8 MB / 466.7 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003252/0.3235, allocations: 2.81 MB / 469.5 MB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002063/0.3255, allocations: 1.289 MB / 470.8 MB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.3258, allocations: 122.4 kB / 470.9 MB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001746/0.3276, allocations: 1.149 MB / 472.1 MB, free: 1.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=153): time 3.587e-06/0.3276, allocations: 0 / 472.1 MB, free: 1.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=173): time 0.02096/0.3486, allocations: 9.444 MB / 481.5 MB, free: 7.531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/0.3487, allocations: 338.4 kB / 481.9 MB, free: 7.125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003515/0.3523, allocations: 2.108 MB / 484 MB, free: 4.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001918/0.3525, allocations: 65.69 kB / 484 MB, free: 4.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001277/0.3538, allocations: 1.414 MB / 485.5 MB, free: 3.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005712/0.3543, allocations: 0.6121 MB / 486.1 MB, free: 2.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006798/0.355, allocations: 379.5 kB / 486.4 MB, free: 2.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.144e-05/0.3551, allocations: 301.1 kB / 486.7 MB, free: 2.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.3569, allocations: 1.032 MB / 487.8 MB, free: 1.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/0.359, allocations: 1.597 MB / 489.4 MB, free: 15.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003609/0.3626, allocations: 2.603 MB / 492 MB, free: 12.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/0.3626, allocations: 4 kB / 492 MB, free: 12.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.006242/0.3689, allocations: 3.54 MB / 495.5 MB, free: 8.941 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.3689, allocations: 19.97 kB / 495.5 MB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.369, allocations: 12 kB / 495.5 MB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002778/0.3718, allocations: 1.09 MB / 496.6 MB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.3732, allocations: 379.4 kB / 497 MB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/0.3892, allocations: 16.07 MB / 0.501 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.3913, allocations: 159.8 kB / 0.5012 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002282/0.3916, allocations: 79.98 kB / 0.5013 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002939/0.3945, allocations: 1.78 MB / 0.503 GB, free: 4.363 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001996/0.3965, allocations: 1.585 MB / 0.5046 GB, free: 2.547 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003484/0.4, allocations: 2.579 MB / 0.5071 GB, free: 15.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.295e-06/0.4, allocations: 4 kB / 0.5071 GB, free: 15.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization_lambda0): time 0.005759/0.4058, allocations: 3.52 MB / 0.5105 GB, free: 12.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4058, allocations: 12 kB / 0.5105 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.4059, allocations: 16 kB / 0.5105 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002551/0.4084, allocations: 1.084 MB / 0.5116 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.4098, allocations: 387.3 kB / 0.512 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01529/0.4251, allocations: 16.07 MB / 0.5277 GB, free: 9.648 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/0.4273, allocations: 187.7 kB / 0.5279 GB, free: 9.465 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000257/0.4276, allocations: 83.98 kB / 0.5279 GB, free: 9.383 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.0005354/0.4281, allocations: 331.6 kB / 0.5282 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005317/0.4287, allocations: 242.5 kB / 0.5285 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006393/0.4351, allocations: 3.274 MB / 0.5317 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.4351, allocations: 7.969 kB / 0.5317 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4351, allocations: 0 / 0.5317 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.4362, allocations: 0.5306 MB / 0.5322 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004255/0.4367, allocations: 47.98 kB / 0.5322 GB, free: 4.906 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.4381, allocations: 131.8 kB / 0.5324 GB, free: 4.777 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003806/0.4385, allocations: 173.6 kB / 0.5325 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007409/0.4459, allocations: 3.488 MB / 0.5359 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1898/0.6357, allocations: 3.81 MB / 0.5397 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001357/0.6371, allocations: 1.12 MB / 0.5408 GB, free: 127.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002013/0.6391, allocations: 1.454 MB / 0.5422 GB, free: 127.5 MB / 462.1 MB Notification: Performance of Backend: time 7.51e-07/0.6391, allocations: 0 / 0.5422 GB, free: 127.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008174/0.6473, allocations: 5.593 MB / 0.5476 GB, free: 124.5 MB / 462.1 MB Notification: Performance of SimCode: time 0.007662/0.655, allocations: 6.567 MB / 0.5541 GB, free: 121.3 MB / 462.1 MB Notification: Performance of Templates: time 0.0653/0.7203, allocations: 51.13 MB / 0.604 GB, free: 72.54 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)