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.001429/0.001429, allocations: 106.3 kB / 17.74 MB, free: 5.352 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.001774/0.001774, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.372/1.372, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 352 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2776, allocations: 49.42 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01315/0.2908, allocations: 10.3 MB / 411.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007109/0.2979, allocations: 3.201 MB / 414.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.3001, allocations: 55.75 kB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00284/0.303, allocations: 0.726 MB / 415.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.3065, allocations: 0.9205 MB / 416.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.308, allocations: 411.5 kB / 417 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005449/0.3135, allocations: 3.407 MB / 420.4 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003965/0.3175, allocations: 2.603 MB / 423 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.3205, allocations: 1.519 MB / 424.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003607/0.3241, allocations: 1.856 MB / 426.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001297/0.3254, allocations: 399.9 kB / 426.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.3273, allocations: 487.8 kB / 427.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001817/0.3291, allocations: 1.11 MB / 428.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00297/0.3321, allocations: 1.777 MB / 430.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005138/0.3372, allocations: 5.22 MB / 435.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3373, allocations: 0 / 435.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3373, allocations: 0 / 435.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.879e-05/0.3374, allocations: 0 / 435.4 MB, free: 6.711 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.006533/0.3439, allocations: 3.599 MB / 439 MB, free: 3.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.344, allocations: 19.95 kB / 439 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008346/0.3448, allocations: 366.8 kB / 439.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002986/0.3478, allocations: 1.927 MB / 441.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.348, allocations: 201.2 kB / 441.5 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003664/0.3483, allocations: 256 kB / 441.7 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005412/0.3538, allocations: 3.535 MB / 445.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.679e-05/0.3538, allocations: 11.89 kB / 445.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002278/0.3541, allocations: 108 kB / 445.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.3542, allocations: 112.9 kB / 445.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005113/0.3593, allocations: 3.091 MB / 448.6 MB, free: 9.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01747/0.3768, allocations: 10.76 MB / 459.3 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003685/0.3805, allocations: 3.091 MB / 462.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002313/0.3829, allocations: 1.383 MB / 463.8 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000324/0.3832, allocations: 126.4 kB / 463.9 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001939/0.3852, allocations: 1.164 MB / 465.1 MB, free: 8.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=156): time 5.551e-06/0.3852, allocations: 0 / 465.1 MB, free: 8.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=172): time 0.02063/0.4058, allocations: 8.914 MB / 474 MB, free: 15.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.406, allocations: 180.1 kB / 474.2 MB, free: 14.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003364/0.4093, allocations: 1.843 MB / 476 MB, free: 13.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.4095, allocations: 53.7 kB / 476.1 MB, free: 13.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.4106, allocations: 1.214 MB / 477.3 MB, free: 11.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005111/0.4111, allocations: 0.5888 MB / 477.9 MB, free: 11.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006346/0.4118, allocations: 359.5 kB / 478.2 MB, free: 10.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.4119, allocations: 301.1 kB / 478.5 MB, free: 10.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.4136, allocations: 1.003 MB / 479.5 MB, free: 9.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001954/0.4156, allocations: 1.434 MB / 481 MB, free: 7.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003511/0.4191, allocations: 2.45 MB / 483.4 MB, free: 5.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.4191, allocations: 4 kB / 483.4 MB, free: 5.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005706/0.4248, allocations: 3.339 MB / 486.8 MB, free: 1.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.4249, allocations: 12 kB / 486.8 MB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.4249, allocations: 8.531 kB / 486.8 MB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002012/0.4269, allocations: 0.8775 MB / 487.7 MB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.4282, allocations: 339.4 kB / 488 MB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/0.4401, allocations: 10.44 MB / 498.4 MB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.442, allocations: 131.9 kB / 498.6 MB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/0.4423, allocations: 67.98 kB / 498.6 MB, free: 5.684 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.001896/0.4442, allocations: 0.9292 MB / 499.6 MB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005377/0.4448, allocations: 214.6 kB / 499.8 MB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005454/0.4502, allocations: 3.107 MB / 0.4911 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.4503, allocations: 11.97 kB / 0.4911 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4503, allocations: 0 / 0.4911 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.4514, allocations: 0.5035 MB / 0.4916 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004501/0.4518, allocations: 35.98 kB / 0.4916 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.4529, allocations: 111.9 kB / 0.4917 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004671/0.4534, allocations: 205.7 kB / 0.4919 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006734/0.4602, allocations: 3.282 MB / 0.4951 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005838/0.466, allocations: 3.881 MB / 0.4989 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001626/0.4676, allocations: 1.14 MB / 0.5 GB, free: 8.164 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002663/0.4703, allocations: 1.255 MB / 0.5013 GB, free: 6.918 MB / 430.1 MB Notification: Performance of Backend: time 6.62e-07/0.4703, allocations: 0 / 0.5013 GB, free: 6.918 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005419/0.4758, allocations: 2.512 MB / 0.5037 GB, free: 4.316 MB / 430.1 MB Notification: Performance of SimCode: time 0.01141/0.4872, allocations: 6.176 MB / 0.5098 GB, free: 14.09 MB / 446.1 MB Notification: Performance of Templates: time 0.2831/0.7703, allocations: 38.65 MB / 0.5475 GB, free: 134.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)