Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 103.1 kB / 18.4 MB, free: 4.68 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.001019/0.001019, allocations: 188.5 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 51.92 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.073/0.0742, allocations: 46.61 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump): time 0.1551/0.2293, allocations: 12.28 MB / 388.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005992/0.2354, allocations: 4.217 MB / 392.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009981/0.2364, allocations: 65.62 kB / 392.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00178/0.2382, allocations: 0.9011 MB / 393.3 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.2404, allocations: 1.081 MB / 394.4 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.2416, allocations: 0.6239 MB / 395 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00337/0.245, allocations: 3.823 MB / 398.8 MB, free: 132 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003116/0.2481, allocations: 2.765 MB / 401.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002457/0.2506, allocations: 1.696 MB / 403.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00238/0.253, allocations: 2.026 MB / 405.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005516/0.2535, allocations: 433 kB / 405.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009177/0.2545, allocations: 0.5291 MB / 406.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.2556, allocations: 1.204 MB / 407.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002012/0.2577, allocations: 1.959 MB / 409.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004861/0.2625, allocations: 5.546 MB / 415 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2625, allocations: 4 kB / 415 MB, free: 7.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2625, allocations: 0 / 415 MB, free: 7.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.644e-05/0.2626, allocations: 0 / 415 MB, free: 7.012 MB / 334.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.007392/0.27, allocations: 3.956 MB / 419 MB, free: 4.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.2701, allocations: 8.125 kB / 419 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/0.2715, allocations: 482.7 kB / 419.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003079/0.2746, allocations: 1.988 MB / 421.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002568/0.2749, allocations: 380.6 kB / 421.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004131/0.2753, allocations: 291.8 kB / 422.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005884/0.2812, allocations: 3.703 MB / 425.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.576e-05/0.2813, allocations: 11.84 kB / 425.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002792/0.2816, allocations: 116 kB / 425.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/0.2817, allocations: 121.5 kB / 426 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005127/0.2868, allocations: 3.074 MB / 429.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01668/0.3035, allocations: 11.78 MB / 440.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003263/0.3068, allocations: 2.809 MB / 443.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002062/0.3089, allocations: 1.289 MB / 445 MB, free: 9.598 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002436/0.3091, allocations: 135.1 kB / 445.1 MB, free: 9.445 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001681/0.3108, allocations: 1.155 MB / 446.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=153): time 3.567e-06/0.3108, allocations: 0 / 446.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=173): time 0.02017/0.331, allocations: 9.081 MB / 455.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.3312, allocations: 312.7 kB / 455.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002948/0.3341, allocations: 2.116 MB / 457.8 MB, free: 12.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.3343, allocations: 73.69 kB / 457.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.3353, allocations: 1.379 MB / 459.2 MB, free: 11.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004784/0.3358, allocations: 0.5816 MB / 459.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005861/0.3364, allocations: 371.4 kB / 460.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.3365, allocations: 301.1 kB / 460.5 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.3382, allocations: 1.032 MB / 461.5 MB, free: 8.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002028/0.3402, allocations: 1.596 MB / 463.1 MB, free: 6.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003652/0.3439, allocations: 2.602 MB / 465.7 MB, free: 4.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/0.3439, allocations: 4 kB / 465.7 MB, free: 4.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.006031/0.3499, allocations: 3.539 MB / 469.2 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.35, allocations: 8 kB / 469.2 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.35, allocations: 19.94 kB / 469.3 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002709/0.3527, allocations: 1.091 MB / 470.3 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.3542, allocations: 383.3 kB / 470.7 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/0.3701, allocations: 16.06 MB / 486.8 MB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/0.3725, allocations: 155.8 kB / 486.9 MB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002475/0.3728, allocations: 83.92 kB / 487 MB, free: 13.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003168/0.376, allocations: 1.788 MB / 488.8 MB, free: 11.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002104/0.3781, allocations: 1.584 MB / 490.4 MB, free: 10.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003689/0.3818, allocations: 2.575 MB / 493 MB, free: 7.363 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.023e-05/0.3818, allocations: 4 kB / 493 MB, free: 7.359 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization_lambda0): time 0.006029/0.3879, allocations: 3.511 MB / 496.5 MB, free: 3.812 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3879, allocations: 12 kB / 496.5 MB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.3879, allocations: 12.44 kB / 496.5 MB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002597/0.3905, allocations: 1.1 MB / 497.6 MB, free: 2.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.3919, allocations: 379.3 kB / 498 MB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01559/0.4076, allocations: 16.06 MB / 0.502 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.4097, allocations: 183.8 kB / 0.5022 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.4099, allocations: 79.98 kB / 0.5022 GB, free: 0.9922 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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.0004767/0.4104, allocations: 327.8 kB / 0.5026 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004453/0.4108, allocations: 237.1 kB / 0.5028 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006423/0.4173, allocations: 3.298 MB / 0.506 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/0.4173, allocations: 7.969 kB / 0.506 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4173, allocations: 4 kB / 0.506 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.4183, allocations: 0.5216 MB / 0.5065 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004027/0.4187, allocations: 48.17 kB / 0.5066 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/0.4201, allocations: 127.8 kB / 0.5067 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/0.4205, allocations: 177.6 kB / 0.5069 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007296/0.4278, allocations: 3.411 MB / 0.5102 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005476/0.4333, allocations: 3.749 MB / 0.5138 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001529/0.4348, allocations: 1.097 MB / 0.5149 GB, free: 3.902 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002317/0.4372, allocations: 1.457 MB / 0.5163 GB, free: 2.426 MB / 446.1 MB Notification: Performance of Backend: time 4.5e-07/0.4372, allocations: 0 / 0.5163 GB, free: 2.426 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00959/0.4468, allocations: 5.584 MB / 0.5218 GB, free: 12.62 MB / 462.1 MB Notification: Performance of SimCode: time 0.009826/0.4566, allocations: 6.469 MB / 0.5281 GB, free: 6.09 MB / 462.1 MB Notification: Performance of Templates: time 0.2201/0.6767, allocations: 50.58 MB / 0.5775 GB, free: 144 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe 2>&1)