Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001197/0.001197, allocations: 114.3 kB / 18.45 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 214.8 kB / 19.41 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2458, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc): time 0.01169/0.2576, allocations: 11.17 MB / 421.1 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005788/0.2634, allocations: 3.525 MB / 424.6 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009248/0.2643, allocations: 59.75 kB / 424.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.2661, allocations: 0.7803 MB / 425.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002355/0.2685, allocations: 1.053 MB / 426.5 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.2695, allocations: 479.4 kB / 427 MB, free: 464 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004391/0.2739, allocations: 4.117 MB / 431.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003727/0.2777, allocations: 2.904 MB / 434 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002353/0.2801, allocations: 1.826 MB / 435.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00322/0.2833, allocations: 2.195 MB / 438 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001117/0.2844, allocations: 468 kB / 438.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.2861, allocations: 0.5662 MB / 439.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001779/0.2879, allocations: 1.321 MB / 440.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003389/0.2913, allocations: 2.089 MB / 442.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006225/0.2975, allocations: 6.12 MB / 448.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2975, allocations: 0 / 448.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2975, allocations: 4 kB / 448.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001805/0.2977, allocations: 0 / 448.6 MB, free: 10.71 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: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.009845/0.3076, allocations: 4.23 MB / 452.8 MB, free: 6.402 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3076, allocations: 12.03 kB / 452.8 MB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.3089, allocations: 462.4 kB / 453.3 MB, free: 5.938 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003627/0.3125, allocations: 2.263 MB / 455.6 MB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003692/0.3129, allocations: 0.5571 MB / 456.1 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004258/0.3133, allocations: 284 kB / 456.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006211/0.3196, allocations: 4.159 MB / 460.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.766e-05/0.3196, allocations: 11.95 kB / 460.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002642/0.3199, allocations: 120 kB / 460.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.32, allocations: 121.6 kB / 460.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005537/0.3256, allocations: 3.605 MB / 464.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0173/0.3429, allocations: 12.52 MB / 476.9 MB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003956/0.3469, allocations: 3.979 MB / 480.9 MB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002578/0.3495, allocations: 1.71 MB / 482.6 MB, free: 7.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002761/0.3497, allocations: 139 kB / 482.7 MB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002319/0.3521, allocations: 1.583 MB / 484.3 MB, free: 6.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=192): time 3.536e-06/0.3521, allocations: 0 / 484.3 MB, free: 6.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=209): time 0.0222/0.3743, allocations: 10.73 MB / 495.1 MB, free: 11.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.3745, allocations: 265.3 kB / 495.3 MB, free: 10.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003564/0.378, allocations: 2.19 MB / 497.5 MB, free: 8.504 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001764/0.3782, allocations: 77.69 kB / 497.6 MB, free: 8.422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.3795, allocations: 1.407 MB / 499 MB, free: 7.008 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005975/0.3801, allocations: 0.7013 MB / 499.7 MB, free: 6.301 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007264/0.3809, allocations: 440.3 kB / 0.4884 GB, free: 5.863 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.381, allocations: 301.1 kB / 0.4887 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.383, allocations: 1.328 MB / 0.49 GB, free: 4.234 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/0.3853, allocations: 1.83 MB / 0.4918 GB, free: 2.219 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004164/0.3895, allocations: 3 MB / 0.4947 GB, free: 15.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.3895, allocations: 4 kB / 0.4947 GB, free: 15.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=294) (initialization): time 0.006742/0.3963, allocations: 4.14 MB / 0.4987 GB, free: 10.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.3963, allocations: 16.02 kB / 0.4988 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.3964, allocations: 12 kB / 0.4988 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002927/0.3993, allocations: 1.366 MB / 0.5001 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.4009, allocations: 431.3 kB / 0.5005 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01887/0.4198, allocations: 19.28 MB / 0.5193 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/0.422, allocations: 179.8 kB / 0.5195 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003394/0.4223, allocations: 83.98 kB / 0.5196 GB, free: 4.254 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.002111/0.4244, allocations: 1.108 MB / 0.5207 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006875/0.4251, allocations: 258.4 kB / 0.5209 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00753/0.4327, allocations: 3.896 MB / 0.5247 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/0.4327, allocations: 11.97 kB / 0.5247 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4327, allocations: 0 / 0.5247 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/0.4341, allocations: 0.6086 MB / 0.5253 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005648/0.4347, allocations: 71.97 kB / 0.5254 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.4361, allocations: 143.8 kB / 0.5255 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005903/0.4367, allocations: 265.6 kB / 0.5258 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007992/0.4447, allocations: 3.953 MB / 0.5297 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007617/0.4524, allocations: 4.865 MB / 0.5344 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002025/0.4544, allocations: 1.483 MB / 0.5359 GB, free: 3.457 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002482/0.4569, allocations: 1.504 MB / 0.5373 GB, free: 1.934 MB / 462.1 MB Notification: Performance of Backend: time 4.71e-07/0.4569, allocations: 0 / 0.5373 GB, free: 1.934 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1861/0.643, allocations: 3.483 MB / 0.5407 GB, free: 125.3 MB / 462.1 MB Notification: Performance of SimCode: time 0.009459/0.6525, allocations: 6.911 MB / 0.5475 GB, free: 122.5 MB / 462.1 MB Notification: Performance of Templates: time 0.05577/0.7083, allocations: 44.7 MB / 0.5911 GB, free: 84.2 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.pipe 2>&1)