Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.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.InductionMachines.IMC_YDarc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|inductor.inductor.1..i|inductor.inductor.3..i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|inductor.inductor.1..i|inductor.inductor.3..i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 110.3 kB / 17.75 MB, free: 5.355 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.001158/0.001158, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001095, allocations: 47.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2398, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc): time 0.01213/0.252, allocations: 11.13 MB / 412.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006821/0.2588, allocations: 3.431 MB / 416 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.2606, allocations: 59.75 kB / 416 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.263, allocations: 0.7764 MB / 416.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003427/0.2664, allocations: 1.049 MB / 417.9 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.2678, allocations: 475.3 kB / 418.3 MB, free: 7.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004964/0.2728, allocations: 4.109 MB / 422.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004149/0.277, allocations: 2.896 MB / 425.3 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002842/0.2798, allocations: 1.815 MB / 427.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00339/0.2832, allocations: 2.183 MB / 429.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001158/0.2844, allocations: 468 kB / 429.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.2862, allocations: 0.5545 MB / 430.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001857/0.2881, allocations: 1.321 MB / 431.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003367/0.2915, allocations: 2.089 MB / 433.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005359/0.2969, allocations: 6.072 MB / 439.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2969, allocations: 0 / 439.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.2969, allocations: 4 kB / 439.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.143e-05/0.297, allocations: 3.938 kB / 439.8 MB, free: 2.254 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: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.007903/0.3049, allocations: 4.12 MB / 444 MB, free: 14.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3049, allocations: 12.02 kB / 444 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000888/0.3058, allocations: 408.3 kB / 444.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003916/0.3098, allocations: 2.233 MB / 446.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003691/0.3102, allocations: 0.5456 MB / 447.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005027/0.3107, allocations: 299.8 kB / 447.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006831/0.3175, allocations: 4.148 MB / 451.6 MB, free: 6.207 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.975e-05/0.3176, allocations: 4 kB / 451.6 MB, free: 6.203 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002984/0.3179, allocations: 128 kB / 451.7 MB, free: 6.078 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.318, allocations: 129.5 kB / 451.8 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00589/0.3239, allocations: 3.601 MB / 455.4 MB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02064/0.3446, allocations: 12.51 MB / 468 MB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00427/0.3489, allocations: 3.963 MB / 471.9 MB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002699/0.3516, allocations: 1.717 MB / 473.6 MB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/0.3519, allocations: 135.1 kB / 473.8 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002425/0.3543, allocations: 1.579 MB / 475.3 MB, free: 13.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=192): time 4.508e-06/0.3543, allocations: 0 / 475.3 MB, free: 13.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=209): time 0.02257/0.3769, allocations: 10.66 MB / 486 MB, free: 2.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.3771, allocations: 265.3 kB / 486.3 MB, free: 2.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003478/0.3806, allocations: 2.173 MB / 488.4 MB, free: 360 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002899/0.3809, allocations: 77.69 kB / 488.5 MB, free: 276 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.382, allocations: 1.369 MB / 489.9 MB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007039/0.3828, allocations: 0.6704 MB / 490.6 MB, free: 14.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008416/0.3836, allocations: 436.3 kB / 491 MB, free: 13.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.3837, allocations: 301.1 kB / 491.3 MB, free: 13.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.3858, allocations: 1.328 MB / 492.6 MB, free: 12.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002414/0.3882, allocations: 1.83 MB / 494.4 MB, free: 10.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004201/0.3924, allocations: 3 MB / 497.4 MB, free: 6.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.3925, allocations: 4 kB / 497.4 MB, free: 6.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=294) (initialization): time 0.006775/0.3992, allocations: 4.126 MB / 0.4898 GB, free: 2.805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.3993, allocations: 8.531 kB / 0.4898 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.3993, allocations: 16 kB / 0.4898 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002879/0.4022, allocations: 1.363 MB / 0.4912 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/0.4039, allocations: 435.2 kB / 0.4916 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01698/0.4209, allocations: 19.27 MB / 0.5104 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/0.4232, allocations: 179.8 kB / 0.5106 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003547/0.4236, allocations: 83.97 kB / 0.5106 GB, free: 12.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 60 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYDwithArc.logicalDelay[3].tSwitch,$PRE.switchYDwithArc.logicalDelay[3].tSwitch,switchYDwithArc.logicalDelay[2].tSwitch,$PRE.switchYDwithArc.logicalDelay[2].tSwitch,switchYDwithArc.logicalDelay[1].tSwitch,$PRE.switchYDwithArc.logicalDelay[1].tSwitch,switchYDwithArc.idealOpener.openerWithArc[3].tSwitch,$PRE.switchYDwithArc.idealOpener.openerWithArc[3].tSwitch,switchYDwithArc.idealOpener.openerWithArc[3].quenched,$PRE.switchYDwithArc.idealOpener.openerWithArc[3].quenched,switchYDwithArc.idealOpener.openerWithArc[3].off,$PRE.switchYDwithArc.idealOpener.openerWithArc[3].off,switchYDwithArc.idealOpener.openerWithArc[2].tSwitch,$PRE.switchYDwithArc.idealOpener.openerWithArc[2].tSwitch,switchYDwithArc.idealOpener.openerWithArc[2].quenched,$PRE.switchYDwithArc.idealOpener.openerWithArc[2].quenched,switchYDwithArc.idealOpener.openerWithArc[2].off,$PRE.switchYDwithArc.idealOpener.openerWithArc[2].off,switchYDwithArc.idealOpener.openerWithArc[1].tSwitch,$PRE.switchYDwithArc.idealOpener.openerWithArc[1].tSwitch,switchYDwithArc.idealOpener.openerWithArc[1].quenched,$PRE.switchYDwithArc.idealOpener.openerWithArc[1].quenched,switchYDwithArc.idealOpener.openerWithArc[1].off,$PRE.switchYDwithArc.idealOpener.openerWithArc[1].off,switchYDwithArc.idealCloser.closerWithArc[3].tSwitch,$PRE.switchYDwithArc.idealCloser.closerWithArc[3].tSwitch,switchYDwithArc.idealCloser.closerWithArc[3].quenched,$PRE.switchYDwithArc.idealCloser.closerWithArc[3].quenched,switchYDwithArc.idealCloser.closerWithArc[3].off,$PRE.switchYDwithArc.idealCloser.closerWithArc[3].off,switchYDwithArc.idealCloser.closerWithArc[2].tSwitch,$PRE.switchYDwithArc.idealCloser.closerWithArc[2].tSwitch,switchYDwithArc.idealCloser.closerWithArc[2].quenched,$PRE.switchYDwithArc.idealCloser.closerWithArc[2].quenched,switchYDwithArc.idealCloser.closerWithArc[2].off,$PRE.switchYDwithArc.idealCloser.closerWithArc[2].off,switchYDwithArc.idealCloser.closerWithArc[1].tSwitch,$PRE.switchYDwithArc.idealCloser.closerWithArc[1].tSwitch,switchYDwithArc.idealCloser.closerWithArc[1].quenched,$PRE.switchYDwithArc.idealCloser.closerWithArc[1].quenched,switchYDwithArc.idealCloser.closerWithArc[1].off,$PRE.switchYDwithArc.idealCloser.closerWithArc[1].off,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(2,12,100.0%), (2,14,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.002012/0.4256, allocations: 1.104 MB / 0.5117 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006281/0.4262, allocations: 245.1 kB / 0.512 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007484/0.4337, allocations: 3.908 MB / 0.5158 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/0.4338, allocations: 7.969 kB / 0.5158 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.4338, allocations: 4 kB / 0.5158 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/0.4352, allocations: 0.5956 MB / 0.5164 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006084/0.4358, allocations: 71.97 kB / 0.5164 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.4373, allocations: 143.8 kB / 0.5166 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005529/0.4379, allocations: 273.6 kB / 0.5168 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008102/0.446, allocations: 3.939 MB / 0.5207 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007155/0.4532, allocations: 4.864 MB / 0.5254 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002016/0.4552, allocations: 1.472 MB / 0.5269 GB, free: 11.42 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002543/0.4578, allocations: 1.5 MB / 0.5283 GB, free: 9.898 MB / 462.1 MB Notification: Performance of Backend: time 3.2e-07/0.4578, allocations: 3.938 kB / 0.5283 GB, free: 9.895 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00666/0.4645, allocations: 3.467 MB / 0.5317 GB, free: 6.262 MB / 462.1 MB Notification: Performance of SimCode: time 0.1881/0.6526, allocations: 6.798 MB / 0.5384 GB, free: 130.7 MB / 462.1 MB Notification: Performance of Templates: time 0.05981/0.7125, allocations: 44.49 MB / 0.5818 GB, free: 96.64 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.pipe 2>&1)