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.001929/0.001929, allocations: 114.8 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2687, allocations: 50.54 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc): time 0.01168/0.2804, allocations: 11.17 MB / 421.1 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006175/0.2866, allocations: 3.497 MB / 424.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.288, allocations: 63.75 kB / 424.7 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.2897, allocations: 0.749 MB / 425.4 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002487/0.2922, allocations: 1.006 MB / 426.4 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.2932, allocations: 483.3 kB / 426.9 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004508/0.2977, allocations: 4.117 MB / 431 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003133/0.3009, allocations: 2.905 MB / 433.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.3033, allocations: 1.822 MB / 435.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.3061, allocations: 2.199 MB / 438 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007021/0.3068, allocations: 472 kB / 438.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.3079, allocations: 0.5545 MB / 439 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.309, allocations: 1.329 MB / 440.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002146/0.3112, allocations: 2.085 MB / 442.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005096/0.3163, allocations: 6.11 MB / 448.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3163, allocations: 0 / 448.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3163, allocations: 0 / 448.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.981e-05/0.3164, allocations: 0 / 448.5 MB, free: 10.83 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.007779/0.3242, allocations: 4.129 MB / 452.6 MB, free: 6.621 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3243, allocations: 8.031 kB / 452.6 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.3254, allocations: 452.3 kB / 453.1 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003968/0.3294, allocations: 2.241 MB / 455.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003353/0.3298, allocations: 0.5532 MB / 455.9 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004164/0.3302, allocations: 295.9 kB / 456.2 MB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006545/0.3367, allocations: 4.152 MB / 460.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.69e-05/0.3368, allocations: 7.906 kB / 460.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002734/0.3371, allocations: 127.9 kB / 460.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.3372, allocations: 121.6 kB / 460.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005611/0.3428, allocations: 3.605 MB / 464.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0183/0.3612, allocations: 12.48 MB / 476.6 MB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003983/0.3652, allocations: 3.982 MB / 480.6 MB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002503/0.3677, allocations: 1.718 MB / 482.3 MB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002818/0.368, allocations: 131.1 kB / 482.5 MB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002161/0.3702, allocations: 1.575 MB / 484 MB, free: 6.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=192): time 3.657e-06/0.3702, allocations: 0 / 484 MB, free: 6.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=209): time 0.02095/0.3911, allocations: 10.69 MB / 494.7 MB, free: 11.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.3913, allocations: 265.3 kB / 495 MB, free: 11.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002898/0.3942, allocations: 2.19 MB / 497.2 MB, free: 8.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001843/0.3944, allocations: 77.69 kB / 497.3 MB, free: 8.738 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.3955, allocations: 1.373 MB / 498.6 MB, free: 7.352 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005477/0.3961, allocations: 0.6625 MB / 499.3 MB, free: 6.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006482/0.3967, allocations: 432.3 kB / 499.7 MB, free: 6.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.3968, allocations: 305.1 kB / 0.4883 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.3988, allocations: 1.336 MB / 0.4896 GB, free: 4.609 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/0.4012, allocations: 1.834 MB / 0.4914 GB, free: 2.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004121/0.4053, allocations: 2.992 MB / 0.4943 GB, free: 15.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.4054, allocations: 0 / 0.4943 GB, free: 15.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=294) (initialization): time 0.006772/0.4121, allocations: 4.134 MB / 0.4984 GB, free: 11.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.4122, allocations: 8 kB / 0.4984 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.4122, allocations: 12 kB / 0.4984 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002853/0.4151, allocations: 1.367 MB / 0.4997 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.4166, allocations: 427.3 kB / 0.5001 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/0.4344, allocations: 19.28 MB / 0.519 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.4364, allocations: 175.9 kB / 0.5191 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/0.4367, allocations: 87.92 kB / 0.5192 GB, free: 4.645 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.001889/0.4386, allocations: 1.112 MB / 0.5203 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005434/0.4392, allocations: 249 kB / 0.5205 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007272/0.4464, allocations: 3.9 MB / 0.5243 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.669e-05/0.4465, allocations: 11.95 kB / 0.5243 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4465, allocations: 4 kB / 0.5243 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/0.4479, allocations: 0.5956 MB / 0.5249 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004427/0.4484, allocations: 63.97 kB / 0.525 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.4497, allocations: 147.8 kB / 0.5251 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005321/0.4503, allocations: 261.6 kB / 0.5254 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007665/0.4579, allocations: 3.952 MB / 0.5292 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006974/0.4649, allocations: 4.856 MB / 0.534 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002095/0.4671, allocations: 1.479 MB / 0.5354 GB, free: 3.883 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002423/0.4695, allocations: 1.504 MB / 0.5369 GB, free: 2.359 MB / 462.1 MB Notification: Performance of Backend: time 5.11e-07/0.4695, allocations: 0 / 0.5369 GB, free: 2.359 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1954/0.6649, allocations: 3.47 MB / 0.5403 GB, free: 125.6 MB / 462.1 MB Notification: Performance of SimCode: time 0.009963/0.6749, allocations: 6.805 MB / 0.5469 GB, free: 122.9 MB / 462.1 MB Notification: Performance of Templates: time 0.05717/0.7321, allocations: 44.69 MB / 0.5906 GB, free: 84.76 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)