Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") 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: 114.3 kB / 17.75 MB, free: 5.309 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.001139/0.001139, allocations: 185.3 kB / 18.67 MB, free: 4.395 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.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009496/0.0009496, allocations: 47.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2455, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.011/0.2565, allocations: 10.29 MB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0064/0.2629, allocations: 3.201 MB / 414.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.2642, allocations: 55.75 kB / 415 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.2659, allocations: 0.726 MB / 415.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.2681, allocations: 0.9244 MB / 416.6 MB, free: 9.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007564/0.2689, allocations: 411.5 kB / 417 MB, free: 9.223 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003137/0.272, allocations: 3.393 MB / 420.4 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002646/0.2747, allocations: 2.603 MB / 423 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.2763, allocations: 1.522 MB / 424.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.2784, allocations: 1.856 MB / 426.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005029/0.2789, allocations: 400 kB / 426.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008027/0.2797, allocations: 483.8 kB / 427.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009761/0.2807, allocations: 1.114 MB / 428.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.2824, allocations: 1.773 MB / 430.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004216/0.2866, allocations: 5.199 MB / 435.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2866, allocations: 0 / 435.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2866, allocations: 0 / 435.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.055e-05/0.2867, allocations: 0 / 435.4 MB, free: 6.781 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: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.006205/0.2929, allocations: 3.535 MB / 438.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.293, allocations: 8.031 kB / 438.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007679/0.2937, allocations: 353 kB / 439.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/0.2969, allocations: 1.914 MB / 441.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.2971, allocations: 205.2 kB / 441.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000366/0.2974, allocations: 259.8 kB / 441.6 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005458/0.3029, allocations: 3.531 MB / 445.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-05/0.303, allocations: 15.84 kB / 445.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/0.3032, allocations: 104 kB / 445.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.3034, allocations: 116.9 kB / 445.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004927/0.3083, allocations: 3.091 MB / 448.5 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01578/0.3241, allocations: 10.72 MB / 459.2 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003647/0.3278, allocations: 3.082 MB / 462.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002174/0.33, allocations: 1.391 MB / 463.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.3303, allocations: 131.5 kB / 463.8 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001745/0.332, allocations: 1.152 MB / 464.9 MB, free: 8.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=156): time 4.409e-06/0.332, allocations: 0 / 464.9 MB, free: 8.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=172): time 0.01938/0.3514, allocations: 8.87 MB / 473.8 MB, free: 15.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/0.3515, allocations: 180.2 kB / 474 MB, free: 15.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/0.3542, allocations: 1.832 MB / 475.8 MB, free: 13.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.3543, allocations: 57.7 kB / 475.9 MB, free: 13.26 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009584/0.3553, allocations: 1.188 MB / 477.1 MB, free: 12.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/0.3557, allocations: 0.5624 MB / 477.6 MB, free: 11.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005518/0.3563, allocations: 355.2 kB / 478 MB, free: 11.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.733e-05/0.3564, allocations: 301.1 kB / 478.3 MB, free: 10.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.358, allocations: 1.007 MB / 479.3 MB, free: 9.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.3599, allocations: 1.426 MB / 480.7 MB, free: 8.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003429/0.3633, allocations: 2.457 MB / 483.2 MB, free: 5.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.3633, allocations: 4 kB / 483.2 MB, free: 5.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.00556/0.3689, allocations: 3.322 MB / 486.5 MB, free: 2.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.3689, allocations: 8 kB / 486.5 MB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.369, allocations: 12 kB / 486.5 MB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002202/0.3712, allocations: 0.8937 MB / 487.4 MB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.3726, allocations: 343.3 kB / 487.7 MB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.3849, allocations: 10.43 MB / 498.2 MB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.3865, allocations: 131.8 kB / 498.3 MB, free: 6.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/0.3868, allocations: 71.98 kB / 498.4 MB, free: 5.98 MB / 414.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: 24 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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%), (9,25,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001566/0.3883, allocations: 0.9174 MB / 499.3 MB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004556/0.3888, allocations: 205.6 kB / 499.5 MB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005609/0.3944, allocations: 3.107 MB / 0.4908 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.3944, allocations: 7.969 kB / 0.4908 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3945, allocations: 0 / 0.4908 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/0.3957, allocations: 0.4985 MB / 0.4913 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003775/0.396, allocations: 35.98 kB / 0.4913 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.3971, allocations: 111.9 kB / 0.4914 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004406/0.3975, allocations: 205.7 kB / 0.4916 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006657/0.4042, allocations: 3.279 MB / 0.4948 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005509/0.4097, allocations: 3.857 MB / 0.4986 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001605/0.4113, allocations: 1.148 MB / 0.4997 GB, free: 8.508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001838/0.4132, allocations: 1.255 MB / 0.501 GB, free: 7.262 MB / 430.1 MB Notification: Performance of Backend: time 3.3e-07/0.4132, allocations: 3.938 kB / 0.501 GB, free: 7.258 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004435/0.4176, allocations: 2.502 MB / 0.5034 GB, free: 4.664 MB / 430.1 MB Notification: Performance of SimCode: time 0.009044/0.4267, allocations: 6.084 MB / 0.5093 GB, free: 14.53 MB / 446.1 MB Notification: Performance of Templates: time 0.2351/0.6618, allocations: 38.64 MB / 0.5471 GB, free: 132.8 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1)